51 lines
1.5 KiB
TypeScript
51 lines
1.5 KiB
TypeScript
|
/**
|
||
|
* @description Global configuration file for the application
|
||
|
*/
|
||
|
import {IconHome, IconInfoCircle, IconShovel, TablerIconsProps} from "@tabler/icons-react";
|
||
|
import {ReactNode} from "react";
|
||
|
|
||
|
// POCKETBASE
|
||
|
export const PB_USER_COLLECTION = "ldap_users"
|
||
|
export const PB_BASE_URL = "https://stuve.uni-ulm.de"
|
||
|
export const PB_STORAGE_KEY = "stuve-it-ldap-login"
|
||
|
|
||
|
|
||
|
// Navigation
|
||
|
export const NAV_ITEMS = [
|
||
|
{
|
||
|
section: "General",
|
||
|
items: [
|
||
|
{
|
||
|
title: "Home",
|
||
|
icon: IconHome,
|
||
|
description: "Home",
|
||
|
link: "/"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
section: "Events",
|
||
|
items: [
|
||
|
{
|
||
|
title: "Übersicht",
|
||
|
icon: IconInfoCircle,
|
||
|
description: "Administration für StuVe Events. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum. Quisquam, voluptatum. Quisquam,",
|
||
|
link: "/events"
|
||
|
},
|
||
|
{
|
||
|
title: "Listen",
|
||
|
icon: IconShovel,
|
||
|
description: "Administration für StuVe Events. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum. Quisquam, voluptatum. Quisquam,",
|
||
|
link: "/events/lists"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
] as {
|
||
|
section: string,
|
||
|
items: {
|
||
|
title: string,
|
||
|
icon: (props: TablerIconsProps) => ReactNode,
|
||
|
description: string,
|
||
|
link: string
|
||
|
}[]
|
||
|
}[]
|