Commit Graph

386 Commits

Author SHA1 Message Date
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
gpt-engineer-app[bot] 241cfd6f36 Smått på мобил-planerna
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
2026-01-28 00:00:38 +00:00
gpt-engineer-app[bot] 64b51468b3 Changes 2026-01-28 00:00:37 +00:00
gpt-engineer-app[bot] 4e93aa8644 Make plans responsive mobile
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
2026-01-27 23:59:24 +00:00
gpt-engineer-app[bot] e8adc191b6 Changes 2026-01-27 23:59:24 +00:00
gpt-engineer-app[bot] 2a204bac5c Hide scrollbar on page
Removed visible scrollbar across browsers by adding CSS to hide scrollbar (Firefox, IE/Edge, WebKit) while preserving scroll functionality. Updated src/index.css accordingly.

X-Lovable-Edit-ID: edt-7f8ddf69-2219-44a8-bada-d03e11f1b84a
2026-01-27 23:58:43 +00:00
gpt-engineer-app[bot] 20c26e197e Changes 2026-01-27 23:58:42 +00:00
gpt-engineer-app[bot] f95c79a8a3 Fix footer text and links
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
2026-01-27 23:43:22 +00:00
gpt-engineer-app[bot] 52179e5377 Changes 2026-01-27 23:43:22 +00:00
gpt-engineer-app[bot] e0e19b0d59 Enhance account confirmation flow
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
2026-01-27 23:24:05 +00:00
gpt-engineer-app[bot] 5e6ae3653a Changes 2026-01-27 23:24:05 +00:00