Felder Prüfung
This commit is contained in:
@@ -6,6 +6,9 @@ import Header from "#components/design/header/Header.astro";
|
||||
import Footer from "#components/design/footer/Footer.astro";
|
||||
import SidebarLeft from "#components/design/sidebars/SidebarLeft.astro";
|
||||
import { NotificationWrapper } from "@ibcornelsen/ui";
|
||||
import { getCurrentUser } from "#lib/server/user";
|
||||
|
||||
const user = await getCurrentUser(Astro)
|
||||
|
||||
export interface Props {
|
||||
title: string;
|
||||
@@ -115,7 +118,7 @@ const { title } = Astro.props;
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<Header />
|
||||
<Header {user} />
|
||||
|
||||
<main
|
||||
class="w-full p-0 grid
|
||||
|
||||
@@ -6,6 +6,10 @@ import Footer from "#components/design/footer/Footer.astro";
|
||||
import SidebarLeft from "#components/design/sidebars/SidebarLeft.astro";
|
||||
import SidebarRight from "#components/design/sidebars/SidebarRight.astro";
|
||||
import { NotificationWrapper } from "@ibcornelsen/ui";
|
||||
import TicketButton from "#components/Tickets/TicketButton.svelte";
|
||||
import { getCurrentUser } from "#lib/server/user";
|
||||
|
||||
const user = await getCurrentUser(Astro);
|
||||
|
||||
export interface Props {
|
||||
title: string;
|
||||
@@ -94,7 +98,7 @@ window.addEventListener("scroll", (event) => {
|
||||
|
||||
<body>
|
||||
|
||||
<Header />
|
||||
<Header {user} />
|
||||
|
||||
<main id="main"
|
||||
class="w-full p-0 grid
|
||||
@@ -119,6 +123,7 @@ window.addEventListener("scroll", (event) => {
|
||||
|
||||
<Footer />
|
||||
<NotificationWrapper client:load />
|
||||
<TicketButton client:load></TicketButton>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user