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

@@ -0,0 +1,29 @@
import React, { ReactNode } from 'react';
import { Box } from './primitives/Box';
export interface NavGroupProps {
children: ReactNode;
direction?: 'horizontal' | 'vertical';
gap?: number;
align?: 'start' | 'center' | 'end';
}
export const NavGroup = ({
children,
direction = 'horizontal',
gap = 4,
align = 'center'
}: NavGroupProps) => {
return (
<Box
as="nav"
display="flex"
flexDirection={direction === 'horizontal' ? 'row' : 'col'}
gap={gap}
alignItems={align}
justifyContent={direction === 'horizontal' ? 'center' : 'start'}
>
{children}
</Box>
);
};