website refactor

This commit is contained in:
2026-01-18 22:55:55 +01:00
parent b43a23a48c
commit aeaa43f4d3
179 changed files with 4736 additions and 6832 deletions

View File

@@ -1,7 +1,8 @@
'use client';
import { Stack } from '@/ui/primitives/Stack';
import { NavGroup } from '@/ui/NavGroup';
import { Text } from '@/ui/Text';
import { Link } from '@/ui/Link';
import React from 'react';
interface NotFoundHelpLinksProps {
@@ -16,31 +17,20 @@ interface NotFoundHelpLinksProps {
*/
export function NotFoundHelpLinks({ links }: NotFoundHelpLinksProps) {
return (
<Stack direction="row" gap={6} align="center" wrap center>
{links.map((link, index) => (
<React.Fragment key={link.href}>
<Stack
as="a"
href={link.href}
transition
display="inline-block"
<NavGroup direction="horizontal" gap={6} align="center">
{links.map((link) => (
<Link key={link.href} href={link.href} variant="ghost" underline="none">
<Text
variant="low"
hoverVariant="primary"
weight="medium"
size="xs"
uppercase
>
<Text
color="text-gray-400"
hoverTextColor="primary-accent"
weight="medium"
size="xs"
letterSpacing="widest"
uppercase
>
{link.label}
</Text>
</Stack>
{index < links.length - 1 && (
<Stack width="1px" height="12px" bg="border-gray" opacity={0.5} />
)}
</React.Fragment>
{link.label}
</Text>
</Link>
))}
</Stack>
</NavGroup>
);
}