Commit Graph

396 Commits

Author SHA1 Message Date
gpt-engineer-app[bot] 81f9f9ffd7 Changes 2026-01-28 12:45:10 +00:00
gpt-engineer-app[bot] 713d69c374 Lagt till FAQ-sida och länk
Implemented a new FAQ page with accordion questions and added a footer link next to Kontakta oss. Also wired up a new /faq route and created the FAQ page component.

X-Lovable-Edit-ID: edt-041f40a4-fe8f-4904-b145-39f6f1139b9f
2026-01-28 12:40:30 +00:00
gpt-engineer-app[bot] 0e160c488d Changes 2026-01-28 12:40:29 +00:00
gpt-engineer-app[bot] 24d23a6981 Extend hero height
Made hero section taller by increasing min-h-[85vh], extending the background image area.

X-Lovable-Edit-ID: edt-2330d7bc-1e13-4d02-a0b7-b2929e94235b
2026-01-28 00:38:18 +00:00
gpt-engineer-app[bot] e375ed265c Changes 2026-01-28 00:38:17 +00:00
gpt-engineer-app[bot] cab71bb4a7 Extend hero fade start
Adjusted hero background mask to start fading at 70% instead of 50%, delaying the transition to the beige background for a tighter content gap.

X-Lovable-Edit-ID: edt-f8e2e6b3-8512-49f7-977a-1f087ec63a3d
2026-01-28 00:37:15 +00:00
gpt-engineer-app[bot] 774bf9d2a1 Changes 2026-01-28 00:37:14 +00:00
gpt-engineer-app[bot] 67d0ee4fa3 Adjust heritage section bg
Changed HeritageSection background from bg-secondary/30 to match main background (bg-background) for seamless transition.

X-Lovable-Edit-ID: edt-4c3ef013-86b6-4f0a-8c4d-e14a0b5c765d
2026-01-28 00:35:42 +00:00
gpt-engineer-app[bot] dd6bc7356e Changes 2026-01-28 00:35:42 +00:00
gpt-engineer-app[bot] 3aeed689c1 Seamless hero blend
Updated HeroSection.tsx to blend background image more seamlessly by:
- Replacing separate fade-out gradient with a masked background image
- Applying lower opacity and gradient mask to the hero image container
- Simplifying section padding to avoid gaps and ensure smooth transition into the next section

X-Lovable-Edit-ID: edt-b1c97920-4cd3-4262-b02e-9729a306cd67
2026-01-28 00:34:40 +00:00
gpt-engineer-app[bot] d80ec21f16 Changes 2026-01-28 00:34:40 +00:00
gpt-engineer-app[bot] ab9a84bd24 Seamless fade gradient
Updated HeroSection gradient to blend exactly with background color for a seamless seam. Replaced previous gradient with a bottom fade using linear-gradient to match hsl(38 25% 96%), ensuring no visible line.

X-Lovable-Edit-ID: edt-d165db1f-31e0-4b92-a7f3-c9bbc6b5822e
2026-01-28 00:33:40 +00:00
gpt-engineer-app[bot] c352d9ade8 Changes 2026-01-28 00:33:40 +00:00
gpt-engineer-app[bot] 7cc2dadef1 Adjust hero fade gradient
Made the bottom fade less strong and shift to fade into beige by updating the gradient to be more subtle: from transparent to beige via a transparent midpoint, instead of a semi-opaque beige.

