Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
27 changes: 27 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -529,6 +545,17 @@ <h2 data-i18n="select_categories">
<div id="category-groups"></div>
</div>

<div style="margin-top: 20px">
<button
id="view-progress-btn"
class="view-progress-btn"
data-i18n="view_progress"
onclick="window.location.href='progress.html'"
>
View Progress
</button>
</div>

<div class="footer">
<span
><a href="mailto:damjan.kosir@gmail.com"
Expand Down
Loading