Commit Graph

27 Commits

Author SHA1 Message Date
ab84ffc131 fix: force white color for Login link in production with !important
All checks were successful
CI / update (push) Successful in 1m39s
The Login link was appearing light blue and nord purple when visited
in production/preview builds due to CSS specificity conflicts with
global nordtheme.css link styles. Added !important flags to enforce
white color for all link states and nord8 for hover/focus states.
2026-01-05 23:08:32 +01:00
6b3aed582e fix: improve logo alignment and reduce focus area padding
All checks were successful
CI / update (push) Successful in 1m11s
- Removed 'entry' class from desktop logo to match mobile implementation
- Added left padding to nav for consistent logo alignment across viewports
- Reduces excessive padding when tabbing through logo links
2026-01-05 22:33:31 +01:00
9cec69af10 fix: ensure Login link uses consistent white styling like other header links
Updated CSS selectors to specifically target 'a.entry' instead of '.entry' to properly apply styling to the Login link. This ensures the link appears white in both light and dark modes, matching the styling of other navigation links.
2026-01-05 22:29:25 +01:00
cc978e73b4 feat: improve accessibility and update color scheme based on PageSpeed insights
All checks were successful
CI / update (push) Successful in 1m13s
- Add aria-labels to icon-only links (add button, edit button, logo, nav toggle)
- Add main landmark element for better page structure
- Fix heading hierarchy on recipe pages (h1 → h2 → h3 progression)
- Add role="status" to loading placeholders to allow aria-label usage
- Update link colors from red to blue for better contrast in both light and dark modes
- Change hover colors from orange/red to light blue across all interactive elements
- Reduce font size of section labels (Season, Keywords) while maintaining semantic structure

These changes address PageSpeed accessibility recommendations including low-contrast text,
missing accessible names, prohibited ARIA attributes, missing landmarks, and improper
heading order.
2026-01-05 16:14:37 +01:00
f161d8a15d migrate from deprecated slots to snippets and fix event handlers
- Replace deprecated <slot> syntax with modern {#snippet} and {@render} patterns
- Add TypeScript types for snippet props in Header component
- Convert on:click event handlers to onclick attribute throughout
- Update all layout files to use new snippet-based composition pattern
2025-12-27 12:24:30 +01:00
4356af4e0a fix mobile hamburger menu positioning and layout
All checks were successful
CI / update (push) Successful in 1m11s
Improve profile picture and navigation alignment on mobile:
- Position UserHeader fixed 2rem from viewport bottom (avoids browser UI issues)
- Center UserHeader horizontally within hamburger menu
- Add 2rem margin to links wrapper for better spacing
- Align navigation items to flex-start for left alignment
2025-12-27 10:24:44 +01:00
2b76b47083 improve header navigation styling and active link highlighting
Optimize header link spacing and add visual feedback for active pages:
- Reduce link padding and gap for more compact navigation
- Shorten German labels: "In Saison" to "Saison", "Stichwörter" to "Tags"
- Remove "Tipps" section from navigation menu

Add active page highlighting across all layouts:
- Highlight current page links in red (matching hover color)
- Desktop: animated red underline that smoothly slides between links
- Mobile: static red underline for active links in hamburger menu
- Underline aligns precisely with text width (excludes padding)

Improve transitions:
- Fix color transition to only animate color, not layout properties
- Disable underline transition during window resize to prevent lag
- Underline updates immediately on resize for perfect alignment
2025-12-27 10:15:16 +01:00
51b0928489 fix mobile header shadow appearing over hamburger menu
Separate the drop shadow from the button wrapper into its own fixed
element with a lower z-index. This prevents the shadow from appearing
over the hamburger menu when it's pulled out on mobile.

- Create separate button_wrapper_shadow element
- Move box-shadow styling to shadow element
- Set shadow z-index to 9 to stay below menu but above page content
- Use fixed positioning with pointer-events: none
2025-12-27 09:54:17 +01:00
8d5d64a9bd refactor language selector into separate component
Extract language switching functionality from UserHeader into a new
LanguageSelector component. In mobile view, the selector appears in
the top bar next to the hamburger menu. In desktop view, it appears
in the navigation bar to the left of the UserHeader.

- Create LanguageSelector component with local element bindings
- Update Header component with language_selector_mobile and
  language_selector_desktop slots
- Remove language selector code from UserHeader
- Update recipe and main layouts to use new component
- Hide desktop language selector inside mobile hamburger menu
2025-12-27 09:46:04 +01:00
96c7e504fb fix: remove scale transform on homepage icon hover 2025-12-12 22:55:43 +01:00
683967932b "fix" symbol in header on mobile 2024-02-20 20:27:33 +01:00
d1587a3672 move globals out of component into css file 2024-02-18 23:34:14 +01:00
895c5c5157 slightly improve js-free Card rendering 2024-01-21 10:34:23 +01:00
3ebd48f480 fix Login/PFP falling below viewport 2024-01-20 17:49:20 +01:00
2b18b377c0 Header: add box-shadow 2024-01-20 16:29:47 +01:00
00c23bcdba dark theme implemented 2024-01-20 00:39:53 +01:00
9eab9a5553 finally fix symbol on mobile 2023-10-04 22:53:03 +02:00
2ceb8ef864 fix mess-up on hover 2023-07-23 12:48:12 +02:00
bfdc12736c user displayed in navbar with option to logout 2023-07-19 14:52:50 +02:00
3609b7a510 fix global .icon for action_button 2023-07-18 18:11:47 +02:00
e7119b5a03 fix global .icon for action_button 2023-07-18 18:10:57 +02:00
ce5cd87d01 symbol in Header 2023-07-18 18:09:31 +02:00
4321ece385 First fully working user management, move to layout groups 2023-07-18 14:18:52 +02:00
fd1157151e break word 2023-07-13 23:15:13 +02:00
e3de4e8db9 less mislicks, switched to :focus where appropriate 2023-07-13 18:27:02 +02:00
fa23378952 Card hover effect smooth, mobile navbar hides on click 2023-07-13 13:54:42 +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