Files
Homarr/src/components/layout/Logo.tsx

30 lines
632 B
TypeScript
Raw Normal View History

import { Group, Text } from '@mantine/core';
2022-04-25 00:11:32 +02:00
import * as React from 'react';
import { CURRENT_VERSION } from '../../../data/constants';
2022-04-25 00:11:32 +02:00
export function Logo({ style }: any) {
2022-05-12 14:24:15 +02:00
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>
2022-05-12 14:24:15 +02:00
);
2022-04-25 00:11:32 +02:00
}