mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: styling login page
This commit is contained in:
@@ -64,6 +64,12 @@ function GlobalStyles() {
|
||||
boxShadow: '0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset',
|
||||
display: 'inline-block',
|
||||
},
|
||||
|
||||
hr: {
|
||||
color: localTheme.colors.secondary,
|
||||
width: '100%',
|
||||
marginBlock: '1em',
|
||||
},
|
||||
});
|
||||
|
||||
const documentStyle = css({
|
||||
|
||||
@@ -18,9 +18,15 @@ const ContentLayoutStyle = styled(TransitionLayout)(({ theme }) => ({
|
||||
},
|
||||
}));
|
||||
|
||||
const ContentLayout = ({ children }: { children: ReactNode }) => (
|
||||
const ContentLayout = ({
|
||||
children,
|
||||
className,
|
||||
}: {
|
||||
children: ReactNode;
|
||||
className?: string;
|
||||
}) => (
|
||||
<BaseLayout>
|
||||
<ContentLayoutStyle>
|
||||
<ContentLayoutStyle className={className}>
|
||||
<Navbar />
|
||||
<main>{children}</main>
|
||||
<Footer />
|
||||
|
||||
Reference in New Issue
Block a user