Skip to content

Commit 4e52022

Browse files
committed
refactor: update product to v1.0.3
1 parent 219b2aa commit 4e52022

19 files changed

+68
-58
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [1.0.3] 2022-06-24
4+
### Bug Fixing
5+
- update script imports
6+
37
## [1.0.2] 2022-06-14
48
### Bug Fixing
59
- fix documentation link

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Soft UI Dashboard Tailwind](http://demos.creative-tim.com/soft-ui-dashboard-tailwind/pages/dashboard.html?ref=readme-sudt) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/intent/tweet?url=https://www.creative-tim.com/product/soft-ui-dashboard-tailwind&text=Check%20Soft%20UI%20Dashboard%20Tailwind%20made%20by%20@CreativeTim%20#webdesign%20#dashboard%20#softdesign%20#html%20https://www.creative-tim.com/product/soft-ui-dashboard-tailwind) [![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/FhCJCaHdQa)
22

3-
![version](https://img.shields.io/badge/version-1.0.2-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/soft-ui-dashboard-tailwind.svg)](https://github.com/creativetimofficial/soft-ui-dashboard-tailwind/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/soft-ui-dashboard-tailwind.svg)](https://github.com/creativetimofficial/soft-ui-dashboard-tailwind/issues?q=is%3Aissue+is%3Aclosed)
3+
![version](https://img.shields.io/badge/version-1.0.3-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/soft-ui-dashboard-tailwind.svg)](https://github.com/creativetimofficial/soft-ui-dashboard-tailwind/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/soft-ui-dashboard-tailwind.svg)](https://github.com/creativetimofficial/soft-ui-dashboard-tailwind/issues?q=is%3Aissue+is%3Aclosed)
44

55
![Image](https://raw.githubusercontent.com/creativetimofficial/public-assets/master/soft-ui-dashboard/soft-ui-dashboard-tailwind.jpg)
66

build/assets/css/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
33
=========================================================
4-
* Soft UI Dashboard Tailwind - v1.0.2
4+
* Soft UI Dashboard Tailwind - v1.0.3
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind

build/assets/css/styles.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/assets/js/fixed-plugin.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
if(window.location.pathname.length > 1){
2-
var pageName = window.location.pathname.split("/").pop().split(".")[0];
3-
var sidenav_target = "../pages/" + pageName + ".html";
4-
} else {
5-
var pageName = "dashboard";
6-
var sidenav_target = "./pages/" + pageName + ".html";
7-
}
1+
var pageName = page;
2+
var sidenav_target = to_build + "pages/" + pageName + ".html";
3+
84
var fixedPlugin = document.querySelector("[fixed-plugin]");
95
var fixedPluginButton = document.querySelector("[fixed-plugin-button]");
106
var fixedPluginButtonNav = document.querySelector("[fixed-plugin-button-nav]");

build/assets/js/soft-ui-dashboard-tailwind.js

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
33
=========================================================
4-
* Soft UI Dashboard Tailwind - v1.0.2
4+
* Soft UI Dashboard Tailwind - v1.0.3
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
@@ -26,21 +26,31 @@ if (!aux.includes("pages")) {
2626
loadStylesheet(to_build + "assets/css/perfect-scrollbar.css");
2727
loadJS(to_build + "assets/js/perfect-scrollbar.js", true);
2828

29-
if (page != "sign-in" && page != "sign-up") {
29+
if (document.querySelector("nav [navbar-trigger]")) {
30+
loadJS(to_build + "assets/js/navbar-collapse.js", true);
31+
}
32+
33+
if (document.querySelector("[data-target='tooltip']")) {
34+
loadJS(to_build + "assets/js/tooltips.js", true);
35+
loadStylesheet(to_build + "assets/css/tooltips.css");
36+
}
37+
38+
if (document.querySelector("[nav-pills]")) {
39+
loadJS(to_build + "assets/js/nav-pills.js", true);
40+
}
41+
42+
if (document.querySelector("[dropdown-trigger]")) {
43+
loadJS(to_build + "assets/js/dropdown.js", true);
44+
45+
}
46+
47+
if (document.querySelector("[fixed-plugin]")) {
3048
loadJS(to_build + "assets/js/fixed-plugin.js", true);
49+
}
50+
51+
if (document.querySelector("[navbar-main]")) {
3152
loadJS(to_build + "assets/js/sidenav-burger.js", true);
32-
loadJS(to_build + "assets/js/dropdown.js", true);
33-
if (page != "profile") {
34-
loadJS(to_build + "assets/js/navbar-sticky.js", true);
35-
} else {
36-
loadJS(to_build + "assets/js/nav-pills.js", true);
37-
}
38-
if (page != "tables") {
39-
loadJS(to_build + "assets/js/tooltips.js", true);
40-
loadStylesheet(to_build + "assets/css/tooltips.css");
41-
}
42-
} else {
43-
loadJS(to_build + "assets/js/navbar-collapse.js", true);
53+
loadJS(to_build + "assets/js/navbar-sticky.js", true);
4454
}
4555

4656
if (document.querySelector("canvas")) {

build/assets/js/soft-ui-dashboard-tailwind.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/docs/documentation.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
=========================================================
3-
* Soft UI Dashboard Tailwind - v1.0.2
3+
* Soft UI Dashboard Tailwind - v1.0.3
44
=========================================================
55
66
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
@@ -30,7 +30,7 @@
3030
<!-- Popper -->
3131
<script src="https://unpkg.com/@popperjs/core@2"></script>
3232
<!-- Main Styling -->
33-
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
33+
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />
3434

3535
</head>
3636

@@ -216,5 +216,5 @@ <h3>Documentation v1.0.1</h3>
216216
<!-- github button -->
217217
<script async defer src="https://buttons.github.io/buttons.js"></script>
218218
<!-- main script file -->
219-
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
219+
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
220220
</html>

build/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
=========================================================
3-
* Soft UI Dashboard Tailwind - v1.0.2
3+
* Soft UI Dashboard Tailwind - v1.0.3
44
=========================================================
55
66
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
@@ -30,7 +30,7 @@
3030
<!-- Popper -->
3131
<script src="https://unpkg.com/@popperjs/core@2"></script>
3232
<!-- Main Styling -->
33-
<link href="./assets/css/styles.css?v=1.0.2" rel="stylesheet" />
33+
<link href="./assets/css/styles.css?v=1.0.3" rel="stylesheet" />
3434
</head>
3535

3636
<body class="m-0 font-sans antialiased font-normal text-size-base leading-default bg-gray-50 text-slate-500">
@@ -1207,5 +1207,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
12071207
<!-- github button -->
12081208
<script async defer src="https://buttons.github.io/buttons.js"></script>
12091209
<!-- main script file -->
1210-
<script src="./assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
1210+
<script src="./assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
12111211
</html>

build/pages/billing.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
=========================================================
3-
* Soft UI Dashboard Tailwind - v1.0.2
3+
* Soft UI Dashboard Tailwind - v1.0.3
44
=========================================================
55
66
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
@@ -31,7 +31,7 @@
3131
<!-- Popper -->
3232
<script src="https://unpkg.com/@popperjs/core@2"></script>
3333
<!-- Main Styling -->
34-
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
34+
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />
3535

3636
</head>
3737

@@ -817,5 +817,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
817817
<!-- github button -->
818818
<script async defer src="https://buttons.github.io/buttons.js"></script>
819819
<!-- main script file -->
820-
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
820+
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
821821
</html>

0 commit comments

Comments
 (0)