-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added missing binaries to the Docker environment * Responsive navbar with mobile menu that can be toggled on and off * Improved the Categories page on mobile devices and in light mode * Improved the packages listing for mobile devices and light mode * Improved search results * make navbar sticky on desktop
- Loading branch information
Showing
40 changed files
with
628 additions
and
9,885 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ assets/yarn-error.log | |
assets/fonts | ||
result* | ||
cbits/*.cpp | ||
pgdata/ | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
import Alpine from 'alpinejs' | ||
window.Alpine = Alpine | ||
Alpine.start() | ||
|
||
const checkbox = document.querySelector("#darkmode-toggle"); | ||
const html = document.querySelector("html"); | ||
|
||
const toggleDarkMode = () => { | ||
if (checkbox.checked) { | ||
html.classList.add("dark"); | ||
localStorage.theme = "dark"; | ||
console.log("[+] Enabling and saving dark mode preference"); | ||
} else { | ||
html.classList.remove("dark"); | ||
localStorage.theme = "light"; | ||
console.log("[+] Enabling and saving light mode preference"); | ||
} | ||
} | ||
|
||
checkbox.addEventListener("click", toggleDarkMode); | ||
import Alpine from "alpinejs"; | ||
window.Alpine = Alpine; | ||
Alpine.start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.