From 445879c1ea8c0fd26f059e88a5c48c37b6052dd1 Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Sun, 21 May 2023 11:56:33 +0530 Subject: [PATCH] comment properly --- src/html/components/dashboard/_footer.astro | 12 ++-- src/html/components/dashboard/_sidenav.astro | 30 +++++++--- src/html/components/dashboard/_topbar.astro | 60 ++++++++++---------- 3 files changed, 61 insertions(+), 41 deletions(-) diff --git a/src/html/components/dashboard/_footer.astro b/src/html/components/dashboard/_footer.astro index 217faf565..bab800819 100644 --- a/src/html/components/dashboard/_footer.astro +++ b/src/html/components/dashboard/_footer.astro @@ -1,12 +1,16 @@ --- -const year = new Date().getFullYear() +const year = new Date().getFullYear(); --- - + + + diff --git a/src/html/components/dashboard/_sidenav.astro b/src/html/components/dashboard/_sidenav.astro index 34d4b4e19..ad6326986 100644 --- a/src/html/components/dashboard/_sidenav.astro +++ b/src/html/components/dashboard/_sidenav.astro @@ -1,21 +1,29 @@ --- import { convertPathToHtml } from '../../../utils/index.js'; -const { path, mainPage, page } = Astro.props -const htmlPath = convertPathToHtml(path) +const { path, mainPage, page } = Astro.props; +const htmlPath = convertPathToHtml(path); --- - + + diff --git a/src/html/components/dashboard/_topbar.astro b/src/html/components/dashboard/_topbar.astro index 5e628cc80..8c4a96b66 100644 --- a/src/html/components/dashboard/_topbar.astro +++ b/src/html/components/dashboard/_topbar.astro @@ -1,11 +1,11 @@ --- -const { path } = Astro.props -const distPath = path +const { path } = Astro.props; +const distPath = path; --- - + - +