mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
added icons for noserver or no files
This commit is contained in:
20
web/src/components/TorrentList/NoServerConnection.jsx
Normal file
20
web/src/components/TorrentList/NoServerConnection.jsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
import IconWrapper from './style'
|
||||
|
||||
export default function NoServerConnection() {
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<IconWrapper>
|
||||
<lord-icon
|
||||
src='https://cdn.lordicon.com/wrprwmwt.json'
|
||||
trigger='loop'
|
||||
colors='primary:#121331,secondary:#00A572'
|
||||
stroke='26'
|
||||
scale='60'
|
||||
/>
|
||||
<div className='icon-label'>{t('Offline')}</div>
|
||||
</IconWrapper>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user