💄 Improve layout styling

This commit is contained in:
Thomas "ajnart" Camlong
2022-05-15 19:32:02 +02:00
parent a9370881f4
commit c243256180
3 changed files with 46 additions and 30 deletions

View File

@@ -5,9 +5,11 @@ import ModuleWrapper from '../modules/moduleWrapper';
export default function Aside() { export default function Aside() {
return ( return (
<MantineAside <MantineAside
height="100%"
hiddenBreakpoint="md" hiddenBreakpoint="md"
hidden hidden
style={{
border: 'none',
}}
width={{ width={{
base: 'auto', base: 'auto',
}} }}

View File

@@ -1,5 +1,12 @@
import React from 'react'; import React from 'react';
import { createStyles, Anchor, Text, Group, ActionIcon } from '@mantine/core'; import {
createStyles,
Anchor,
Text,
Group,
ActionIcon,
Footer as FooterComponent,
} from '@mantine/core';
import { BrandGithub } from 'tabler-icons-react'; import { BrandGithub } from 'tabler-icons-react';
const useStyles = createStyles((theme) => ({ const useStyles = createStyles((theme) => ({
@@ -48,6 +55,7 @@ export function Footer({ links }: FooterCenteredProps) {
)); ));
return ( return (
<FooterComponent height="auto" style={{ border: 'none' }}>
<Group <Group
sx={{ sx={{
position: 'fixed', position: 'fixed',
@@ -66,16 +74,20 @@ export function Footer({ links }: FooterCenteredProps) {
</Group> </Group>
<Text <Text
style={{ style={{
fontSize: '0.75rem', fontSize: '0.90rem',
textAlign: 'center', textAlign: 'center',
color: '#a0aec0', color: '#a0aec0',
}} }}
> >
Made with by @ Made with by @
<Anchor href="https://github.com/ajnart" style={{ color: 'inherit', fontStyle: 'inherit', fontSize: 'inherit' }}> <Anchor
href="https://github.com/ajnart"
style={{ color: 'inherit', fontStyle: 'inherit', fontSize: 'inherit' }}
>
ajnart ajnart
</Anchor> </Anchor>
</Text> </Text>
</Group> </Group>
</FooterComponent>
); );
} }

View File

@@ -5,9 +5,11 @@ import ModuleWrapper from '../modules/moduleWrapper';
export default function Navbar() { export default function Navbar() {
return ( return (
<MantineNavbar <MantineNavbar
height="100%"
hiddenBreakpoint="lg" hiddenBreakpoint="lg"
hidden hidden
style={{
border: 'none',
}}
width={{ width={{
base: 'auto', base: 'auto',
}} }}