Neues Login Design und Dashboard

This commit is contained in:
Moritz Utcke
2024-01-19 11:36:46 +07:00
parent fa9cfe3545
commit 933ef6d876
41 changed files with 1769 additions and 686 deletions

View File

@@ -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>