Skip to content

Commit

Permalink
Merge pull request #11 from creativetimofficial/dev-main
Browse files Browse the repository at this point in the history
refactor: update product to v1.0.3
  • Loading branch information
groovemen authored Jun 27, 2022
2 parents 219b2aa + 4e52022 commit b4adab8
Show file tree
Hide file tree
Showing 19 changed files with 68 additions and 58 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [1.0.3] 2022-06-24
### Bug Fixing
- update script imports

## [1.0.2] 2022-06-14
### Bug Fixing
- fix documentation link
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [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)

![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)
![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)

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

Expand Down
2 changes: 1 addition & 1 deletion build/assets/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down
2 changes: 1 addition & 1 deletion build/assets/css/styles.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions build/assets/js/fixed-plugin.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
if(window.location.pathname.length > 1){
var pageName = window.location.pathname.split("/").pop().split(".")[0];
var sidenav_target = "../pages/" + pageName + ".html";
} else {
var pageName = "dashboard";
var sidenav_target = "./pages/" + pageName + ".html";
}
var pageName = page;
var sidenav_target = to_build + "pages/" + pageName + ".html";

var fixedPlugin = document.querySelector("[fixed-plugin]");
var fixedPluginButton = document.querySelector("[fixed-plugin-button]");
var fixedPluginButtonNav = document.querySelector("[fixed-plugin-button-nav]");
Expand Down
38 changes: 24 additions & 14 deletions build/assets/js/soft-ui-dashboard-tailwind.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand All @@ -26,21 +26,31 @@ if (!aux.includes("pages")) {
loadStylesheet(to_build + "assets/css/perfect-scrollbar.css");
loadJS(to_build + "assets/js/perfect-scrollbar.js", true);

if (page != "sign-in" && page != "sign-up") {
if (document.querySelector("nav [navbar-trigger]")) {
loadJS(to_build + "assets/js/navbar-collapse.js", true);
}

if (document.querySelector("[data-target='tooltip']")) {
loadJS(to_build + "assets/js/tooltips.js", true);
loadStylesheet(to_build + "assets/css/tooltips.css");
}

if (document.querySelector("[nav-pills]")) {
loadJS(to_build + "assets/js/nav-pills.js", true);
}

if (document.querySelector("[dropdown-trigger]")) {
loadJS(to_build + "assets/js/dropdown.js", true);

}

if (document.querySelector("[fixed-plugin]")) {
loadJS(to_build + "assets/js/fixed-plugin.js", true);
}

if (document.querySelector("[navbar-main]")) {
loadJS(to_build + "assets/js/sidenav-burger.js", true);
loadJS(to_build + "assets/js/dropdown.js", true);
if (page != "profile") {
loadJS(to_build + "assets/js/navbar-sticky.js", true);
} else {
loadJS(to_build + "assets/js/nav-pills.js", true);
}
if (page != "tables") {
loadJS(to_build + "assets/js/tooltips.js", true);
loadStylesheet(to_build + "assets/css/tooltips.css");
}
} else {
loadJS(to_build + "assets/js/navbar-collapse.js", true);
loadJS(to_build + "assets/js/navbar-sticky.js", true);
}

if (document.querySelector("canvas")) {
Expand Down
4 changes: 2 additions & 2 deletions build/assets/js/soft-ui-dashboard-tailwind.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions build/docs/documentation.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -30,7 +30,7 @@
<!-- Popper -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>

Expand Down Expand Up @@ -216,5 +216,5 @@ <h3>Documentation v1.0.1</h3>
<!-- github button -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -30,7 +30,7 @@
<!-- Popper -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<!-- Main Styling -->
<link href="./assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="./assets/css/styles.css?v=1.0.3" rel="stylesheet" />
</head>

<body class="m-0 font-sans antialiased font-normal text-size-base leading-default bg-gray-50 text-slate-500">
Expand Down Expand Up @@ -1207,5 +1207,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
<!-- github button -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- main script file -->
<script src="./assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="./assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/pages/billing.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -31,7 +31,7 @@
<!-- Popper -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>

Expand Down Expand Up @@ -817,5 +817,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
<!-- github button -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/pages/dashboard.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -30,7 +30,7 @@
<!-- Popper -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>

Expand Down Expand Up @@ -1208,5 +1208,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
<!-- github button -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/pages/profile.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -31,7 +31,7 @@
<!-- Popper -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>
<body class="m-0 font-sans antialiased font-normal text-size-base leading-default bg-gray-50 text-slate-500">
Expand Down Expand Up @@ -898,5 +898,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
<!-- github button -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/pages/rtl.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -30,7 +30,7 @@
<!-- Popper -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>

Expand Down Expand Up @@ -1206,5 +1206,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
<!-- github button -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/pages/sign-in.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -29,7 +29,7 @@
<link href="../assets/css/nucleo-icons.css" rel="stylesheet" />
<link href="../assets/css/nucleo-svg.css" rel="stylesheet" />
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>

Expand Down Expand Up @@ -189,5 +189,5 @@ <h3 class="relative z-10 font-bold text-transparent bg-gradient-cyan bg-clip-tex
<!-- plugin for scrollbar -->
<script src="../assets/js/plugins/perfect-scrollbar.min.js" async></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/pages/sign-up.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -29,7 +29,7 @@
<link href="../assets/css/nucleo-icons.css" rel="stylesheet" />
<link href="../assets/css/nucleo-svg.css" rel="stylesheet" />
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>

Expand Down Expand Up @@ -230,5 +230,5 @@ <h5>Register with</h5>
<!-- plugin for scrollbar -->
<script src="../assets/js/plugins/perfect-scrollbar.min.js" async></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/pages/tables.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -29,7 +29,7 @@
<link href="../assets/css/nucleo-icons.css" rel="stylesheet" />
<link href="../assets/css/nucleo-svg.css" rel="stylesheet" />
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>

Expand Down Expand Up @@ -903,5 +903,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
<!-- github button -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
6 changes: 3 additions & 3 deletions build/pages/virtual-reality.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down Expand Up @@ -31,7 +31,7 @@
<!-- Popper -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<!-- Main Styling -->
<link href="../assets/css/styles.css?v=1.0.2" rel="stylesheet" />
<link href="../assets/css/styles.css?v=1.0.3" rel="stylesheet" />

</head>
<div>
Expand Down Expand Up @@ -683,5 +683,5 @@ <h6 class="mt-4">Thank you for sharing!</h6>
<!-- github button -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- main script file -->
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.2" async></script>
<script src="../assets/js/soft-ui-dashboard-tailwind.js?v=1.0.3" async></script>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "soft-ui-dashboard-tailwind",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"scripts": {
"build": "tailwindcss build -i src/styles.css -o build/assets/css/styles.css"
Expand Down
2 changes: 1 addition & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
=========================================================
* Soft UI Dashboard Tailwind - v1.0.2
* Soft UI Dashboard Tailwind - v1.0.3
=========================================================
* Product Page: https://www.creative-tim.com/product/soft-ui-dashboard-tailwind
Expand Down

0 comments on commit b4adab8

Please sign in to comment.