mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
dedicated tool
This commit is contained in:
1 parent
26f71df9f9
commit
a4fca4085e
6 files changed
+27
-13
No files matched your search
@@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"credits": {
|
|
||||||
"title": "BlitzKit is the work of many"
|
|
||||||
},
|
|
||||||
|
|
||||||
"common": {
|
"common": {
|
||||||
"name": "BlitzKit",
|
"name": "BlitzKit",
|
||||||
|
|
||||||
@@ -336,6 +332,13 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"tools": {
|
"tools": {
|
||||||
|
"credits": {
|
||||||
|
"name": "Credits",
|
||||||
|
"button": "To the docs",
|
||||||
|
"description": "Contributors of BlitzKit",
|
||||||
|
"seo_description": "BlitzKit is the work of many"
|
||||||
|
},
|
||||||
|
|
||||||
"playlist": {
|
"playlist": {
|
||||||
"reset": "Reset",
|
"reset": "Reset",
|
||||||
"shuffle": "Shuffle",
|
"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 { credits } from "../config/credits";
|
||||||
import { getStrings } from "../core/i18n/getStrings";
|
import { getStrings } from "../core/i18n/getStrings";
|
||||||
|
|
||||||
@@ -18,7 +18,6 @@ const strings = getStrings(locale);
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
padding: var(--space-4);
|
padding: var(--space-4);
|
||||||
margin-top: var(--space-4);
|
|
||||||
|
|
||||||
.inner {
|
.inner {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -82,8 +81,6 @@ const strings = getStrings(locale);
|
|||||||
|
|
||||||
<div class="credits">
|
<div class="credits">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<Heading align="center">{strings.credits.title}</Heading>
|
|
||||||
|
|
||||||
<Grid
|
<Grid
|
||||||
className="list"
|
className="list"
|
||||||
py="4"
|
py="4"
|
||||||
@@ -107,7 +104,7 @@ const strings = getStrings(locale);
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
))
|
))
|
||||||
}</Grid
|
}
|
||||||
>
|
</Grid>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -74,4 +74,8 @@ export const tools: Record<string, Tool> = {
|
|||||||
href: "https://discord.gg/nDt7AjGJQH",
|
href: "https://discord.gg/nDt7AjGJQH",
|
||||||
button: "plum",
|
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 { Box, Flex, Link } from "@radix-ui/themes";
|
||||||
import { AesonPlug } from "../../../components/AesonPlug";
|
import { AesonPlug } from "../../../components/AesonPlug";
|
||||||
import { Countdown } from "../../../components/Countdown";
|
import { Countdown } from "../../../components/Countdown";
|
||||||
import CreditsPromo from "../../../components/CreditsPromo.astro";
|
|
||||||
import HomeHero from "../../../components/HomeHero.astro";
|
import HomeHero from "../../../components/HomeHero.astro";
|
||||||
import { Plugs } from "../../../components/Plugs";
|
import { Plugs } from "../../../components/Plugs";
|
||||||
import ToolCard from "../../../components/ToolCard.astro";
|
import ToolCard from "../../../components/ToolCard.astro";
|
||||||
@@ -117,7 +116,5 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, () => {
|
|||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<CreditsPromo {locale} />
|
|
||||||
|
|
||||||
<div style={{ flex: 1 }}></div>
|
<div style={{ flex: 1 }}></div>
|
||||||
</BaseLayout>
|
</BaseLayout>
|
||||||
Reference in new issue
Block a user