mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
migrate 404 page
This commit is contained in:
2 files changed
+58
-34
No files matched your search
@@ -1,34 +0,0 @@
|
||||
---
|
||||
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 { discordLink } from "../../config/socials";
|
||||
import BaseLayout from "../../layouts/BaseLayout.astro";
|
||||
|
||||
export { getStaticPaths } from "./_index";
|
||||
|
||||
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={discordLink}>
|
||||
<Button variant="outline">
|
||||
<DiscordLogoIcon />
|
||||
Discord
|
||||
</Button>
|
||||
</Link>
|
||||
</Flex>
|
||||
</PageWrapper>
|
||||
</BaseLayout>
|
||||
Reference in new issue
Block a user