mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
@@ -6,12 +6,12 @@ import {
|
|||||||
Center,
|
Center,
|
||||||
createStyles,
|
createStyles,
|
||||||
useMantineColorScheme,
|
useMantineColorScheme,
|
||||||
|
Image,
|
||||||
} from '@mantine/core';
|
} from '@mantine/core';
|
||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { useSortable } from '@dnd-kit/sortable';
|
import { useSortable } from '@dnd-kit/sortable';
|
||||||
import { CSS } from '@dnd-kit/utilities';
|
import { CSS } from '@dnd-kit/utilities';
|
||||||
import Image from 'next/image';
|
|
||||||
import { serviceItem } from '../../tools/types';
|
import { serviceItem } from '../../tools/types';
|
||||||
import PingComponent from '../../modules/ping/PingModule';
|
import PingComponent from '../../modules/ping/PingModule';
|
||||||
import AppShelfMenu from './AppShelfMenu';
|
import AppShelfMenu from './AppShelfMenu';
|
||||||
@@ -125,13 +125,11 @@ export function AppShelfItem(props: any) {
|
|||||||
target={service.newTab === false ? '_top' : '_blank'}
|
target={service.newTab === false ? '_top' : '_blank'}
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
style={{
|
styles={{ root: { cursor: 'pointer' } }}
|
||||||
cursor: 'pointer',
|
|
||||||
}}
|
|
||||||
width={80}
|
width={80}
|
||||||
height={80}
|
height={80}
|
||||||
src={`/api/imageproxy?url=${service.icon}`}
|
src={service.icon}
|
||||||
objectFit="contain"
|
fit="contain"
|
||||||
/>
|
/>
|
||||||
</Anchor>
|
</Anchor>
|
||||||
</motion.i>
|
</motion.i>
|
||||||
|
|||||||
Reference in New Issue
Block a user