feat: better header

This commit is contained in:
TrèsAbhi committed 2024-06-07 20:40:09 -05:00
1 parent 5e8a69d2d8
commit 318ef9afca
4 files changed
+139 -111

No files matched your search

+1 -3
View File
@@ -4,7 +4,6 @@ import { ComponentProps } from 'react';
type PageWrapperProps = FlexProps & {
color?: ComponentProps<typeof Theme>['accentColor'];
size?: number | string;
noPadding?: boolean;
noMaxWidth?: boolean;
containerProps?: ComponentProps<typeof Theme>;
noFlex1?: boolean;
@@ -15,7 +14,6 @@ export default function PageWrapper({
color,
size = 800,
children,
noPadding = false,
noMaxWidth = false,
noFlex1 = false,
containerProps,
@@ -35,11 +33,11 @@ export default function PageWrapper({
<Flex
direction="column"
gap="4"
p="4"
style={{
width: '100%',
maxWidth: noMaxWidth ? undefined : size,
margin: 'auto',
padding: noPadding ? 0 : 16,
boxSizing: 'border-box',
flex: 1,
...style,