Garage website including blog system and documentation using Zola https://garagehq.deuxfleurs.fr
Find a file
2024-07-14 16:48:57 +02:00
content add open letter for ngi 2024-07-14 16:48:57 +02:00
garage@070a8ad110 add open letter for ngi 2024-07-14 16:48:57 +02:00
src remove +x chmod bit on files 2024-01-17 13:07:06 +01:00
static Web app manifest: Avoid being displayed without the web browser UI when installed in PWA mode 2024-04-08 16:08:48 +02:00
templates remove survey links 2024-03-12 11:20:59 +01:00
.drone.yml Add shell.nix and update garage source, include api docs copy 2022-11-16 12:06:57 +01:00
.gitignore Add shell.nix and update garage source, include api docs copy 2022-11-16 12:06:57 +01:00
.gitmodules Documentation from garage submodule 2022-02-02 10:07:26 +01:00
config.toml remove +x chmod bit on files 2024-01-17 13:07:06 +01:00
package-lock.json remove +x chmod bit on files 2024-01-17 13:07:06 +01:00
package.json remove +x chmod bit on files 2024-01-17 13:07:06 +01:00
README.md update readme 2022-01-29 14:59:22 +01:00
shell.nix Add shell.nix and update garage source, include api docs copy 2022-11-16 12:06:57 +01:00
tailwind.config.js remove +x chmod bit on files 2024-01-17 13:07:06 +01:00

Garage Website

¡ Work in progress (almost done) !


Setup

  • Install Zola with pacman -S zola
  • Clone this repo
  • Run npm install to get the dev dependencies
  • Run zola build to get the public directory
  • Run npm start to compile styles and scripts
  • Run zola serve

Build

CSS : 28.4 kB

JS : 6.8 kB (app) + 1.2 MB (search)*

*The search index in loaded only when the user opens the search modal

Images + Icons : 1.1 MB

Fonctions & utilities

JavaScript can be disabled and the website will still run nicely. It only brings QoL advantages for the user.

The function is [x] if it still runs without JavaScript enabled.

  • Responsive main navigation menu (toggle)
  • Documentation : user can deploy or reploy ToC submenus
  • Documentation : deploy only the current ToC submenu after a page change
  • Documentation : sidebar focus effect on current section anchor when user scrolls
  • Documentation : ToC that follows the user's scroll
  • Global search

Screenshots

480px

768px

1280px