feat: homepage

This commit is contained in:
TresAbhi committed 2023-09-12 02:38:50 +00:00
1 parent 986a32b3ce
commit 02a07f3a8a
12 files changed
+214 -14

No files matched your search

+1 -2
View File
@@ -1,5 +1,4 @@
import { ReactNode } from 'react';
import { theme } from '../../../stitches.config';
interface ButtonProps {
children: ReactNode;
@@ -9,7 +8,7 @@ export function Button({ children }: ButtonProps) {
return (
<button
style={{
padding: theme.spaces.paddingMajor,
padding: 16,
border: 'none',
cursor: 'pointer',
background: 'none',
+6 -1
View File
@@ -1,4 +1,5 @@
import { HamburgerMenuIcon, PersonIcon } from '@radix-ui/react-icons';
import Link from 'next/link';
import { theme } from '../../stitches.config';
import { BlitzkriegWormWide } from '../BlitzkriegWormWide';
import { Button } from './components/Button';
@@ -7,17 +8,21 @@ export default function Navbar() {
return (
<div
style={{
width: '100%',
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
color: theme.colors.textHighContrast,
backgroundColor: theme.colors.appBackground2,
borderBottom: theme.borderStyles.nonInteractive,
}}
>
<Button>
<HamburgerMenuIcon />
</Button>
<BlitzkriegWormWide />
<Link href="/" style={{ color: 'inherit' }}>
<BlitzkriegWormWide />
</Link>
<Button>
<PersonIcon />
</Button>