feat: new homepage

This commit is contained in:
TrèsAbhi committed 2024-05-20 21:00:47 -05:00
1 parent 2ce69b085a
commit 3631fb3cab
4 files changed
+207 -13

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import {
Link as RadixLink,
LinkProps as RadixLinkProps,
} from '@radix-ui/themes';
import NextLink from 'next/link';
interface LinkProps extends RadixLinkProps {
href: string;
}
export function Link({ href, children, target, onClick, ...props }: LinkProps) {
return (
<RadixLink
href={href}
onClick={(event) => event.preventDefault()}
{...props}
>
<NextLink
href={href}
target={target}
onClick={onClick}
style={{ all: 'inherit' }}
>
{children}
</NextLink>
</RadixLink>
);
}
+1
View File
@@ -114,6 +114,7 @@ export default function Navbar() {
return (
<LinkRadix
highContrast={selected}
color="gray"
underline={selected ? 'always' : 'hover'}
href="#"