Fix falsche Style Datei wird reingeladen
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
import "../style/global.scss"
|
import "#style/global.css"
|
||||||
import "../../svelte-dialogs.config"
|
import "../../svelte-dialogs.config"
|
||||||
import Footer from '../components/Footer.astro';
|
import Footer from '#components/design/footer/Footer.astro';
|
||||||
import Header from '../components/Header.astro';
|
import Header from '#components/design/header/Header.astro';
|
||||||
import SidebarLeft from '../components/SidebarLeft.astro';
|
import SidebarLeft from '#components/design/sidebars/left/SidebarLeft.astro';
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
|
|
||||||
import "../style/global.scss";
|
import "#style/global.css";
|
||||||
import "../../svelte-dialogs.config"
|
import "../../svelte-dialogs.config"
|
||||||
import "svelte-ripple-action/ripple.css"
|
import "svelte-ripple-action/ripple.css"
|
||||||
import ThemeController from "#components/ThemeController.svelte";
|
import ThemeController from "#components/ThemeController.svelte";
|
||||||
@@ -38,7 +38,7 @@ const schema = JSON.stringify({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const lightTheme = Astro.cookies.get("theme").value === "light";
|
const lightTheme = Astro.cookies.get("theme")?.value === "light";
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
|
|
||||||
import "../style/UMBE_global.css";
|
import "../style/UMBE_global.css";
|
||||||
import "../style/global.scss";
|
import "#style/global.css";
|
||||||
import "../../svelte-dialogs.config"
|
import "../../svelte-dialogs.config"
|
||||||
import Footer from "../components/Footer.astro";
|
import Footer from "../components/Footer.astro";
|
||||||
import Header from "../components/Header.astro";
|
import Header from "../components/Header.astro";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
|
|
||||||
import "../style/global.scss";
|
import "#style/global.css";
|
||||||
import "../../svelte-dialogs.config"
|
import "../../svelte-dialogs.config"
|
||||||
import "svelte-ripple-action/ripple.css"
|
import "svelte-ripple-action/ripple.css"
|
||||||
import DashboardSidebar from "../components/Dashboard/DashboardSidebar.svelte"
|
import DashboardSidebar from "../components/Dashboard/DashboardSidebar.svelte"
|
||||||
@@ -50,7 +50,7 @@ const schema = JSON.stringify({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
let lightTheme = Astro.cookies.get("theme").value === "light";
|
let lightTheme = Astro.cookies.get("theme")?.value === "light";
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import ThemeController from "../components/ThemeController.svelte";
|
import ThemeController from "../components/ThemeController.svelte";
|
||||||
import moment from "moment"
|
import moment from "moment"
|
||||||
|
|
||||||
const lightTheme = Astro.cookies.get("theme").value === "light";
|
const lightTheme = Astro.cookies.get("theme")?.value === "light";
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
"#modules/*": ["./src/modules/*"],
|
"#modules/*": ["./src/modules/*"],
|
||||||
"#client/*": ["./src/client/*"],
|
"#client/*": ["./src/client/*"],
|
||||||
"#server/*": ["./src/server/*"],
|
"#server/*": ["./src/server/*"],
|
||||||
|
"#style/*": ["./src/style/*"],
|
||||||
|
|
||||||
"#footer/*": ["./src/components/design/footer/*"],
|
"#footer/*": ["./src/components/design/footer/*"],
|
||||||
"#header/*": ["./src/components/design/header/*"],
|
"#header/*": ["./src/components/design/header/*"],
|
||||||
|
|||||||
Reference in New Issue
Block a user