Commit Graph

30 Commits

Author SHA1 Message Date
e2a76d4080 Fix Card.svelte icon positioning and styling
- Restored icon to top-right position with absolute positioning
- Added proper circular background with nord0 color
- Set correct dimensions (50px × 50px) and border-radius for circular shape
- Added shadow and hover effects to match original design
- Fixed z-index to ensure icon appears above other elements
- Maintained shake animation on card hover for visual feedback

The icon now appears correctly in the top-right corner with a round
background instead of being positioned at bottom center with transparent
background.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 21:07:10 +02:00
b861f9aeec Upgrade SvelteKit 4 to SvelteKit 5 with latest dependencies
Major changes:
- Upgraded Svelte from v4 to v5.38.6 (latest stable)
- Upgraded SvelteKit from v2.0.0 to v2.37.0 (latest)
- Upgraded Vite from v5 to v7.1.3 for better performance
- Updated all related packages to latest compatible versions
- Added pnpm as package manager with packageManager field
- Fixed Card.svelte nested anchor tags issue by converting inner links to buttons
- Updated component styling to maintain visual consistency
- Removed incompatible svelte-preprocess-import-assets package

Dependencies updated:
- @sveltejs/kit: ^2.0.0 → ^2.37.0
- @sveltejs/vite-plugin-svelte: ^3.0.0 → ^6.1.3
- svelte: ^4.0.0 → ^5.38.6
- vite: ^5.0.0 → ^7.1.3
- @sveltejs/adapter-auto: ^3.0.0 → ^6.1.0
- @sveltejs/adapter-node: ^2.0.0 → ^5.0.0
- svelte-check: ^3.4.6 → ^4.0.0
- mongoose: ^7.4.0 → ^8.0.0
- sharp: ^0.32.3 → ^0.33.0

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 21:01:19 +02:00
367ea7a17e render HTML in Recipe Card description
All checks were successful
CI / update (push) Successful in 17s
2024-10-22 17:29:29 +02:00
abddf4b201 eager image loading for top recipes on page 2024-02-25 12:54:30 +01:00
b4dc4d194f specify emoji font for icons 2024-02-25 11:15:06 +01:00
794817f69d first attempt in disabling image coursel on redirect 2024-02-18 19:53:47 +01:00
bd5fdbd7c3 first attempt of img cache invalidation 2024-02-18 14:43:42 +01:00
51381c3f3d only margin-right in MediaScroller 2024-01-24 11:09:54 +01:00
9ddafaacca fix weird shift in Cards due to double insertion of <a> tag on server 2024-01-22 15:09:08 +01:00
1222fe7487 Card.svelte: placeholder image also blurred if JS disabled 2024-01-22 14:53:26 +01:00
61488a8ce9 fix Search 2024-01-22 14:47:22 +01:00
ef78686432 no blurred image if JS disabled 2024-01-22 14:43:52 +01:00
7ec94246f0 Card is now fully loaded in itself
No longer do we have this weird shift of the description to the right of
the Card until some magical JS is loaded to fix it.
Not yet perfect: The now wrapping a-tag is for some reason still weirdly
sent to client until some js cleans it up. Currently results in a too
large gap which is fixed by local js.

Still TODO: do not blur images if no js present
2024-01-22 14:13:56 +01:00
0f45145119 Card.svelte: get rid of :has() and Firefox-specific hacks 2024-01-22 12:40:55 +01:00
18e26790ce slightly improve js-free Card rendering 2024-01-21 10:34:23 +01:00
780bca5f96 Safari and Firefox render cards correctly 2023-10-19 14:04:44 +02:00
4a2edd85a1 move from new.bocken.org to bocken.org 2023-10-05 10:09:50 +02:00
fe0c3c6644 less mislicks, switched to :focus where appropriate 2023-07-13 18:27:02 +02:00
bf5c86532a Card hover effect smooth, mobile navbar hides on click 2023-07-13 13:54:42 +02:00
6aaf4ecfb4 reliably unblur, only use unblur if image not already loaded 2023-07-12 12:44:44 +02:00
08607fafe7 fix placeholder thumbnail misalignment 2023-07-11 19:14:39 +02:00
5ea8502caf initial implementation of placeholder images, thumbnails and blurring between using sharp 2023-07-11 18:47:29 +02:00
d33433eb8f fix some icon animations 2023-07-10 13:19:35 +02:00
71d5dd14df randomize order of recipes based on day 2023-07-10 13:00:11 +02:00
d92331998e stack tags from bottom of card 2023-07-05 18:48:59 +02:00
e4e153fe1b Icon route added 2023-07-03 12:39:34 +02:00
3d631f69b5 Remove unnecessary a11y warnings 2023-07-03 00:09:00 +02:00
3d0d3f41e2 First almost fully functioning MVP.
Lacking:
- Seasons cannot be added/edited
- image upload
- layout recipe/adding
2023-06-24 15:35:38 +02:00
dc6fd3fad5 Lots of changes, started on working /add 2023-06-24 15:35:37 +02:00
4e6291fa5d first working prototype 2023-06-24 15:35:37 +02:00