Implements full research and email generation workflow:
- Added research-company edge function to perform Firecrawl-based company research and Lovable AI email generation, returning personalized email content.
- Enhanced LeadsGenerator UI to support per-lead research, show AI-generated emails, and copy email content, with a new dialog for previews.
- Wired edge function deployment and config updates, enabling generation of personalized outreach emails for selected leads.
X-Lovable-Edit-ID: edt-9738b1ad-729e-441b-8266-2bd5f79bd3b9
Implements AI-powered LeadsGenerator component and integrates into Admin with a new Leads tab. Adds edge function generate-leads to fetch Stockholm-based potential B2B customers and display in a table with company, industry, employees, district, and reason. Updates Admin page to include Leads tab and renders LeadsGenerator.
X-Lovable-Edit-ID: edt-c44d9a27-9e41-41bd-9ec5-c4acb79c4b09
Added real-time Stockholm postal code validation across AbonnemangForm and Account, with red error styling and messages indicating delivery is limited to Storstockholm. Updated schemas to enforce 10000–19999 range, and surfaced user-friendly error text.
X-Lovable-Edit-ID: edt-c9c35c3c-ea66-45eb-9ea2-ca7f2a31ccc0
Update DeliverySection descriptions to end with a period for both "Veckoleverans" and "Dagtid" texts.
X-Lovable-Edit-ID: edt-fca45e64-5604-4127-b5df-a825ae8df07f
Changed delivery section texts to be more descriptive:
- Veckoleverans: "Kakorna levereras samma dag varje vecka"
- Dagtid: "Kakorna levereras alltid under dagtid"
X-Lovable-Edit-ID: edt-23bad494-264e-41a5-8049-a99eef22cc99
Added descriptive text under Veckoleverans and Dagtid headings in delivery section to show schedules.
X-Lovable-Edit-ID: edt-40e76fe5-a08e-425e-ba5c-430e96d15a80
Updated DeliverySection.tsx to replace headings:
- Veckoleverans -> Samma dag varje vecka
- Dagtid -> Levereras under dagtid
X-Lovable-Edit-ID: edt-bc67d90f-1a6d-420a-a534-708719ba8a09
Removed the extra descriptions from Veckoleverans and Dagtid in DeliverySection, and deleted the "Alltid med fullständig nöjdhetsgaranti" line from PlansSection. Simplified headers styling accordingly.
X-Lovable-Edit-ID: edt-7f8f8ba4-4228-4ee1-890c-d43bffe479b0
Removed the section header and adjusted layout to make the Leverans area more compact. Kept three info cards with reduced padding and simplified header, aligning with updated design.
X-Lovable-Edit-ID: edt-b3a19668-d54a-4daa-bb0d-fd61c996c43b
Add validation for postnummer to allow only Storstockholm (10000-19999) in AbonnemangForm, with user-facing error and updated label placeholder.
X-Lovable-Edit-ID: edt-98663f3b-272c-468b-96e4-68d82b66e600
Removed Lennart Svensson logo from footer by eliminating the main footer image block, leaving social links and footer content intact.
X-Lovable-Edit-ID: edt-e6f82d14-901f-4753-baf3-76f6063fdfff
Removed the QualitySection component from the index page and its import, effectively deleting the "Our Promise" section from the homepage.
X-Lovable-Edit-ID: edt-872ed6fd-bd63-438b-b90d-6bd5a4c3b707
Add DeliverySection and QualitySection components and integrate into Index page to display delivery info and quality promises; update index to include new sections.
X-Lovable-Edit-ID: edt-24658770-48ea-4de2-b09a-d07f7f99d756
Eliminated all personal-name fields from checkout/forms:
- AbonnemangForm: removed kontaktperson; stop syncing to profiles
- Profile pages: removed display_name; profile fetch/update adjusted
- Updated checkout data flow to require only company information for business customers
X-Lovable-Edit-ID: edt-8f8c2c0e-9e3f-4fe5-b636-5d6de99afb59
Ensured the Stor plan keeps the amber ring visible on hover by updating hover styles to apply additional ring and shadow effects while preserving the base premium styling.
X-Lovable-Edit-ID: edt-0f382d98-218a-49bc-83ac-07e5cfcce486
Adjusted PlansSection layout to align CTAs:
- Made plan cards use flex column to ensure consistent height
- Enabled features list to flex-grow so buttons align at bottom
- Expanded features container to maintain consistent vertical spacing
- Updated CTA to always appear at bottom across cards
X-Lovable-Edit-ID: edt-b8338f1e-d38b-490d-8e50-6aaca1ac1063
Removed the long dash characters around the satisfaction guarantee, leaving plain text: "Alltid med fullständig nöjdhetsgaranti" in plans section.
X-Lovable-Edit-ID: edt-aecdd923-1610-4ea6-85e4-1cbc536046c8
Justerade nöjdhetsgarantin till gammaldags stil: tog bort ikon och ram, gjorde texten kursiv och äldre känsla. Text ändrades till “Alltid med fullständig nöjdhetsgaranti”.
X-Lovable-Edit-ID: edt-118e151c-b056-4d8d-aad3-0b18797382f2
Removed the premium badge rendering by deleting the Crown icon block and its surrounding markup in PlansSection.tsx; also dropped the import of Crown.
X-Lovable-Edit-ID: edt-4ac87afd-d3e8-46b5-bfd4-50a1524b5394
Removed exclusiveOffer from Stor plan and hid the badge rendering in PlansSection to reflect no discount offer. Also dropped Gift icon import as badge is no longer shown.
X-Lovable-Edit-ID: edt-e0d39749-1120-4906-96eb-838b6faffb43
Removed "Gratis provlåda vid start" and replaced with "Prioriterad leverans" in Stor plan features to emphasize priority delivery.
X-Lovable-Edit-ID: edt-c1ed182c-f86c-4466-ad5a-740e0ffdd845
Add gold border and exclusive offer badge for Stor plan; introduce premium styling, badges, and exclusive offer display.
X-Lovable-Edit-ID: edt-3d14c125-08ed-4a4b-90c1-2df601f710ed
Changes the Beställ action to add to cart without redirecting to checkout, updates messaging, and clarifies wording:
- Replaced direct checkout trigger with cart-based flow
- Updated comments and success toast to reflect adding to cart
- Adjusted wording from “checkout” to “order” in log and messages
X-Lovable-Edit-ID: edt-a623ef96-5223-499e-a732-f80b95dd9672