Skip to content

Commit 2a4012f

Browse files
authored
🔀 Merge pull request #263 from ajnart/#261-discord
💬 Adds Discord Button (#261)
2 parents 9385315 + 792af50 commit 2a4012f

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

src/components/Settings/CommonSettings.tsx

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ActionIcon, Group, Text, SegmentedControl, TextInput, Anchor } from '@mantine/core';
22
import { useState } from 'react';
3-
import { IconBrandGithub as BrandGithub } from '@tabler/icons';
3+
import { IconBrandGithub as BrandGithub, IconBrandDiscord as BrandDiscord } from '@tabler/icons';
44
import { CURRENT_VERSION } from '../../../data/constants';
55
import { useConfig } from '../../tools/state';
66
import { ColorSchemeSwitch } from '../ColorSchemeToggle/ColorSchemeSwitch';
@@ -98,21 +98,26 @@ export default function CommonSettings(args: any) {
9898
{CURRENT_VERSION}
9999
</Text>
100100
</Group>
101-
<Text
102-
style={{
103-
fontSize: '0.90rem',
104-
textAlign: 'center',
105-
color: 'gray',
106-
}}
107-
>
108-
Made with ❤️ by @
109-
<Anchor
110-
href="https://github.com/ajnart"
111-
style={{ color: 'inherit', fontStyle: 'inherit', fontSize: 'inherit' }}
101+
<Group spacing={1}>
102+
<Text
103+
style={{
104+
fontSize: '0.90rem',
105+
textAlign: 'center',
106+
color: 'gray',
107+
}}
112108
>
113-
ajnart
114-
</Anchor>
115-
</Text>
109+
Made with ❤️ by @
110+
<Anchor
111+
href="https://github.com/ajnart"
112+
style={{ color: 'inherit', fontStyle: 'inherit', fontSize: 'inherit' }}
113+
>
114+
ajnart
115+
</Anchor>
116+
</Text>
117+
<ActionIcon<'a'> component="a" href="https://discord.gg/aCsmEV5RgA" size="lg">
118+
<BrandDiscord size={18} />
119+
</ActionIcon>
120+
</Group>
116121
</Group>
117122
</Group>
118123
);

0 commit comments

Comments
 (0)