Compare commits

..

2 commits

Author SHA1 Message Date
0d5c2fbd35
restructure: move web app into sources/
All served files (index.html, core/, pages/, components/, vendor/,
config.json, icons.json, favicon.svg) are now under sources/.
build.sh and components.yml stay at the repo root.
build.sh updated: WEB_DIR → sources/, MANIFEST stays at SCRIPT_DIR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-07 12:55:28 +02:00
a5a296e87f
update side-nav
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-07 12:42:12 +02:00
16 changed files with 7 additions and 3 deletions

View file

@ -14,8 +14,9 @@
set -euo pipefail set -euo pipefail
WEB_DIR="$(cd "$(dirname "$0")" && pwd)" SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
MANIFEST="${WEB_DIR}/components.yml" WEB_DIR="${SCRIPT_DIR}/sources"
MANIFEST="${SCRIPT_DIR}/components.yml"
COMPONENTS_DIR="${WEB_DIR}/components" COMPONENTS_DIR="${WEB_DIR}/components"
OUTPUT="${WEB_DIR}/components.json" OUTPUT="${WEB_DIR}/components.json"
LOCKFILE="${WEB_DIR}/components.lock.json" LOCKFILE="${WEB_DIR}/components.lock.json"

View file

@ -3,6 +3,6 @@
"name": "side-nav", "name": "side-nav",
"repo": "https://git.g3e.fr/syonad/syn-side-nav", "repo": "https://git.g3e.fr/syonad/syn-side-nav",
"ref": "main", "ref": "main",
"commit": "c885959a6f3ff14b677fb104b72dc707d0fc1c66" "commit": "bf6bbe78a9d361b96168b05d94e560a381283121"
} }
] ]

View file

Before

Width:  |  Height:  |  Size: 996 B

After

Width:  |  Height:  |  Size: 996 B

Before After
Before After

3
sources/icons.json Normal file
View file

@ -0,0 +1,3 @@
{
"dashboard": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"7\" height=\"7\"/><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\"/><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\"/><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\"/></svg>"
}