mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
home page
This commit is contained in:
22 files changed
+190
-66
No files matched your search
@@ -2,7 +2,13 @@
|
||||
import { assertSecret } from "@blitzkit/core";
|
||||
import locales from "@blitzkit/i18n/locales.json";
|
||||
import { mixStaticPaths } from "../../../astro/mixStaticPaths";
|
||||
import HomeCosmetics from "../../../components/HomeCosmetics.astro";
|
||||
import HomeGames from "../../../components/HomeGames.astro";
|
||||
import HomeHero from "../../../components/HomeHero.astro";
|
||||
import HomePlayers from "../../../components/HomePlayers.astro";
|
||||
import HomeTanks from "../../../components/HomeTanks.astro";
|
||||
import HomeTechnical from "../../../components/HomeTechnical.astro";
|
||||
import HomeTools from "../../../components/HomeTools.astro";
|
||||
import Sections from "../../../components/Sections.astro";
|
||||
import { tools, type Tool } from "../../../config/tools";
|
||||
import BaseLayout from "../../../layouts/BaseLayout.astro";
|
||||
@@ -47,12 +53,13 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, () => {
|
||||
|
||||
<!-- {environment === "preview" && <AesonPlug />} -->
|
||||
|
||||
<Sections>
|
||||
<!-- <HomeTanks {locale} /> -->
|
||||
<!-- <HomePlayers {locale} /> -->
|
||||
<!-- <HomeGames {locale} /> -->
|
||||
<!-- <HomeCosmetics {locale} /> -->
|
||||
<!-- <HomeTechnical {locale} /> -->
|
||||
<Sections centered>
|
||||
<HomeTanks {locale} />
|
||||
<HomePlayers {locale} />
|
||||
<HomeGames {locale} />
|
||||
<HomeTools {locale} />
|
||||
<HomeCosmetics {locale} />
|
||||
<HomeTechnical {locale} />
|
||||
</Sections>
|
||||
</BaseLayout>
|
||||
|
||||
|
||||
@@ -36,8 +36,6 @@ const { id, locale } = Astro.props;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
|
||||
gap: var(--space-4);
|
||||
|
||||
.sandbox {
|
||||
flex-grow: 1;
|
||||
|
||||
@@ -45,8 +43,12 @@ const { id, locale } = Astro.props;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4);
|
||||
|
||||
@media (pointer: fine) {
|
||||
padding-top: var(--space-4);
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4);
|
||||
|
||||
padding-inline: var(--page-padding);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -55,12 +57,15 @@ const { id, locale } = Astro.props;
|
||||
<BaseLayout tool={tools.tanks} {locale} accent="violet">
|
||||
<div class="page">
|
||||
<div class="sandbox">
|
||||
<TankopediaTitle {id} {locale} />
|
||||
<TankopediaSandbox {id} {locale} client:load />
|
||||
<TankopediaCharacteristics {id} {locale} client:load />
|
||||
<TankopediaGameModeAbilities {id} {locale} />
|
||||
<TankopediaVideos {id} {locale} />
|
||||
<TankopediaTabs {id} {locale} client:load />
|
||||
|
||||
<div class="content">
|
||||
<TankopediaTitle {id} {locale} />
|
||||
<TankopediaCharacteristics {id} {locale} client:load />
|
||||
<TankopediaGameModeAbilities {id} {locale} />
|
||||
<TankopediaVideos {id} {locale} />
|
||||
<TankopediaTabs {id} {locale} client:load />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<TankopediaLoadout {id} {locale} client:load />
|
||||
|
||||
Reference in new issue
Block a user