diff --git a/README.md b/README.md
index 5e0b88fc8..eea423dd7 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@
[![cdn version](https://data.jsdelivr.com/v1/package/npm/admin-lte/badge)](https://www.jsdelivr.com/package/npm/admin-lte)
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
[![Discord Invite](https://img.shields.io/badge/discord-join%20now-green)](https://discord.gg/jfdvjwFqfz)
+[![Netlify Status](https://api.netlify.com/api/v1/badges/1277b36b-08f3-43fa-826a-4b4d24614b3c/deploy-status)](https://app.netlify.com/sites/lambent-praline-f80030/deploys)
**AdminLTE** is a fully responsive administration template. Based on **[Bootstrap 5](https://getbootstrap.com/)** framework and also the JavaScript plugins.
Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops.
diff --git a/index.html b/index.html
new file mode 100644
index 000000000..3784897dd
--- /dev/null
+++ b/index.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ AdminLTE v4
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/html/pages/layout/logo-switch.astro b/src/html/pages/layout/logo-switch.astro
index afc9890a0..5167e1512 100644
--- a/src/html/pages/layout/logo-switch.astro
+++ b/src/html/pages/layout/logo-switch.astro
@@ -22,29 +22,112 @@ const htmlPath = convertPathToHtml(path);
-
+
+
diff --git a/src/scss/_app-content.scss b/src/scss/_app-content.scss
index b838fec5e..add6bfe7d 100644
--- a/src/scss/_app-content.scss
+++ b/src/scss/_app-content.scss
@@ -39,8 +39,8 @@
.app-content-top-area:not(.app-content-top-area-sm):not(.app-content-top-area-md):not(.app-content-top-area-lg):not(.app-content-top-area-xl),
.app-content-bottom-area:not(.app-content-bottom-area-sm):not(.app-content-bottom-area-md):not(.app-content-bottom-area-lg):not(.app-content-bottom-area-xl) {
- padding-top: $grid-gutter-width * 0.625;
- padding-bottom: $grid-gutter-width * 0.625;
+ padding-top: $grid-gutter-width * .625;
+ padding-bottom: $grid-gutter-width * .625;
}
.app-content-bottom-area {
@@ -49,8 +49,8 @@
.app-content-top-area {
border-bottom: $lte-app-footer-border-top;
- & + .app-main {
- padding-top: $grid-gutter-width * 0.5;
+ + .app-main {
+ padding-top: $grid-gutter-width * .5;
}
}
diff --git a/src/scss/_app-main.scss b/src/scss/_app-main.scss
index fcff4f5b1..edf6f2c09 100644
--- a/src/scss/_app-main.scss
+++ b/src/scss/_app-main.scss
@@ -2,7 +2,7 @@
position: relative;
grid-area: #{$lte-prefix}app-main;
max-width: 100vw;
- padding-bottom: $grid-gutter-width * 0.5;
+ padding-bottom: $grid-gutter-width * .5;
@include transition($lte-transition-speed $lte-transition-fn);
.app-content-header {
diff --git a/src/scss/_compact-mode.scss b/src/scss/_compact-mode.scss
index 59f97a777..4171416a1 100644
--- a/src/scss/_compact-mode.scss
+++ b/src/scss/_compact-mode.scss
@@ -1,8 +1,8 @@
.compact-mode {
.app-content-top-area:not(.app-content-top-area-sm):not(.app-content-top-area-md):not(.app-content-top-area-lg):not(.app-content-top-area-xl),
.app-content-bottom-area:not(.app-content-bottom-area-sm):not(.app-content-bottom-area-md):not(.app-content-bottom-area-lg):not(.app-content-bottom-area-xl) {
- padding-top: $grid-gutter-width * 0.425;
- padding-bottom: $grid-gutter-width * 0.425;
+ padding-top: $grid-gutter-width * .425;
+ padding-bottom: $grid-gutter-width * .425;
}
.app-content-top-area-sm,
.app-content-bottom-area-sm {
diff --git a/src/utils/index.js b/src/utils/index.js
index 01e29f977..d2e2e14e0 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -1,11 +1,28 @@
function convertPathToHtml(path) {
- let htmlpath = ''
+ let count = 0
+ let htmlPath = ''
while (path.startsWith('../')) {
+ count++
path = path.slice(3)
- htmlpath += htmlpath.length < 2 ? '.' : '/..'
}
- return htmlpath
+ if (count === 2) {
+ htmlPath = '.'
+ }
+
+ if (count === 3) {
+ htmlPath = '..'
+ }
+
+ if (count === 4) {
+ htmlPath = '../..'
+ }
+
+ if (count === 5) {
+ htmlPath = '../../..'
+ }
+
+ return htmlPath
}
export { convertPathToHtml }