mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-12 20:26:10 +01:00
feat: discord plug
This commit is contained in:
1 parent
8ef355c574
commit
3d940f4b47
7 files changed
+250
-4
No files matched your search
@@ -5,6 +5,7 @@ import { literals } from '@blitzkit/i18n/src/literals';
|
||||
import { Box, Flex, Heading, Link } from '@radix-ui/themes';
|
||||
import type { GetStaticPaths } from 'astro';
|
||||
import { AesonPlug } from '../../components/AesonPlug';
|
||||
import { DiscordPlug } from '../../components/Discord';
|
||||
import { HomeLocaleSwitcher } from '../../components/Home/HomeLocaleSwitcher';
|
||||
import HomeHero from '../../components/HomeHero.astro';
|
||||
import { HomePageHotTanks } from '../../components/HomePageHotTanks';
|
||||
@@ -45,7 +46,19 @@ export const getStaticPaths = (() => {
|
||||
<BaseLayout>
|
||||
<HomeHero />
|
||||
|
||||
<HomeLocaleSwitcher {locale} client:load />
|
||||
<Flex justify="center" py="6" px="4" justify="center">
|
||||
<Flex
|
||||
wrap="wrap"
|
||||
justify="between"
|
||||
maxWidth="64rem"
|
||||
gap="6"
|
||||
align="center"
|
||||
flexGrow="1"
|
||||
>
|
||||
<HomeLocaleSwitcher {locale} client:load />
|
||||
<DiscordPlug {locale} />
|
||||
</Flex>
|
||||
</Flex>
|
||||
|
||||
{
|
||||
locale !== DEFAULT_LOCALE && (
|
||||
|
||||
Reference in new issue
Block a user