stuve-it-frontend/config.ts

51 lines
1.4 KiB
TypeScript
Raw Normal View History

2024-03-26 16:07:08 +00:00
/**
* @description Global configuration file for the application
*/
2024-04-14 01:33:44 +00:00
import {IconHome, IconInfoCircle, IconQrcode, TablerIconsProps} from "@tabler/icons-react";
2024-03-26 16:07:08 +00:00
import {ReactNode} from "react";
// POCKETBASE
export const PB_USER_COLLECTION = "ldap_users"
2024-04-14 01:33:44 +00:00
export const PB_BASE_URL = "https://it.stuve.uni-ulm.de"
2024-03-26 16:07:08 +00:00
export const PB_STORAGE_KEY = "stuve-it-ldap-login"
2024-04-14 01:33:44 +00:00
// 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"
2024-03-26 16:07:08 +00:00
// Navigation
export const NAV_ITEMS = [
{
2024-04-14 01:33:44 +00:00
section: "Seiten",
2024-03-26 16:07:08 +00:00
items: [
{
title: "Home",
icon: IconHome,
description: "Home",
link: "/"
2024-04-14 01:33:44 +00:00
},
2024-03-26 16:07:08 +00:00
{
2024-04-14 01:33:44 +00:00
title: "Events",
2024-03-26 16:07:08 +00:00
icon: IconInfoCircle,
2024-04-14 01:33:44 +00:00
description: "Administration für StuVe Events.",
2024-03-26 16:07:08 +00:00
link: "/events"
},
{
2024-04-14 01:33:44 +00:00
title: "QR Code Generator",
icon: IconQrcode,
description: "Generiere einen QR Code",
link: "/util/qr"
2024-03-26 16:07:08 +00:00
}
]
2024-04-14 01:33:44 +00:00
},
2024-03-26 16:07:08 +00:00
] as {
section: string,
items: {
title: string,
icon: (props: TablerIconsProps) => ReactNode,
description: string,
link: string
}[]
}[]