Commit Graph

24 Commits

Author SHA1 Message Date
06cd7e7677 Fix JSON-LD rendering in recipe pages
Some checks failed
CI / update (push) Failing after 5s
Use @html directive to properly render JSON-LD script tags instead of literal text.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 19:22:56 +02:00
d3a291b9f1 SSR for json-ld
Some checks failed
CI / update (push) Failing after 5s
2025-09-04 19:14:02 +02:00
04b138eed1 attempt 2 for json-ld exposure
Some checks failed
CI / update (push) Failing after 5s
2025-09-04 19:09:08 +02:00
e01ff9eb59 Add JSON-LD structured data for recipes
Some checks failed
CI / update (push) Failing after 59s
- Create recipeJsonLd.ts function with Schema.org compliant Recipe markup
- Add API endpoint at /api/rezepte/json-ld/[name] for on-demand generation
- Include proper ISO 8601 time parsing for German formats
- Add rel="alternate" link in recipe pages for discoverability
- Set author to Alexander Bocken with proper Person type
- Include caching headers for performance optimization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 18:57:47 +02:00
b534cd1ddc Add favorite indicators to recipe cards and improve favorites UI
All checks were successful
CI / update (push) Successful in 17s
- Add heart emoji indicators to recipe cards (top-left positioning)
- Show favorites across all recipe list pages (season, category, icon, tag)
- Create favorites utility functions for server-side data merging
- Convert client-side load files to server-side for session access
- Redesign favorite button with emoji hearts (🖤/❤️) and bottom-right positioning
- Fix randomizer array mutation issue causing card display glitches
- Implement consistent favorite indicators with drop shadows for visibility

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-01 20:45:28 +02:00
fe46ab194e Implement user favorites feature for recipes
- Add UserFavorites MongoDB model with ObjectId references
- Create authenticated API endpoints for favorites management
- Add Heart icon and FavoriteButton components with toggle functionality
- Display favorite button below recipe tags for logged-in users
- Add Favoriten navigation link (visible only when authenticated)
- Create favorites page with grid layout and search functionality
- Store favorites by MongoDB ObjectId for data integrity

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-01 20:18:57 +02:00
d355f2fc09 emoji font for icon 2024-02-26 12:00:38 +01:00
5b34fa7a9c first attempt of img cache invalidation 2024-02-18 14:43:42 +01:00
a48a14f1cf simplify structure by remove (rezepte) 2024-01-20 16:39:27 +01:00
4321ece385 First fully working user management, move to layout groups 2023-07-18 14:18:52 +02:00
1f34c36384 cleaner login and registration 2023-07-18 12:05:30 +02:00
902a3611b1 rearrange tags 2023-07-14 14:34:15 +02:00
fd1157151e break word 2023-07-13 23:15:13 +02:00
7c56cff5bf update image and season interval on navigation 2023-07-13 17:18:09 +02:00
5ffd3dbadd fix recipe page 2023-07-11 19:00:58 +02:00
abd09f2291 render html in preamble 2023-07-05 15:20:18 +02:00
7eb731181a Icon route added 2023-07-03 12:39:34 +02:00
17cfa89cce do not render &shy; or similar in name 2023-07-03 09:35:36 +02:00
0ad95d1f2c API routes now return proper Responses and basic errors are handled
slight improvements in layouting
2023-07-02 23:39:31 +02:00
5d2304e159 Image parallax on recipes 2023-06-25 12:15:20 +02:00
6be720d5e6 Update build process 2023-06-25 10:17:12 +02:00
811ae3db5f Does not work: uploading images
Adding/Editing/Deleting works
SeasonsSelect works
Nice recipe layout
2023-06-24 15:35:38 +02:00
b4223f8eb0 Lots of changes, started on working /add 2023-06-24 15:35:37 +02:00
89612f02b6 Initial commit 2023-06-24 15:35:36 +02:00