Global Messages

This commit is contained in:
nocnico
2025-03-03 03:59:44 +01:00
parent 5f43ab34fa
commit f6cad23bf4
6 changed files with 244 additions and 1 deletions

View File

@@ -7,10 +7,11 @@ import {
ReaderIcon,
} from "@radix-ui/react-icons";
import Link from "next/link";
import { WarningAlert } from "./ui/PageAlert";
export const VerticalNav = () => {
return (
<ul className="menu w-64 bg-base-300 p-4 rounded-lg shadow-md">
<ul className="menu w-64 bg-base-300 p-3 rounded-lg shadow-md font-semibold">
<li>
<Link href="/">
<HomeIcon /> Dashboard
@@ -50,6 +51,9 @@ export const VerticalNav = () => {
<li>
<Link href="/admin/event">Events</Link>
</li>
<li>
<Link href="/admin/message">Service Nachrichten</Link>
</li>
</ul>
</details>
</li>
@@ -63,6 +67,7 @@ export const HorizontalNav = () => (
<a className="btn btn-ghost normal-case text-xl">
Virtual Air Rescue - HUB
</a>
<WarningAlert />
</div>
<div className="flex items-center ml-auto">
<ul className="flex space-x-2 px-1">