Skip to content

Commit efe9f89

Browse files
committed
feat: create dashboard admin page
1 parent 45014bb commit efe9f89

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { Title } from "@dotkomonline/ui"
2+
3+
export default function AdministratorPage() {
4+
return (
5+
<div>
6+
<Title>Administrator</Title>
7+
</div>
8+
)
9+
}

apps/dashboard/src/app/ApplicationShell.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
IconMoneybag,
2727
IconPhoto,
2828
IconPhotoShare,
29+
IconShieldLock,
2930
IconSkull,
3031
IconUserMinus,
3132
IconUsersGroup,
@@ -37,6 +38,12 @@ import { type FC, useEffect } from "react"
3738
import { z } from "zod"
3839

3940
const navigations = [
41+
{
42+
label: "Administrator",
43+
icon: IconShieldLock,
44+
href: "/administrator",
45+
isAdmin: true,
46+
},
4047
{
4148
label: "Arrangementer",
4249
icon: IconWheelchair,

0 commit comments

Comments
 (0)