From f687529b335baaf8972390bda5727e44a628385e Mon Sep 17 00:00:00 2001 From: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com> Date: Wed, 8 Feb 2023 17:04:10 -0500 Subject: [PATCH 1/4] update button --- packages/website/components/Hero.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/components/Hero.tsx b/packages/website/components/Hero.tsx index 8a1a6e44725..d59f24c7950 100644 --- a/packages/website/components/Hero.tsx +++ b/packages/website/components/Hero.tsx @@ -53,7 +53,7 @@ export default function Hero() { href="/docs/testnet-guide" className="inline-flex items-center rounded-md border border-transparent bg-[#e30ead] px-5 py-3 text-base font-semibold text-white dark:text-neutral-100 hover:bg-[#bd0b90] hover:no-underline hover:text-white" > - Explore Snæfellsjökull Testnet 🌋 + Get started 🥁 From 45c6132255eadeaea7a25faffee9debba5eef446 Mon Sep 17 00:00:00 2001 From: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com> Date: Wed, 8 Feb 2023 17:15:37 -0500 Subject: [PATCH 2/4] center the footer --- packages/website/components/Footer.tsx | 235 ++++++++++++------------- packages/website/theme.config.tsx | 12 ++ 2 files changed, 124 insertions(+), 123 deletions(-) diff --git a/packages/website/components/Footer.tsx b/packages/website/components/Footer.tsx index 84c68d874f0..7b0ee7f352f 100644 --- a/packages/website/components/Footer.tsx +++ b/packages/website/components/Footer.tsx @@ -1,131 +1,120 @@ -import { ThemeSwitch, useConfig } from "nextra-theme-docs"; - -export default function Footer({ menu }) { - const config = useConfig(); - +export default function Footer() { return ( ); } diff --git a/packages/website/theme.config.tsx b/packages/website/theme.config.tsx index b0cf3dec507..c6f1d9cb5c6 100644 --- a/packages/website/theme.config.tsx +++ b/packages/website/theme.config.tsx @@ -4,6 +4,18 @@ import Footer from "./components/Footer"; import ThemedImage from "./components/ThemedImage"; export default { + banner: { + key: "banner", + text: ( + + 📌 The alpha-1 testnet (Snæfellsjökull) will be deprecated on February + 15th, around 14:00UTC. Read more → + + ), + }, chat: { link: "https://discord.gg/taikoxyz", }, From bff4be77a5f7da5b41f2691e87368cf722e8a450 Mon Sep 17 00:00:00 2001 From: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com> Date: Wed, 8 Feb 2023 17:47:16 -0500 Subject: [PATCH 3/4] cleanup footer and refactor docs --- packages/website/components/Footer.tsx | 2 +- packages/website/components/Hero.tsx | 2 +- packages/website/pages/_meta.json | 4 +- packages/website/pages/docs/_meta.json | 4 +- packages/website/pages/docs/index.md | 41 +++++++++++++++++-- packages/website/pages/docs/learn/_meta.json | 4 +- ....md => block-proposal-and-verification.md} | 2 +- .../website/pages/docs/resources/_meta.json | 3 ++ .../{testnet-guide => resources}/get-help.md | 4 +- .../pages/docs/testnet-guide/_meta.json | 16 +++----- .../website/pages/docs/testnet-guide/index.md | 29 ------------- 11 files changed, 57 insertions(+), 54 deletions(-) rename packages/website/pages/docs/learn/{overview.md => block-proposal-and-verification.md} (98%) rename packages/website/pages/docs/{testnet-guide => resources}/get-help.md (68%) delete mode 100644 packages/website/pages/docs/testnet-guide/index.md diff --git a/packages/website/components/Footer.tsx b/packages/website/components/Footer.tsx index 7b0ee7f352f..228d3a77803 100644 --- a/packages/website/components/Footer.tsx +++ b/packages/website/components/Footer.tsx @@ -2,7 +2,7 @@ export default function Footer() { return (