diff --git a/src/components/AppShelf/AppShelf.tsx b/src/components/AppShelf/AppShelf.tsx index d76413811..2da45d5ea 100644 --- a/src/components/AppShelf/AppShelf.tsx +++ b/src/components/AppShelf/AppShelf.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { motion } from 'framer-motion'; -import { Text, AspectRatio, SimpleGrid, Card, Image, useMantineTheme } from '@mantine/core'; +import { Text, AspectRatio, Card, Image, useMantineTheme, Center, Grid } from '@mantine/core'; import { useConfig } from '../../tools/state'; import { serviceItem } from '../../tools/types'; import AppShelfMenu from './AppShelfMenu'; @@ -9,22 +9,13 @@ const AppShelf = () => { const { config } = useConfig(); return ( - + {config.services.map((service) => ( - + + + ))} - + ); }; @@ -68,34 +59,35 @@ export function AppShelfItem(props: any) { - - - + + - { - window.open(service.url); - }} - src={service.icon} - /> - - - + > + { + window.open(service.url); + }} + /> + + + + ); diff --git a/src/components/SearchBar/SearchBar.tsx b/src/components/SearchBar/SearchBar.tsx index 7a40ea4c0..7236b7d86 100644 --- a/src/components/SearchBar/SearchBar.tsx +++ b/src/components/SearchBar/SearchBar.tsx @@ -22,7 +22,7 @@ export default function SearchBar(props: any) { return ( - tip: Use the prefixes !yt and !t in front of your query to search on YouTube or for a Torrent respectively. + tip: Use the prefixes !yt and !t in front of your query to search on + YouTube or for a Torrent respectively. diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index b89fb2fcb..697f02123 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -54,24 +54,12 @@ export function Footer({ links }: FooterCenteredProps) { )); - return ( - - - {items} - - component="a" href="https://github.com/ajnart/homarr" size="lg"> - - - + return ( + + + component="a" href="https://github.com/ajnart/homarr" size="lg"> + + ({ main: { - [theme.fn.largerThan('md')]: { - maxWidth: 1500, - }, }, })); @@ -21,7 +18,6 @@ export default function Layout({ children, style }: any) { header={
} footer={