mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-09 23:15:46 +01:00
✨ Make logo clickable
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { Group, Image, Text } from '@mantine/core';
|
import { Group, Image, Text } from '@mantine/core';
|
||||||
|
import { NextLink } from '@mantine/next';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
export function Logo({ style }: any) {
|
export function Logo({ style }: any) {
|
||||||
@@ -11,6 +12,13 @@ export function Logo({ style }: any) {
|
|||||||
position: 'relative',
|
position: 'relative',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
<NextLink
|
||||||
|
style={{
|
||||||
|
textDecoration: 'none',
|
||||||
|
position: 'relative',
|
||||||
|
}}
|
||||||
|
href="/"
|
||||||
|
>
|
||||||
<Text
|
<Text
|
||||||
sx={style}
|
sx={style}
|
||||||
weight="bold"
|
weight="bold"
|
||||||
@@ -19,6 +27,7 @@ export function Logo({ style }: any) {
|
|||||||
>
|
>
|
||||||
Homarr
|
Homarr
|
||||||
</Text>
|
</Text>
|
||||||
|
</NextLink>
|
||||||
</Group>
|
</Group>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user