@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
import "svelte-ripple-action/ripple.css";
|
||||||
import "../style/global.css";
|
import "../style/global.css";
|
||||||
import "../../svelte-dialogs.config"
|
import "../../svelte-dialogs.config";
|
||||||
import "svelte-ripple-action/ripple.css"
|
import DashboardSidebar from "../components/Dashboard/DashboardSidebar.svelte";
|
||||||
import DashboardSidebar from "../components/Dashboard/DashboardSidebar.svelte"
|
|
||||||
import { validateAccessTokenServer } from "#server/lib/validateAccessToken";
|
import { validateAccessTokenServer } from "#server/lib/validateAccessToken";
|
||||||
import { BenutzerClient } from "#components/Ausweis/types";
|
import { BenutzerClient } from "#components/Ausweis/types";
|
||||||
|
|
||||||
@@ -97,9 +96,13 @@ let lightTheme = Astro.cookies.get("theme")?.value === "light";
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="min-h-screen grid md:grid-cols-[300px_1fr]">
|
<body class="min-h-screen grid md:grid-cols-[300px_1fr]">
|
||||||
<DashboardSidebar lightTheme={lightTheme} benutzer={user} client:load></DashboardSidebar>
|
<DashboardSidebar lightTheme={lightTheme} benutzer={user} client:load>
|
||||||
|
</DashboardSidebar>
|
||||||
<main class="overflow-auto h-screen bg-base-100 pt-24 px-6 w-full">
|
<main class="overflow-auto h-screen bg-base-100 pt-24 px-6 w-full">
|
||||||
|
<article class="box rounded-tl-none
|
||||||
|
xl:px-10 py-8">
|
||||||
<slot />
|
<slot />
|
||||||
|
</article>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -44,7 +44,7 @@ body{
|
|||||||
}
|
}
|
||||||
|
|
||||||
main{
|
main{
|
||||||
@apply bg-[url('/images/pattern.png')] bg-repeat bg-fixed max-w-[1920px] mx-auto border-gray-200 border-[1px] min-w-[320px]
|
@apply bg-[url('/images/pattern.png')] bg-repeat bg-fixed max-w-[1920px] mx-auto border-gray-200 border-[1px] min-w-[320px];
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
@@ -82,7 +82,7 @@ article {
|
|||||||
|
|
||||||
h1 {@apply pl-2 sm:pl-0 text-4xl font-normal mb-2;}
|
h1 {@apply pl-2 sm:pl-0 text-4xl font-normal mb-2;}
|
||||||
h2{@apply pl-2 sm:pl-0 text-2xl font-normal mb-2;}
|
h2{@apply pl-2 sm:pl-0 text-2xl font-normal mb-2;}
|
||||||
h3 {@apply pl-2 sm:pl-0 text-xl font-normal ml-1;}
|
h3 {@apply pl-2 sm:pl-0 text-xl font-normal ml-1 mb-1;}
|
||||||
|
|
||||||
a {@apply text-blue-700 font-medium inline;}
|
a {@apply text-blue-700 font-medium inline;}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user