From 4670fa28cf90249b5c5b67db1b4c92a6e25ac703 Mon Sep 17 00:00:00 2001 From: ink-victor <171172553+ink-victor@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:36:08 -0500 Subject: [PATCH] feat: update header string --- theme.config.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/theme.config.tsx b/theme.config.tsx index a89b5a9..1f3de6b 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -23,11 +23,13 @@ const config: DocsThemeConfig = { head: Head, components: { a(props: { href?: string }) { - const isExternal = props.href?.startsWith('http'); + const isExternal = props.href?.startsWith("http"); return ( ); @@ -68,15 +70,18 @@ const config: DocsThemeConfig = { rel="noopener noreferrer" aria-label="Documentation Status" > - 🏗️ Documentation is under active development. Testnet is live! + 🎉 Mainnet is LIVE! 🎉 ), }, useNextSeoProps() { - const { asPath } = useRouter() + const { asPath } = useRouter(); return { - titleTemplate: asPath === '/' ? "Ink Docs - The Official Developer Guide for Ink" : '%s | Ink Docs' - } + titleTemplate: + asPath === "/" + ? "Ink Docs - The Official Developer Guide for Ink" + : "%s | Ink Docs", + }; }, };