Garage website including blog system and documentation using Zola
Find a file
2022-04-08 16:54:41 +02:00
content Move images & fix english in blog post 2022-04-08 12:09:40 +02:00
garage@dffcd9f4b1 Update garage to 0.7.0 2022-04-08 16:54:41 +02:00
src Style for <hr> element on blog posts 2022-02-01 17:23:44 +01:00
static Move images & fix english in blog post 2022-04-08 12:09:40 +02:00
templates Merge pull request 'html width attributes have no width' (#5) from pic-width into master 2022-04-08 11:39:58 +02:00
.drone.yml Publish to garagehq.deuxfleurs.fr 2022-02-05 13:03:11 +01:00
.gitignore update doc and add min-h-screen 2022-02-02 13:16:01 +01:00
.gitmodules Documentation from garage submodule 2022-02-02 10:07:26 +01:00
config.toml Small changes to front page 2022-02-01 11:07:53 +01:00
package-lock.json First commit 2022-01-24 18:36:50 +01:00
package.json First commit 2022-01-24 18:36:50 +01:00
README.md update readme 2022-01-29 14:59:22 +01:00
tailwind.config.js Beautify download button 2022-01-28 01:20:33 +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