mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-11 03:36:11 +01:00
move 404 to pages chunk
This commit is contained in:
1 parent
5059e382b3
commit
c59779bedb
1 file changed
+3
-3
@@ -0,0 +1,29 @@
|
||||
---
|
||||
import { DiscordLogoIcon, HomeIcon } from "@radix-ui/react-icons";
|
||||
import { Button, Flex, Heading, Link, Text } from "@radix-ui/themes";
|
||||
import { LinkI18n } from "../../components/LinkI18n";
|
||||
import { PageWrapper } from "../../components/PageWrapper";
|
||||
import BaseLayout from "../../layouts/BaseLayout.astro";
|
||||
|
||||
const { locale } = Astro.props;
|
||||
---
|
||||
|
||||
<BaseLayout {locale}>
|
||||
<PageWrapper align="center" justify="center" gap="0">
|
||||
<Heading>404: page not found</Heading>
|
||||
<Text color="gray">Where would you like to go?</Text>
|
||||
|
||||
<Flex mt="4" gap="2">
|
||||
<LinkI18n {locale} href="/">
|
||||
<Button>
|
||||
<HomeIcon /> Home
|
||||
</Button>
|
||||
</LinkI18n>
|
||||
<Link href="https://discord.gg/nDt7AjGJQH">
|
||||
<Button variant="outline">
|
||||
<DiscordLogoIcon /> Discord
|
||||
</Button>
|
||||
</Link>
|
||||
</Flex>
|
||||
</PageWrapper>
|
||||
</BaseLayout>
|
||||
Reference in new issue
Block a user