From 1f6a01dec8099fa4ebac5ca07816ad413a43ecdf Mon Sep 17 00:00:00 2001 From: Jesus Gil <59382692+jgil-r@users.noreply.github.com> Date: Tue, 10 Aug 2021 16:42:07 -0500 Subject: [PATCH] fix astro.build header links (#1078) Switched Twitter link for Documentation link in header and added inline Twitter, and Github links to bottom of page. --- www/src/components/MainHeader.astro | 5 +++-- www/src/pages/index.astro | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/www/src/components/MainHeader.astro b/www/src/components/MainHeader.astro index ffa6e72b37..2146c6f1d2 100644 --- a/www/src/components/MainHeader.astro +++ b/www/src/components/MainHeader.astro @@ -28,11 +28,11 @@ Astro - + Documentation - + Twitter @@ -68,6 +68,7 @@ article { color: var(--theme-text-lighter); font-size: initial; padding: 0.5rem; + margin-top: 0; } .header-subitem:hover { color: var(--theme-accent); diff --git a/www/src/pages/index.astro b/www/src/pages/index.astro index eb143b0e4b..ed88726dd3 100644 --- a/www/src/pages/index.astro +++ b/www/src/pages/index.astro @@ -57,6 +57,7 @@ let lang = 'en';

Psst... get early access to new features by joining our Discord community.

+

You can also reach out to us on Twitter or Github with any questions, and suggestions for improvement.

@@ -68,6 +69,9 @@ let lang = 'en'; margin-top: 2em; padding: 2em 0; } + .hint > p:first-child { + margin-bottom: 2em; + } .action-button { border: 1px solid var(--color-green); padding: 1rem;