Rename MyHomePage to Homarr

This commit is contained in:
Aj - Thomas
2022-05-12 14:24:15 +02:00
parent 5dee33284d
commit e3af7629aa
7 changed files with 26 additions and 17 deletions

View File

@@ -73,7 +73,11 @@ export default function AddItemShelfItem(props: any) {
}
function MatchIcon(name: string, form: any) {
fetch(`https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/${name.replace(/\s+/g, '-').toLowerCase()}.png`)
fetch(
`https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/${name
.replace(/\s+/g, '-')
.toLowerCase()}.png`
)
.then((res) => {
if (res.status === 200) {
form.setFieldValue('icon', res.url);
@@ -85,7 +89,7 @@ function MatchIcon(name: string, form: any) {
return false;
}
export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } & any) {
const { setOpened } = props;
const { addService, config, setConfig } = useConfig();

View File

@@ -2,9 +2,14 @@ import { Text } from '@mantine/core';
import * as React from 'react';
export function Logo({ style }: any) {
return (
<Text sx={style} weight="bold" variant="gradient" gradient={{ from: 'red', to: 'orange', deg: 145 }}>
Homarr
</Text>
);
return (
<Text
sx={style}
weight="bold"
variant="gradient"
gradient={{ from: 'red', to: 'orange', deg: 145 }}
>
Homarr
</Text>
);
}