mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
banner
This commit is contained in:
14 files changed
+315
-208
No files matched your search
+10
-22
@@ -5,10 +5,9 @@ import ColorRanks from "../../../../../components/ColorRanks.astro";
|
||||
import ColorScale from "../../../../../components/ColorScale.astro";
|
||||
import { TankopediaCharacteristics } from "../../../../../components/TankopediaCharacteristics";
|
||||
import TankopediaGameModeAbilities from "../../../../../components/TankopediaGameModeAbilities.astro";
|
||||
import TankopediaMeta from "../../../../../components/TankopediaMeta.astro";
|
||||
import { TankopediaLoadout } from "../../../../../components/TankopediaLoadout";
|
||||
import { TankopediaSandbox } from "../../../../../components/TankopediaSandbox";
|
||||
import { TankopediaTabs } from "../../../../../components/TankopediaTabs";
|
||||
import TankopediaTitle from "../../../../../components/TankopediaTitle.astro";
|
||||
import TankopediaVideos from "../../../../../components/TankopediaVideos.astro";
|
||||
import { tools } from "../../../../../config/tools";
|
||||
import BaseLayout from "../../../../../layouts/BaseLayout.astro";
|
||||
@@ -29,6 +28,8 @@ const { id, locale } = Astro.props;
|
||||
<ColorScale color="ruby" />
|
||||
<ColorScale color="cyan" />
|
||||
<ColorScale color="green" />
|
||||
<ColorScale color="amber" />
|
||||
<ColorScale color="blue" />
|
||||
<ColorRanks />
|
||||
|
||||
<style>
|
||||
@@ -40,17 +41,15 @@ const { id, locale } = Astro.props;
|
||||
grid-template-rows: auto auto 1fr;
|
||||
grid-template-areas:
|
||||
"sandbox loadout"
|
||||
"title loadout"
|
||||
"meta loadout"
|
||||
"content loadout";
|
||||
row-gap: var(--space-4);
|
||||
|
||||
.sandbox {
|
||||
grid-area: sandbox;
|
||||
}
|
||||
|
||||
.title {
|
||||
grid-area: title;
|
||||
padding-inline: var(--page-padding);
|
||||
.meta {
|
||||
grid-area: meta;
|
||||
}
|
||||
|
||||
.loadout {
|
||||
@@ -70,13 +69,8 @@ const { id, locale } = Astro.props;
|
||||
@media (width < 74rem) {
|
||||
grid-template-areas:
|
||||
"sandbox sandbox"
|
||||
"title loadout"
|
||||
"meta loadout"
|
||||
"content loadout";
|
||||
row-gap: 0;
|
||||
|
||||
.title {
|
||||
padding-block: var(--space-4);
|
||||
}
|
||||
}
|
||||
|
||||
@media (width < 44rem) {
|
||||
@@ -84,14 +78,9 @@ const { id, locale } = Astro.props;
|
||||
grid-template-rows: auto auto auto 1fr;
|
||||
grid-template-areas:
|
||||
"sandbox"
|
||||
"title"
|
||||
"meta"
|
||||
"loadout"
|
||||
"content";
|
||||
row-gap: var(--space-4);
|
||||
|
||||
.title {
|
||||
padding-block: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -102,8 +91,8 @@ const { id, locale } = Astro.props;
|
||||
<TankopediaSandbox {id} {locale} client:load />
|
||||
</div>
|
||||
|
||||
<div class="title">
|
||||
<TankopediaTitle {id} {locale} />
|
||||
<div class="meta">
|
||||
<TankopediaMeta {id} {locale} />
|
||||
</div>
|
||||
|
||||
<div class="loadout">
|
||||
@@ -114,7 +103,6 @@ const { id, locale } = Astro.props;
|
||||
<TankopediaCharacteristics {id} {locale} client:load />
|
||||
<TankopediaGameModeAbilities {id} {locale} />
|
||||
<TankopediaVideos {id} {locale} />
|
||||
<TankopediaTabs {id} {locale} client:load />
|
||||
</div>
|
||||
</div>
|
||||
</BaseLayout>
|
||||
Reference in new issue
Block a user