diff --git a/package.json b/package.json index 6929cd3..d7b7312 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "author": "Damjan Košir", "license": "AGPL-3.0-only", "scripts": { - "build": "bun install && bun scripts/update-reward-count.ts && mkdir -p dist/rpg && cp src/*.html dist && cp src/favicon-32x32.png dist && cp -r src/rewardImages dist && cp src/rpg/*.html dist/rpg && cp -r src/rpg/assets dist/rpg && bun build ./src/app.ts ./src/index.ts ./src/practice.ts ./src/rpg/rpg.ts ./src/rpg/rpgIndex.ts ./src/rpg/actors.ts --outdir dist", + "build": "bun install && bun scripts/update-reward-count.ts && mkdir -p dist/rpg && cp src/*.html dist && cp src/favicon-32x32.png dist && cp -r src/rewardImages dist && cp src/rpg/*.html dist/rpg && cp -r src/rpg/assets dist/rpg && bun build ./src/app.ts ./src/index.ts ./src/practice.ts ./src/progress.ts ./src/rpg/rpg.ts ./src/rpg/rpgIndex.ts ./src/rpg/actors.ts --outdir dist", "dev": "bun run build --watch", "caddy": "mkdir -p dist/rpg && cd dist && caddy file-server --listen :3000", "debug": "chromium --remote-debugging-port=9222 --user-data-dir=remote-debug-profile http://localhost:3000/rpg/rpg.html", diff --git a/src/index.html b/src/index.html index abe4e6f..3ae2ca3 100644 --- a/src/index.html +++ b/src/index.html @@ -466,6 +466,22 @@ outline-offset: 2px; } + .view-progress-btn { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); + font-size: 0.85em; + padding: 10px 24px; + } + + .view-progress-btn:hover { + transform: translateY(-2px); + box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4); + } + + .view-progress-btn:active { + transform: translateY(0); + } + .footer { margin-top: 30px; padding-top: 20px; @@ -529,6 +545,17 @@

+
+ +
+