From 8cf000cbe6e4373ea68666292352cc174237944b Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Wed, 18 Nov 2026 22:31:10 -0600 Subject: [PATCH] navbars --- .../{Navbar.astro => NavbarDesktop.astro} | 18 ++- .../website/src/components/NavbarMobile.astro | 121 ++++++++++++++++++ .../SegmentedControl/index.module.css | 13 ++ .../src/components/SegmentedControl/index.tsx | 14 +- .../TankopediaSandbox/index.module.css | 6 +- .../TankopediaTabs/index.module.css | 13 ++ .../src/components/TankopediaTabs/index.tsx | 24 ++++ packages/website/src/layouts/BaseLayout.astro | 21 ++- .../[...locale]/index2.astro | 18 --- .../tanks/[slug]/_index.module.css | 23 +++- .../[...locale]/tanks/[slug]/_index.tsx | 27 +++- packages/website/src/stores/tankopedia.ts | 9 ++ 12 files changed, 265 insertions(+), 42 deletions(-) rename packages/website/src/components/{Navbar.astro => NavbarDesktop.astro} (94%) create mode 100644 packages/website/src/components/NavbarMobile.astro create mode 100644 packages/website/src/components/TankopediaTabs/index.module.css create mode 100644 packages/website/src/components/TankopediaTabs/index.tsx delete mode 100644 packages/website/src/pages/[...chunk_default]/[...locale]/index2.astro diff --git a/packages/website/src/components/Navbar.astro b/packages/website/src/components/NavbarDesktop.astro similarity index 94% rename from packages/website/src/components/Navbar.astro rename to packages/website/src/components/NavbarDesktop.astro index 03d02c2f0..c63164bf0 100644 --- a/packages/website/src/components/Navbar.astro +++ b/packages/website/src/components/NavbarDesktop.astro @@ -19,12 +19,22 @@ const filtered = Object.values(tools).filter( --- -