stuve-it-frontend/config.ts

51 lines
1.4 KiB
TypeScript

/**
* @description Global configuration file for the application
*/
import {IconHome, IconInfoCircle, IconQrcode, TablerIconsProps} from "@tabler/icons-react";
import {ReactNode} from "react";
// POCKETBASE
export const PB_USER_COLLECTION = "ldap_users"
export const PB_BASE_URL = "https://it.stuve.uni-ulm.de"
export const PB_STORAGE_KEY = "stuve-it-ldap-login"
// general
export const APP_NAME = "StuVe IT"
export const APP_DESCRIPTION = "StuVe IT - Die IT-Abteilung der Studierendenvertretung der Universität Ulm"
export const APP_VERSION = "0.1.0"
// Navigation
export const NAV_ITEMS = [
{
section: "Seiten",
items: [
{
title: "Home",
icon: IconHome,
description: "Home",
link: "/"
},
{
title: "Events",
icon: IconInfoCircle,
description: "Administration für StuVe Events.",
link: "/events"
},
{
title: "QR Code Generator",
icon: IconQrcode,
description: "Generiere einen QR Code",
link: "/util/qr"
}
]
},
] as {
section: string,
items: {
title: string,
icon: (props: TablerIconsProps) => ReactNode,
description: string,
link: string
}[]
}[]