add template + document framework in root README

template/README.md: stripped to a one-liner bootstrap command.
README.md: full project docs (structure, add page, add component, build.sh).

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:06:16 +02:00
commit 6796e102e0
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
16 changed files with 663 additions and 1 deletions

View file

@ -0,0 +1,10 @@
// Dynamic menu loader.
// Fetches data for groups declared with empty children in navigation.json
// and injects them into side-nav after it is ready.
//
// Imported non-blocking from index.html — does not delay routing.
//
// Example usage:
// const nav = document.querySelector('side-nav')
// await nav.ready
// nav.setGroupChildren('My Group', [{ label: 'Item', href: '#/route', icon: 'icon' }])