X-Lovable-Edit-ID: edt-07ae462b-3413-4a91-bbc5-1f3f2bae30b3
2026-01-28 00:32:36 +00:00
gpt-engineer-app[bot] 73d7c5d4e2 Changes 2026-01-28 00:32:35 +00:00
gpt-engineer-app[bot] cfb4adc1f9 Strengthened hero fade-out
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
2026-01-28 00:31:13 +00:00
gpt-engineer-app[bot] 03780ce668 Changes 2026-01-28 00:31:12 +00:00
gpt-engineer-app[bot] 53b29863fb Fade hero gradient bottom
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
2026-01-28 00:30:22 +00:00
gpt-engineer-app[bot] e9e9dd097e Changes 2026-01-28 00:30:21 +00:00
gpt-engineer-app[bot] 8d0a8bfb50 Admin dashboard backend built
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
2026-01-28 00:26:48 +00:00
gpt-engineer-app[bot] 3ce5a730d5 Changes 2026-01-28 00:26:48 +00:00
gpt-engineer-app[bot] 80a60bf8d4 Add orders table in backend
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
2026-01-28 00:22:53 +00:00
gpt-engineer-app[bot] 793d0e9a01 Changes 2026-01-28 00:22:52 +00:00
gpt-engineer-app[bot] a32e44a789 Align dropdown to button width
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
2026-01-28 00:18:47 +00:00
gpt-engineer-app[bot] 9438a39bef Changes 2026-01-28 00:18:47 +00:00
gpt-engineer-app[bot] 32b8c225a4 Align account menu items
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
2026-01-28 00:18:11 +00:00
gpt-engineer-app[bot] a6f56b83c6 Changes 2026-01-28 00:18:10 +00:00
gpt-engineer-app[bot] 706f8717ed Visa abonnemang på kontosida
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
2026-01-28 00:15:50 +00:00
gpt-engineer-app[bot] 9a6534ce17 Changes 2026-01-28 00:15:49 +00:00
gpt-engineer-app[bot] 81ec27a2d8 Make footer more compact
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
2026-01-28 00:13:09 +00:00
gpt-engineer-app[bot] 650e73c7cb Changes 2026-01-28 00:13:08 +00:00
gpt-engineer-app[bot] bcf68fdce2 Make header logo link home
Updated header logo link to navigate to the homepage ("/") when clicked.

X-Lovable-Edit-ID: edt-b0be46cf-44fc-4f6a-bbc0-6021a248d21f
2026-01-28 00:12:29 +00:00
gpt-engineer-app[bot] e4729a07a6 Changes 2026-01-28 00:12:28 +00:00
gpt-engineer-app[bot] 710492314c Add social icons to footer
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
2026-01-28 00:12:06 +00:00
gpt-engineer-app[bot] f352c66a6f Changes 2026-01-28 00:12:06 +00:00
gpt-engineer-app[bot] 0df9fe3437 Bump footer logo size
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
2026-01-28 00:10:40 +00:00
gpt-engineer-app[bot] c3541dcc47 Changes 2026-01-28 00:10:40 +00:00
gpt-engineer-app[bot] b67d037e53 Visual edit in Lovable
Edited UI in Lovable
2026-01-28 00:08:24 +00:00
gpt-engineer-app[bot] dcf39d9c78 Remove tagline from footer
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
2026-01-28 00:08:11 +00:00
gpt-engineer-app[bot] 65867f5506 Changes 2026-01-28 00:08:10 +00:00
gpt-engineer-app[bot] d9491fa007 Remove om konditoriet link
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
2026-01-28 00:07:47 +00:00
gpt-engineer-app[bot] de557fc53c Changes 2026-01-28 00:07:46 +00:00
gpt-engineer-app[bot] 1847d08200 Add contact form page
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
2026-01-28 00:07:21 +00:00
gpt-engineer-app[bot] f903d47874 Changes 2026-01-28 00:07:21 +00:00
gpt-engineer-app[bot] ca0d8dcd8d Byt till logga i footer
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
2026-01-28 00:05:29 +00:00
gpt-engineer-app[bot] bcd0f4a851 Changes 2026-01-28 00:05:28 +00:00
gpt-engineer-app[bot] 1495663cb2 Make Save button conditional
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
2026-01-28 00:03:20 +00:00
gpt-engineer-app[bot] ee02801b54 Changes 2026-01-28 00:03:19 +00:00
gpt-engineer-app[bot] d8188f6f2c Fix start subscription link
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
2026-01-28 00:01:10 +00:00
gpt-engineer-app[bot] 9ea06e9391 Changes 2026-01-28 00:01:09 +00:00