Changed Stor plan to cost 4000 kr per week by updating:
- AbonnemangCheckout.tsx: pricePerKg for Stor to 400
- PlansSection.tsx: Stor priceWeekExclVat to 4 000 kr
- AbonnemangForm.tsx: Stor display updated to 4 000 kr
Also updated related display values to reflect new weekly price.
X-Lovable-Edit-ID: edt-76f108ac-aa0b-4efe-8bab-fcdb4ae291c8
Co-authored-by: wolfoftyreso-debug <250630591+wolfoftyreso-debug@users.noreply.github.com>
Changed the AI email prompt to remove reference to 1974, removing the sentence "sedan 1974" from the generated emails. This updates the edge function to avoid outdated branding cues.
X-Lovable-Edit-ID: edt-07e35830-62ea-4a07-b6d1-629273a9c3a7
Changed email generation to sign off with "Med vänliga hälsningar, Lennart Svenssons Konditorivaror" and removed placeholder "(ditt namn)"; updated system prompt to reflect sender details and permanent signature.
X-Lovable-Edit-ID: edt-c7eb027b-3504-4c71-b527-ffe455a54aa0
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