Update info about not needing JavaScript for navbar toggle

This commit is contained in:
Helen Chong 2024-06-07 17:26:27 +08:00
parent d8e4374363
commit a2dc735288
2 changed files with 2 additions and 2 deletions

View File

@ -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).
* 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.

View File

@ -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 Summers 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 Summers 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.