Files
kokken/docs/UPLOAD_IMAGE.md
Alex Polo 570c41f465 Add comprehensive Playwright tests for calendar functionality
- Implemented tests for debugging browser cache vs server response.
- Verified calendar displays correct dates for November 2025.
- Added visual inspection screenshot for calendar layout.
- Created tests to ensure calendar fits within its container.
- Checked for correct styling of available and blocked dates.
- Debugged login form behavior and cookie handling.
- Added tests for forced browser refresh and cache verification.
- Conducted visual tests to compare actual calendar layout with expected.
- Enhanced logging for better traceability during test execution.
2025-11-07 14:09:22 +01:00

1.1 KiB

Upload Christian's Profile Image

Instructions

To add Christian's profile image to the website:

  1. Save the chef's portrait image as: public/img/christian-warme.jpg

  2. Then uncomment the image code in: src/app/om-christian/page.tsx

    Replace this:

    {/* Placeholder - Replace with actual image */}
    <div className="w-full h-full flex items-center justify-center bg-gradient-to-br from-primary-700 to-primary-900">
      <ChefHat className="w-32 h-32 text-white/20" />
    </div>
    {/* Uncomment when image is uploaded:
    <Image
      src="/img/christian-warme.jpg"
      alt="Christian Wärme - Kok og Konditor"
      fill
      className="object-cover"
      priority
    />
    */}
    

    With this:

    <Image
      src="/img/christian-warme.jpg"
      alt="Christian Wärme - Kok og Konditor"
      fill
      className="object-cover"
      priority
    />
    
  3. Rebuild and restart:

    npm run build
    pm2 restart warme
    

Image Requirements

  • Format: JPG or PNG
  • Recommended size: 800x800px minimum
  • Aspect ratio: Square (1:1)
  • File size: Keep under 500KB for optimal performance