Increase gradient intensity for smoother, more gradual fade of the hero image by adjusting bottom overlay to use a semi-transparent mid-stop (via-background at 50%).
X-Lovable-Edit-ID: edt-3024e3e7-57e6-4bc2-ad9d-00b5d29a8549
Adds fade-out gradient under hero image in HeroSection and replaces hardcoded opacity with bottom gradient for nicer transition.
X-Lovable-Edit-ID: edt-0004586e-5bd0-4420-b6de-b0c812b29845
Implemented full admin interface for orders, customers, and payments:
- Added Admin page at /admin with stats and tabbed views
- Created AdminData hooks for orders, customers, payments, and admin stats
- Added OrdersTable, CustomersTable, PaymentsTable components with search, filters, and formatting
- Updated App routing to include admin route
- Extended Supabase schema with customers and payments tables and relations; added RLS policies and admin views support
X-Lovable-Edit-ID: edt-eafb0967-e55e-46c4-a963-9fdfd9476d83
Introduced a new Supabase orders table with fields for order details, added RLS policies, and a trigger to update timestamps. Updated generated types to include full CRUD shape for orders.
X-Lovable-Edit-ID: edt-53ec8b01-5fdb-4c55-85a1-62b1000f26a4
Set account dropdown width to match trigger by using CSS variable for width in AccountMenu.tsx, ensuring the menu is as wide as the "Mitt konto" button.
X-Lovable-Edit-ID: edt-448ad83f-d041-4eec-97e7-a9eb482c4905
Adjusts AccountMenu dropdown: convert signup/login items to full-width buttons with consistent padding, removing inner wrapping and making both options render as full-width clickable buttons for better alignment.
X-Lovable-Edit-ID: edt-5043d30e-399e-4c35-9003-a479de35e7b0
Lagt till abonnemangssektion i kontosidan som hämtar data via Shopify, visning av laddning state, och knapp för att beställa abonnemang. Sektionen renderas under kontoinnehållet och scrollar till abonnemang vid knapptryck.
X-Lovable-Edit-ID: edt-71c05e59-98b2-498a-96fe-91bdd4836387
shortened footer padding and typography, reduced logo size, and tighter spacing in Footer.tsx to compress layout while preserving content.
X-Lovable-Edit-ID: edt-77695aad-a64f-49c9-96f7-b1f64756ee84
Added Instagram and TikTok icons in Footer.tsx with handle @konditorivaror, including a custom TikTok SVG, and updated layout to display them alongside the logo.
X-Lovable-Edit-ID: edt-a8610430-db76-4f5b-b42e-4ad2ece4be10
Increase logo height in footer for larger display:
- Updated src/components/Footer.tsx to use h-32 md:h-44 instead of h-24 md:h-32 for the logo image.
X-Lovable-Edit-ID: edt-ec55c84b-19e6-48d2-ba78-87bc69bfc0b8
Removed the "Äkta svenskt konditorhantverk" text from the footer and cleaned up logo container by adjusting image class.
X-Lovable-Edit-ID: edt-06f983eb-95a6-4078-b001-37dbd1edd41e
Removed the "Om konditoriet" link from the footer links section. Updated footer to only show “Vårt sortiment” and “Kontakta oss.”
X-Lovable-Edit-ID: edt-4d31e989-48ff-477e-b760-f7d67560bf83
Implemented a new contact flow:
- Added contact page with form and submission to email via edge function
- Exposed /contact route and wired to header/footer
- Updated edge function to send email using Resend (fetch-based) with CORS
- Integrated form validation and user feedback
X-Lovable-Edit-ID: edt-06d16b58-a22a-447e-b6cb-4a7b4af3347b
Replace footer text with logo image and fix copyright
- Swapped textual header for logo image in footer
- Updated logo alt text and sizing
- Corrected copyright line to "Lennart Svensson Konditorivaror"
X-Lovable-Edit-ID: edt-09cdb42f-4ed2-4482-9a83-f782926c4408
Gör Spara ändringar-knappen beroende på om användaren gjort ändringar i Mitt konto-sidan. Lades till originalProfile state för att jämföra med nuvarande värden, uppdaterade fetch-logik att spara originalprofil och visa Save-knappen endast när ändringar finns.
X-Lovable-Edit-ID: edt-4c28a1c2-8950-4a99-88a6-b1d5f54ff4ef
Changed HeroSection start button to link to abonnemang section (#abonnemang) instead of plans (#plans) to ensure navigation to subscription area.
X-Lovable-Edit-ID: edt-8df3264b-7991-40cf-a0b5-66d4b264015e
Anpassa mobilgränssnittet: minskad textstorlek och mindre kort på plansektionen. Uppdaterade PlansSection.tsx så att:
- Sectionen har mindre padding och mindre rubrik/textstorlek på små skärmar.
- Kortens innehåll och rubriker skalas ned (mindre fontstorlek och marginaler).
- Pris, axel-andel och funktioner visas i kompakt format på mobilen.
- CTA-knappen reducerad padding och textstorlek för bättre passform.
X-Lovable-Edit-ID: edt-4a9b67b5-7847-45c3-b1a8-65a8bd338666
Adjust PlansSection grid to show 3 columns on mobile with smaller gaps for tablet/desktop alignment, so subscriptions and images appear side-by-side on mobile.
X-Lovable-Edit-ID: edt-6fc75a02-2705-41f6-a8a0-ad38ed4bb53e
Changed footer: "Lennart Svenssons" to "Lennart Svensson" and removed "Allmänna villkor" link from footer.
X-Lovable-Edit-ID: edt-95d89159-a96f-4cb0-8be3-0fc9c57a0234
Redirect after save now passes justSaved flag; AccountConfirmation adapts heading and content based on whether user just saved or viewing existing data, and uses location state to show appropriate messages. Also adjust back link text and icon usage to reflect new behavior.
X-Lovable-Edit-ID: edt-b7c82fa3-77f1-43a5-b01f-b5e1fafcdb35
Changed PlansSection section id from plans to abonnemang to support in-page navigation from account confirmation.
X-Lovable-Edit-ID: edt-b42457a8-0745-49c6-8086-9cd1b6be92fb
Implemented navigation to a new account confirmation flow that now displays:
- User address details from profile (street, postal, city)
- A subscription section with status and action to order
- Back to account link and navigation tweaks
Also added loading state handling and protected routing for authenticated users.
X-Lovable-Edit-ID: edt-42d4e7d6-3c3c-4e7a-bdd4-87fddcaf54df