Rework header, footer, logo

Fixes Align Homarr logo to the left #96
This commit is contained in:
Thomas "ajnart" Camlong
2022-05-14 21:41:30 +02:00
parent f3f2006f14
commit 4545a6bbf5
4 changed files with 79 additions and 72 deletions

View File

@@ -1,15 +1,29 @@
import { Text } from '@mantine/core';
import { Group, Text } from '@mantine/core';
import * as React from 'react';
import { CURRENT_VERSION } from '../../../data/constants';
export function Logo({ style }: any) {
return (
<Text
sx={style}
weight="bold"
variant="gradient"
gradient={{ from: 'red', to: 'orange', deg: 145 }}
>
Homarr
</Text>
<Group>
<Text
sx={style}
weight="bold"
variant="gradient"
gradient={{ from: 'red', to: 'orange', deg: 145 }}
>
Homarr
</Text>
<Text
style={{
color: 'gray',
fontStyle: 'inherit',
fontSize: 'inherit',
alignSelf: 'end',
alignContent: 'start',
}}
>
{CURRENT_VERSION}
</Text>
</Group>
);
}