mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 01:11:16 +03:00
22 lines
985 B
Svelte
22 lines
985 B
Svelte
|
|
<script lang="ts">
|
||
|
|
import BottomInfo from '$lib/components/shared-components/side-bar/bottom-info.svelte';
|
||
|
|
import { AppRoute } from '$lib/constants';
|
||
|
|
import { NavbarItem } from '@immich/ui';
|
||
|
|
import { mdiAccountMultipleOutline, mdiBookshelf, mdiCog, mdiServer, mdiSync } from '@mdi/js';
|
||
|
|
import { t } from 'svelte-i18n';
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<div class="h-full flex flex-col justify-between gap-2">
|
||
|
|
<div class="flex flex-col pt-8 pe-4 gap-1">
|
||
|
|
<NavbarItem title={$t('users')} href={AppRoute.ADMIN_USERS} icon={mdiAccountMultipleOutline} />
|
||
|
|
<NavbarItem title={$t('jobs')} href={AppRoute.ADMIN_JOBS} icon={mdiSync} />
|
||
|
|
<NavbarItem title={$t('settings')} href={AppRoute.ADMIN_SETTINGS} icon={mdiCog} />
|
||
|
|
<NavbarItem title={$t('external_libraries')} href={AppRoute.ADMIN_LIBRARY_MANAGEMENT} icon={mdiBookshelf} />
|
||
|
|
<NavbarItem title={$t('server_stats')} href={AppRoute.ADMIN_STATS} icon={mdiServer} />
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="mb-2 me-4">
|
||
|
|
<BottomInfo />
|
||
|
|
</div>
|
||
|
|
</div>
|