move working code to exemple/navigation/

sources/, config.yml and build.sh relocated under exemple/navigation/.
Root now only contains template/ and exemple/.
README updated to reflect the new structure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-06-07 13:16:42 +02:00
commit 6185d8ea48
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
18 changed files with 18 additions and 10 deletions

View file

@ -3,6 +3,23 @@
Framework web minimaliste basé sur JavaScript vanilla et les Web Components.
Routage hash-based, composants déclarés dans `config.yml`, build via `build.sh`.
## Contenu du repo
```
├── template/ # Point de départ pour un nouveau projet
└── exemple/
└── navigation/ # Exemple complet avec side-nav et page dashboard
```
## Démarrer un projet
```bash
cp -r template/ mon-projet/
cd mon-projet/
./build.sh
python3 -m http.server 8000 --directory sources/
```
## Structure d'un projet
```
@ -19,15 +36,6 @@ Routage hash-based, composants déclarés dans `config.yml`, build via `build.sh
└── build.sh # Télécharge les remotes + génère les JSON
```
## Démarrer un projet
```bash
cp -r template/ mon-projet/
cd mon-projet/
./build.sh
python3 -m http.server 8000 --directory sources/
```
## Ajouter une page
1. Créer `sources/pages/<nom>/` avec :

View file

Before

Width:  |  Height:  |  Size: 996 B

After

Width:  |  Height:  |  Size: 996 B

Before After
Before After