diff --git a/src/changelogs/logs/2024/2024-06-07.md b/src/changelogs/logs/2024/2024-06-07.md index 495f1d00..61ca832a 100644 --- a/src/changelogs/logs/2024/2024-06-07.md +++ b/src/changelogs/logs/2024/2024-06-07.md @@ -3,4 +3,5 @@ date: 2024-06-07 --- * Update Leilukin's Hub's site button. This time, I made my site button myself by using Adobe Photoshop CS5. -* Add a [colophon page](/colophon). \ No newline at end of file +* Add a [colophon page](/colophon). +* JavaScript is no longer needed for the navigation bar toggle button when the site is viewed on a mobile device. \ No newline at end of file diff --git a/src/statements/colophon.md b/src/statements/colophon.md index 4ef025f2..55d04f87 100644 --- a/src/statements/colophon.md +++ b/src/statements/colophon.md @@ -51,7 +51,6 @@ Due to this website being built with a static site generator, JavaScript is used * LGBTQ+ events, International Women's Day, website anniversary and webmaster's birthday; * Release anniversaries of [{% cite "A Summer’s End — Hong Kong 1986" %}](/shrines/asummersend), [{% cite "Star Wars: Knights of the Old Republic" %}](/shrines/starwarskotor) and [{% cite "Cassette Beasts" %}](/shrines/cassettebeasts) on their respective shrines; * Birthdays of characters from {% cite "A Summer’s End — Hong Kong 1986" %} on its shrine. -* When this site is viewed on mobile devices, the navigation bar utilises a button that uses JavaScript to toggle the display of the navigation links when the button is clicked. * Every page has a button on the bottom right corner to allow you to quickly scroll to the top of the page. This scroll-to-top button uses JavaScript to show or hide the button based on scroll position. * A "Back to top" link that does not use JavaScript is available on each page's bottom footer, but the JavaScript version allows visitors to quickly scroll to the top page without needing to reach the bottom footer. * [Website Carbon Badge](https://www.websitecarbon.com/badge/), which is placed on the home page, uses JavaScript to calculate the carbon footprint of this website.