Files
tuono/apps/documentation/src/components/navbar/actions.tsx
T

50 lines
1.2 KiB
TypeScript
Raw Normal View History

import type { JSX } from 'react'
2024-08-14 14:45:47 +02:00
import { Flex, Button, ActionIcon, Group } from '@mantine/core'
import {
IconBrandGithub,
IconBook,
IconBrandDiscord,
} from '@tabler/icons-react'
2024-07-27 11:33:34 +02:00
import { Link } from 'tuono'
import ThemeBtn from '../theme-btn'
2024-07-27 11:33:34 +02:00
export default function Actions(): JSX.Element {
return (
<Flex gap={8}>
2024-08-14 14:45:47 +02:00
<Group gap={8} visibleFrom="sm">
2024-08-17 16:23:57 +02:00
<Button
href="/documentation"
component={Link}
size="compact-lg"
rightSection={<IconBook />}
autoContrast
>
Get started
</Button>
2024-08-14 14:45:47 +02:00
<ActionIcon
variant="default"
size="lg"
aria-label="Check the project on github"
href="https://github.com/Valerioageno/tuono"
target="_blank"
component="a"
>
<IconBrandGithub />
</ActionIcon>
2024-08-17 15:37:21 +02:00
<ActionIcon
variant="default"
size="lg"
aria-label="Join the Tuono's community on Discord!"
href="https://discord.com/invite/sFNaHGkj"
2024-08-17 15:37:21 +02:00
target="_blank"
component="a"
>
<IconBrandDiscord />
2024-08-17 15:37:21 +02:00
</ActionIcon>
2024-08-14 14:45:47 +02:00
</Group>
2024-08-17 16:23:57 +02:00
<ThemeBtn />
2024-07-27 11:33:34 +02:00
</Flex>
)
}