2026-01-12 14:00:13 -06:00
|
|
|
---
|
|
|
|
|
import packageJson from "../../../../package.json";
|
|
|
|
|
import { api } from "../core/api/dynamic";
|
|
|
|
|
import { BlitzKitIcon } from "../icons/BlitzKit";
|
|
|
|
|
import { Code } from "./Code";
|
|
|
|
|
import { Text } from "./Text";
|
|
|
|
|
|
|
|
|
|
interface Props {
|
|
|
|
|
locale: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const { locale } = Astro.props;
|
|
|
|
|
|
|
|
|
|
const strings = await api.strings(locale);
|
|
|
|
|
---
|
|
|
|
|
|
2026-01-10 13:49:11 -06:00
|
|
|
<style>
|
|
|
|
|
.footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
2026-01-12 14:00:13 -06:00
|
|
|
padding: var(--space-5) var(--space-5);
|
2026-01-10 13:49:11 -06:00
|
|
|
|
|
|
|
|
background-color: var(--gray-3);
|
2026-01-12 14:00:13 -06:00
|
|
|
color: var(--color-low-contrast);
|
2026-01-10 13:49:11 -06:00
|
|
|
|
|
|
|
|
.content {
|
|
|
|
|
flex: 1;
|
2026-01-13 20:33:14 -06:00
|
|
|
max-width: var(--page-width);
|
2026-01-12 14:00:13 -06:00
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-01-18 14:12:20 -06:00
|
|
|
gap: var(--space-4);
|
2026-01-12 14:00:13 -06:00
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
width: var(--space-6);
|
|
|
|
|
height: var(--space-6);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: var(--space-1);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-01-10 13:49:11 -06:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<div class="footer">
|
2026-01-12 14:00:13 -06:00
|
|
|
<div class="content">
|
|
|
|
|
<div class="logo">
|
|
|
|
|
<BlitzKitIcon className="icon" />
|
|
|
|
|
|
|
|
|
|
<div class="info">
|
|
|
|
|
<Text lowContrast weight="medium" size="major">
|
|
|
|
|
{strings.common.name}
|
|
|
|
|
</Text>
|
|
|
|
|
|
|
|
|
|
<Code>
|
|
|
|
|
{packageJson.version}
|
|
|
|
|
</Code>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-01-10 13:49:11 -06:00
|
|
|
</div>
|