diff --git a/src/html/components/_head.astro b/src/html/components/_head.astro index 363b282f1..3ee308ccc 100644 --- a/src/html/components/_head.astro +++ b/src/html/components/_head.astro @@ -1,28 +1,47 @@ --- const { title, path, isRtl } = Astro.props; -const cssPath = isRtl ? '.rtl' : ''; +const cssPath = isRtl ? ".rtl" : ""; --- {title} - - - - - + + + + + - - - + + + - + - + - + diff --git a/src/html/components/_scripts.astro b/src/html/components/_scripts.astro index 358142d5d..c41dbf568 100644 --- a/src/html/components/_scripts.astro +++ b/src/html/components/_scripts.astro @@ -1,41 +1,51 @@ --- const { path } = Astro.props; -const adminlteJsUrl = path + '/js/adminlte.js'; +const adminlteJsUrl = path + "/js/adminlte.js"; --- - - - - - - - - - + + + + + + - - - + diff --git a/src/html/components/dashboard/_footer.astro b/src/html/components/dashboard/_footer.astro index bab800819..05012f4c7 100644 --- a/src/html/components/dashboard/_footer.astro +++ b/src/html/components/dashboard/_footer.astro @@ -5,12 +5,14 @@ const year = new Date().getFullYear(); diff --git a/src/html/components/dashboard/_sidenav.astro b/src/html/components/dashboard/_sidenav.astro index ad6326986..69dee016d 100644 --- a/src/html/components/dashboard/_sidenav.astro +++ b/src/html/components/dashboard/_sidenav.astro @@ -1,5 +1,5 @@ --- -import { convertPathToHtml } from '../../../utils/index.js'; +import { convertPathToHtml } from "../../../utils/index.js"; const { path, mainPage, page } = Astro.props; const htmlPath = convertPathToHtml(path); --- @@ -9,9 +9,13 @@ const htmlPath = convertPathToHtml(path);