diff options
| author | Ken D'Ambrosio <ken@claude> | 2026-05-25 00:52:19 +0000 |
|---|---|---|
| committer | Ken D'Ambrosio <ken@claude> | 2026-05-25 00:52:19 +0000 |
| commit | b5f0c3ee2c3060dd9821d42f4e1bcbb87cbbee10 (patch) | |
| tree | e3ae9394a10871e0acfb67329200e8a1939a5bb1 /app/templates/index.html | |
| parent | 55bcec90c14db6f2956ed51cf4df1503c0767f81 (diff) | |
Add recipe overview page linked from dashboard stat card
Clicking "Active Recipes" on the dashboard goes to /recipes/overview,
which shows favorites and the 12 most recently added recipes as cards.
Favorites are highlighted with a red border. Stat card has a hover lift.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/templates/index.html')
| -rw-r--r-- | app/templates/index.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/templates/index.html b/app/templates/index.html index c33e348..55b5ef0 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -28,10 +28,12 @@ </div> </div> <div class="col-6 col-md-3"> - <div class="stat-card"> - <div class="stat-number">{{ stat_map.get('candidate', 0) + stat_map.get('favorited', 0) }}</div> - <div class="stat-label">Active Recipes</div> - </div> + <a href="/recipes/overview" class="text-decoration-none"> + <div class="stat-card stat-card-link"> + <div class="stat-number">{{ stat_map.get('candidate', 0) + stat_map.get('favorited', 0) }}</div> + <div class="stat-label">Active Recipes</div> + </div> + </a> </div> <div class="col-6 col-md-3"> <div class="stat-card"> |
