mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39: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
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>
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user