Neues Login Design und Dashboard
This commit is contained in:
@@ -4,8 +4,6 @@ import i18next from "i18next";
|
||||
import "../style/global.scss";
|
||||
import "../../svelte-dialogs.config"
|
||||
import "svelte-ripple-action/ripple.css"
|
||||
import Footer from "../components/Footer.astro";
|
||||
import DashboardHeader from "../components/Dashboard/DashboardHeader.svelte"
|
||||
import DashboardSidebar from "../components/Dashboard/DashboardSidebar.svelte"
|
||||
import { NotificationWrapper } from "@ibcornelsen/ui";
|
||||
|
||||
@@ -40,6 +38,8 @@ const schema = JSON.stringify({
|
||||
availableLanguage: "German",
|
||||
},
|
||||
});
|
||||
|
||||
let lightTheme = Astro.cookies.get("theme").value === "light";
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -91,10 +91,9 @@ const schema = JSON.stringify({
|
||||
</head>
|
||||
|
||||
<body class="min-h-screen grid md:grid-cols-[300px_1fr]">
|
||||
<DashboardSidebar client:load></DashboardSidebar>
|
||||
<DashboardSidebar lightTheme={lightTheme} client:load></DashboardSidebar>
|
||||
<main class="p-8 overflow-auto h-screen bg-base-100">
|
||||
<slot />
|
||||
</main>
|
||||
<NotificationWrapper client:load />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user