Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit 2f19acf

Browse files
authored
Update index.html
1 parent 9634bee commit 2f19acf

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

src/index.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
<link rel="stylesheet" href="css/style.css">
3030
</head>
3131
<body>
32-
<!-- website loader -->
33-
<div id="webloader">
34-
<div id="spinner"></div>
35-
</div>
36-
3732
<!-- navigation -->
3833
<div class="nav">
3934

@@ -173,21 +168,18 @@ <h4>Sample</h4>
173168

174169
<!-- javascript libraries and plugins -->
175170
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
171+
<script src="https://cdnjs.cloudflare.com/ajax/libs/nanobar/0.4.2/nanobar.min.js"></script>
176172
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/1.3.0/perfect-scrollbar.min.js"></script>
177173
<script>
178174
$(function() {
179175

180-
// website loader
181-
window.addEventListener('load', () => {
182-
const webloader = document.getElementById('webloader');
183-
setTimeout(() => {
184-
webloader.classList.add('out');
185-
}, 300);
186-
});
187-
188176
// perfect scrollbar
189177
const ps = new PerfectScrollbar('.scrollbar');
190178

179+
// nanobar
180+
var nanobar = new Nanobar();
181+
nanobar.go(100);
182+
191183
// responsive navigation
192184
$('.nav .click').on('click', function() {
193185
$('.nav .responsive').toggleClass('expandable');

0 commit comments

Comments
 (0)