From 2b329baad04aa2fcb06a8d0922197327797f4d6e Mon Sep 17 00:00:00 2001 From: Sam Magura Date: Sat, 30 Apr 2022 15:15:22 -0400 Subject: [PATCH] Add Ukraine banner to new website --- site/components/site-header.tsx | 230 ++++++++++++++++++-------------- 1 file changed, 131 insertions(+), 99 deletions(-) diff --git a/site/components/site-header.tsx b/site/components/site-header.tsx index e6a9a52fa..b4d33a38a 100644 --- a/site/components/site-header.tsx +++ b/site/components/site-header.tsx @@ -53,6 +53,33 @@ function HeaderLink({ ) } +function UkraineBanner() { + return ( + +
+ + πŸ‡ΊπŸ‡¦ STOP WAR IN UKRAINE πŸ‡ΊπŸ‡¦ + +
+
+ ) +} + export function SiteHeader() { const router = useRouter() @@ -60,114 +87,119 @@ export function SiteHeader() { const onCommunityPage = path === '/docs/community' return ( -
- + +
- - - {/* next/image is not compatible with `next export` */} - Avatar -

+ + - Emotion -

- - - - -
+
    +
  • + + Docs + +
  • +
  • + + Community + +
  • +
  • + + GitHub + +
  • +
  • + + Slack + +
  • +
  • + + v10 Docs + +
  • +
+ +
+
+ ) }