diff --git a/src/components/about-pages/network-tabs.astro b/src/components/about-pages/network-tabs.astro new file mode 100644 index 00000000..f4f5c6c6 --- /dev/null +++ b/src/components/about-pages/network-tabs.astro @@ -0,0 +1,35 @@ +--- +import clsx from "clsx"; +const links = [ + { + title: "Network Capacity", + link: "/about/network-capacity/", + }, + { + title: "Akash Providers", + link: "/about/providers/", + }, +]; + +const pathname = Astro.url.pathname; +--- + +
+
+ { + links.map((link) => ( + + {link.title} + + )) + } +
+
diff --git a/src/components/community-pages/side-nav.astro b/src/components/community-pages/side-nav.astro index ad558cf1..78e17387 100644 --- a/src/components/community-pages/side-nav.astro +++ b/src/components/community-pages/side-nav.astro @@ -1,19 +1,24 @@ --- +import clsx from "clsx"; interface Props { nav: { label: string; link: string; }[]; link?: string; + subNav?: boolean; } -const { nav, link } = Astro.props; +const { nav, link, subNav } = Astro.props; const pathname = new URL(Astro.request.url).pathname; ---