init program-2026

This commit is contained in:
2026-08-18 14:05:11 +07:00
commit 387dfb1676
22 changed files with 2180 additions and 0 deletions

16
scripts/build.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
set -e
SITE="$1"
if [ -z "$SITE" ]; then
echo "Usage: npm run build -- <site-folder> (e.g. npm run build -- folder-1)"
exit 1
fi
if [ ! -d "$SITE" ]; then
echo "Error: '$SITE' is not a folder in this project."
exit 1
fi
npx tailwindcss -i ./src/input.css -o "./$SITE/assets/styles.css" --minify
echo "Built $SITE"