Files
Homarr/src/components/layout/Logo.tsx
Thomas "ajnart" Camlong 4545a6bbf5 Rework header, footer, logo
Fixes Align Homarr logo to the left #96
2022-05-14 21:41:30 +02:00

30 lines
632 B
TypeScript

import { Group, Text } from '@mantine/core';
import * as React from 'react';
import { CURRENT_VERSION } from '../../../data/constants';
export function Logo({ style }: any) {
return (
<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>
);
}