Skip to content

Commit

Permalink
Slider to all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasleen1210 committed Jul 30, 2024
1 parent e29200a commit ac74836
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
11 changes: 11 additions & 0 deletions pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,17 @@
animateCircles();
});
</script>
<span class="slider" style="width: 40px; height: 20px; display: none;"></span>

<div id="sun-moon-mode-toggler" class="toggle-container" >
<input type="checkbox" id="themeToggle" class="switch-checkbox" onclick="toggleTheme()">
<label id="themeChangeToggle" class="theme-switch" for="themeToggle">
<div class="toggle-button">
<span class="light-mode-icon"><img src="../sun.svg" style = "display: block;"></span>
<span class="dark-mode-icon"><img src="../moon.svg"style = "display: block;"></span>
</div>
</label>
</div>
<div>
<button id="backToTopBtn" title="Back to Top" aria-label="Back to Top"><i class="fas fa-arrow-up"></i></button>
</div>
Expand Down
11 changes: 11 additions & 0 deletions pages/contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,17 @@
animateCircles();
});
</script>
<span class="slider" style="width: 40px; height: 20px; display: none;"></span>

<div id="sun-moon-mode-toggler" class="toggle-container" >
<input type="checkbox" id="themeToggle" class="switch-checkbox" onclick="toggleTheme()">
<label id="themeChangeToggle" class="theme-switch" for="themeToggle">
<div class="toggle-button">
<span class="light-mode-icon"><img src="../sun.svg" style = "display: block;"></span>
<span class="dark-mode-icon"><img src="../moon.svg"style = "display: block;"></span>
</div>
</label>
</div>
<div>
<button id="backToTopBtn" title="Back to Top" aria-label="Back to Top"><i class="fas fa-arrow-up"></i></button>
</div>
Expand Down
11 changes: 11 additions & 0 deletions pages/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,17 @@
animateCircles();
});
</script>
<span class="slider" style="width: 40px; height: 20px; display: none;"></span>

<div id="sun-moon-mode-toggler" class="toggle-container" >
<input type="checkbox" id="themeToggle" class="switch-checkbox" onclick="toggleTheme()">
<label id="themeChangeToggle" class="theme-switch" for="themeToggle">
<div class="toggle-button">
<span class="light-mode-icon"><img src="../sun.svg" style = "display: block;"></span>
<span class="dark-mode-icon"><img src="../moon.svg"style = "display: block;"></span>
</div>
</label>
</div>
<div>
<button id="backToTopBtn" title="Back to Top" aria-label="Back to Top"><i class="fas fa-arrow-up"></i></button>
</div>
Expand Down
12 changes: 12 additions & 0 deletions pages/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,18 @@
animateCircles();
});
</script>
<span class="slider" style="width: 40px; height: 20px; display: none;"></span>

<div id="sun-moon-mode-toggler" class="toggle-container" >
<input type="checkbox" id="themeToggle" class="switch-checkbox" onclick="toggleTheme()">
<label id="themeChangeToggle" class="theme-switch" for="themeToggle">
<div class="toggle-button">
<span class="light-mode-icon"><img src="../sun.svg" style = "display: block;"></span>
<span class="dark-mode-icon"><img src="../moon.svg"style = "display: block;"></span>
</div>
</label>
</div>

<button id="backToTopBtn" title="Back to Top" aria-label="Back to Top"><i class="fas fa-arrow-up"></i></button>
<div class="snowflakes" style="display: block;">
<div id="particles-js"></div>
Expand Down
12 changes: 11 additions & 1 deletion pages/feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,17 @@
<div class="circle"></div>
<div class="circle"></div>
</div>

<span class="slider" style="width: 40px; height: 20px; display: none;"></span>

<div id="sun-moon-mode-toggler" class="toggle-container" >
<input type="checkbox" id="themeToggle" class="switch-checkbox" onclick="toggleTheme()">
<label id="themeChangeToggle" class="theme-switch" for="themeToggle">
<div class="toggle-button">
<span class="light-mode-icon"><img src="../sun.svg" style = "display: block;"></span>
<span class="dark-mode-icon"><img src="../moon.svg"style = "display: block;"></span>
</div>
</label>
</div>
<button id="backToTopBtn" title="Back to Top" aria-label="Back to Top"><i class="fas fa-arrow-up"></i></button>
<div class="snowflakes" style="display: block;">
<div id="particles-js"></div>
Expand Down

0 comments on commit ac74836

Please sign in to comment.