mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
fancy navbar
This commit is contained in:
17 files changed
+422
-198
No files matched your search
@@ -4,6 +4,7 @@ import { CompareControls } from "../../../../components/CompareControls";
|
||||
import { CompareTable } from "../../../../components/CompareTable";
|
||||
import CompareURLManager from "../../../../components/CompareURLManager.astro";
|
||||
import { Section } from "../../../../components/Section";
|
||||
import Sections from "../../../../components/Sections.astro";
|
||||
import ToolBanner from "../../../../components/ToolBanner.astro";
|
||||
import { tools } from "../../../../config/tools";
|
||||
import BaseLayout from "../../../../layouts/BaseLayout.astro";
|
||||
@@ -30,13 +31,15 @@ const { locale } = Astro.props;
|
||||
<ToolBanner tool={tools.compare} {locale} />
|
||||
<CompareURLManager />
|
||||
|
||||
<Section>
|
||||
<div class="controls">
|
||||
<CompareControls {locale} client:load />
|
||||
</div>
|
||||
</Section>
|
||||
<Sections>
|
||||
<Section>
|
||||
<div class="controls">
|
||||
<CompareControls {locale} client:load />
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
<Section overflow>
|
||||
<CompareTable {locale} client:load />
|
||||
</Section>
|
||||
<Section overflow>
|
||||
<CompareTable {locale} client:load />
|
||||
</Section>
|
||||
</Sections>
|
||||
</BaseLayout>
|
||||
@@ -3,7 +3,7 @@ import { assertSecret } from "@blitzkit/core";
|
||||
import locales from "@blitzkit/i18n/locales.json";
|
||||
import { mixStaticPaths } from "../../../astro/mixStaticPaths";
|
||||
import HomeHero from "../../../components/HomeHero.astro";
|
||||
import HomeTanks from "../../../components/HomeTanks.astro";
|
||||
import Sections from "../../../components/Sections.astro";
|
||||
import { tools, type Tool } from "../../../config/tools";
|
||||
import BaseLayout from "../../../layouts/BaseLayout.astro";
|
||||
import { getStaticPaths as _getStaticPaths } from "../_index";
|
||||
@@ -47,11 +47,13 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, () => {
|
||||
|
||||
<!-- {environment === "preview" && <AesonPlug />} -->
|
||||
|
||||
<HomeTanks {locale} />
|
||||
<!-- <HomePlayers {locale} /> -->
|
||||
<!-- <HomeGames {locale} /> -->
|
||||
<!-- <HomeCosmetics {locale} /> -->
|
||||
<!-- <HomeTechnical {locale} /> -->
|
||||
<Sections>
|
||||
<!-- <HomeTanks {locale} /> -->
|
||||
<!-- <HomePlayers {locale} /> -->
|
||||
<!-- <HomeGames {locale} /> -->
|
||||
<!-- <HomeCosmetics {locale} /> -->
|
||||
<!-- <HomeTechnical {locale} /> -->
|
||||
</Sections>
|
||||
</BaseLayout>
|
||||
|
||||
<!-- TODO: read temp/notes.md for user testing fixes -->
|
||||
@@ -6,6 +6,7 @@ import { Section } from "../../../../components/Section";
|
||||
import { TankSearchBar } from "../../../../components/TankSearchBar";
|
||||
import { TankSearchFilters } from "../../../../components/TankSearchFilters";
|
||||
import { TankSearchResults } from "../../../../components/TankSearchResults";
|
||||
import Sections from "../../../../components/Sections.astro";
|
||||
import ToolBanner from "../../../../components/ToolBanner.astro";
|
||||
import { tools } from "../../../../config/tools";
|
||||
import BaseLayout from "../../../../layouts/BaseLayout.astro";
|
||||
@@ -22,21 +23,23 @@ const { locale } = Astro.props;
|
||||
<BaseLayout tool={tools.tanks} {locale} accent="purple">
|
||||
<ToolBanner {locale} tool={tools.tanks} />
|
||||
|
||||
<Section overflow>
|
||||
<ScrollerCurtains client:load />
|
||||
<RecentlyViewedTanks {locale} client:load />
|
||||
</Section>
|
||||
<Sections>
|
||||
<Section overflow>
|
||||
<ScrollerCurtains client:load />
|
||||
<RecentlyViewedTanks {locale} client:load />
|
||||
</Section>
|
||||
|
||||
<Section>
|
||||
<TankSearchBar {locale} client:load />
|
||||
</Section>
|
||||
<Section>
|
||||
<TankSearchBar {locale} client:load />
|
||||
</Section>
|
||||
|
||||
<Section overflow>
|
||||
<ScrollerCurtains client:load />
|
||||
<TankSearchFilters {locale} client:load />
|
||||
</Section>
|
||||
<Section overflow>
|
||||
<ScrollerCurtains client:load />
|
||||
<TankSearchFilters {locale} client:load />
|
||||
</Section>
|
||||
|
||||
<Section>
|
||||
<TankSearchResults {locale} client:load />
|
||||
</Section>
|
||||
<Section>
|
||||
<TankSearchResults {locale} client:load />
|
||||
</Section>
|
||||
</Sections>
|
||||
</BaseLayout>
|
||||
@@ -6,6 +6,7 @@ import { TankSearchFilters } from "../../../../components/TankSearchFilters";
|
||||
import { TierListControls } from "../../../../components/TierListControls";
|
||||
import { TierListTable } from "../../../../components/TierListTable";
|
||||
import { TierListTiles } from "../../../../components/TierListTiles";
|
||||
import Sections from "../../../../components/Sections.astro";
|
||||
import TierListURLManager from "../../../../components/TierListURLManager.astro";
|
||||
import ToolBanner from "../../../../components/ToolBanner.astro";
|
||||
import { tierListColors } from "../../../../config/tierList";
|
||||
@@ -26,20 +27,22 @@ const { locale } = Astro.props;
|
||||
<ToolBanner tool={tools.tier_list} {locale} />
|
||||
<TierListURLManager />
|
||||
|
||||
<Section>
|
||||
<TierListControls {locale} client:load />
|
||||
</Section>
|
||||
<Sections>
|
||||
<Section>
|
||||
<TierListControls {locale} client:load />
|
||||
</Section>
|
||||
|
||||
<Section>
|
||||
<TierListTable {locale} client:load />
|
||||
</Section>
|
||||
<Section>
|
||||
<TierListTable {locale} client:load />
|
||||
</Section>
|
||||
|
||||
<Section overflow>
|
||||
<ScrollerCurtains client:load />
|
||||
<TankSearchFilters {locale} client:load />
|
||||
</Section>
|
||||
<Section overflow>
|
||||
<ScrollerCurtains client:load />
|
||||
<TankSearchFilters {locale} client:load />
|
||||
</Section>
|
||||
|
||||
<Section>
|
||||
<TierListTiles {locale} client:load />
|
||||
</Section>
|
||||
<Section>
|
||||
<TierListTiles {locale} client:load />
|
||||
</Section>
|
||||
</Sections>
|
||||
</BaseLayout>
|
||||
Reference in new issue
Block a user