mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
feat: homepage
This commit is contained in:
1 parent
986a32b3ce
commit
02a07f3a8a
12 files changed
+214
-14
No files matched your search
@@ -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',
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user