dedicated tool

This commit is contained in:
tresabhi committed 2026-10-22 16:49:03 -05:00
1 parent 26f71df9f9
commit a4fca4085e
6 files changed
+27 -13

No files matched your search

+7 -4
View File
@@ -1,8 +1,4 @@
{
"credits": {
"title": "BlitzKit is the work of many"
},
"common": {
"name": "BlitzKit",
@@ -336,6 +332,13 @@
},
"tools": {
"credits": {
"name": "Credits",
"button": "To the docs",
"description": "Contributors of BlitzKit",
"seo_description": "BlitzKit is the work of many"
},
"playlist": {
"reset": "Reset",
"shuffle": "Shuffle",
Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

@@ -1,5 +1,5 @@
---
import { Grid, Heading, Text } from "@radix-ui/themes";
import { Grid, Text } from "@radix-ui/themes";
import { credits } from "../config/credits";
import { getStrings } from "../core/i18n/getStrings";
@@ -18,7 +18,6 @@ const strings = getStrings(locale);
justify-content: center;
padding: var(--space-4);
margin-top: var(--space-4);
.inner {
display: flex;
@@ -82,8 +81,6 @@ const strings = getStrings(locale);
<div class="credits">
<div class="inner">
<Heading align="center">{strings.credits.title}</Heading>
<Grid
className="list"
py="4"
@@ -107,7 +104,7 @@ const strings = getStrings(locale);
</div>
</a>
))
}</Grid
>
}
</Grid>
</div>
</div>
+4
View File
@@ -74,4 +74,8 @@ export const tools: Record<string, Tool> = {
href: "https://discord.gg/nDt7AjGJQH",
button: "plum",
},
credits: {
id: "credits",
button: "bronze",
},
};
@@ -0,0 +1,13 @@
---
import CreditsPromo from "../../../../components/CreditsPromo.astro";
import { tools } from "../../../../constants/tools";
import ToolLayout from "../../../../layouts/ToolLayout.astro";
export { getStaticPaths } from "../index.astro";
const { locale } = Astro.props;
---
<ToolLayout tool={tools.credits} {locale}>
<CreditsPromo {locale} />
</ToolLayout>
@@ -6,7 +6,6 @@ import { literals } from "@blitzkit/i18n/src/literals";
import { Box, Flex, Link } from "@radix-ui/themes";
import { AesonPlug } from "../../../components/AesonPlug";
import { Countdown } from "../../../components/Countdown";
import CreditsPromo from "../../../components/CreditsPromo.astro";
import HomeHero from "../../../components/HomeHero.astro";
import { Plugs } from "../../../components/Plugs";
import ToolCard from "../../../components/ToolCard.astro";
@@ -117,7 +116,5 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, () => {
</Flex>
</Flex>
<CreditsPromo {locale} />
<div style={{ flex: 1 }}></div>
</BaseLayout>