Files
Homarr/src/components/Settings/Credits.tsx

47 lines
1.3 KiB
TypeScript
Raw Normal View History

import { Group, ActionIcon, Anchor, Text } from '@mantine/core';
2022-06-28 11:06:45 +02:00
import { IconBrandDiscord, IconBrandGithub } from '@tabler/icons';
2022-08-18 21:46:46 +02:00
import { t } from 'i18next';
2022-06-28 11:06:45 +02:00
import { CURRENT_VERSION } from '../../../data/constants';
export default function Credits(props: any) {
return (
2022-08-02 02:21:04 +02:00
<Group position="center" mt="xs">
2022-06-28 11:06:45 +02:00
<Group spacing={0}>
<ActionIcon<'a'> component="a" href="https://github.com/ajnart/homarr" size="lg">
<IconBrandGithub size={18} />
</ActionIcon>
<Text
style={{
position: 'relative',
fontSize: '0.90rem',
color: 'gray',
}}
>
{CURRENT_VERSION}
</Text>
</Group>
<Group spacing={1}>
<Text
style={{
fontSize: '0.90rem',
textAlign: 'center',
color: 'gray',
}}
>
2022-08-18 21:46:46 +02:00
{t('settings.credits.madeWithLove')}
2022-06-28 11:06:45 +02:00
<Anchor
href="https://github.com/ajnart"
style={{ color: 'inherit', fontStyle: 'inherit', fontSize: 'inherit' }}
>
ajnart
</Anchor>
</Text>
<ActionIcon<'a'> component="a" href="https://discord.gg/aCsmEV5RgA" size="lg">
<IconBrandDiscord size={18} />
</ActionIcon>
</Group>
</Group>
);
}