Commit Graph

623 Commits

Author SHA1 Message Date
gpt-engineer-app[bot] afb703314f Changes 2026-01-27 23:17:43 +00:00
gpt-engineer-app[bot] a858b0c525 Rensade kontofältet för epost
Fjorde fältet Företagsnamn och behöll endast e-post och leveransadress på kontosidan. Användarens e-post visas (ensatt, ej redigerbart) och uppdateringsflödet justerat att endast spara adress.

X-Lovable-Edit-ID: edt-4be49567-5c4f-4f2c-9b1c-064db1544996
2026-01-27 23:16:58 +00:00
gpt-engineer-app[bot] a3287359a7 Changes 2026-01-27 23:16:57 +00:00
gpt-engineer-app[bot] 4afd8e2ef8 Uppdaterade konto flow
Lade till nya kontosida som sparar och visar företagsnamn/e-post samt leveransadress. Efter sparande navigeras användaren till en bekräftelsesida (/account/confirmation). Implementerade migrationssteg för att lägga till company_name i profils-tabellen och uppdaterade Kontosidan, bekräftelsesidan och routing.

X-Lovable-Edit-ID: edt-544c3dce-903e-4036-a44e-70c5deb2d6b1
2026-01-27 23:15:48 +00:00
gpt-engineer-app[bot] 1bbf4698fb Changes 2026-01-27 23:15:47 +00:00
gpt-engineer-app[bot] c30a081f49 Add account page and save address
Implement dedicated /account page for logged-in users, wire address from subscription into profile on order, and update account menu to navigate to account when logged in. Also extend AbonnemangForm to prefill/save address to profile and update App routing accordingly. Refactor AccountMenu to direct to account and simplify logic.

X-Lovable-Edit-ID: edt-998f3ddd-0243-4847-bad7-27b351f58fc3
2026-01-27 23:08:46 +00:00
gpt-engineer-app[bot] 6a4a1f9b96 Changes 2026-01-27 23:08:46 +00:00
gpt-engineer-app[bot] 58b6ebb21c Lagd profilsida för inloggade
Implementerade profilsida där inloggade kan redigera namn, telefon och adress. Lägg till ny page Profile med fetch och update via Supabase, lägga till rutt /profile, och utöka konto-meny med snabblänk till profilen. Innehåller klientvalidering och användarfeedback.

X-Lovable-Edit-ID: edt-15d9d135-22fa-4ec1-9fc7-b44edbb667a9
2026-01-27 23:07:05 +00:00
gpt-engineer-app[bot] d6fc2e43dc Changes 2026-01-27 23:07:04 +00:00
gpt-engineer-app[bot] 0bfec68fc4 Add forgot password flow
Implements forgot-password functionality:
- UI flow in AuthDialog for forgot mode
- Backend support via Supabase resetPasswordForEmail
- New ResetPassword page to set new password
- Routing updated to include /reset-password
- Extend useAuth with resetPassword and updatePassword methods

X-Lovable-Edit-ID: edt-d0fb934c-ec67-43f4-93e8-83e18d9a258a
2026-01-27 23:05:30 +00:00
gpt-engineer-app[bot] 2ea67737c3 Changes 2026-01-27 23:05:30 +00:00
gpt-engineer-app[bot] cba635b8f9 Switched to plate images
Replaced mandelkubb.jpg, kolasnitt.jpg, and chokladsnitt.jpg imports with plate variants to bypass caching and ensure fresh previews.

X-Lovable-Edit-ID: edt-825ff711-9bfc-4534-8928-9e491967814f
2026-01-27 23:03:40 +00:00
gpt-engineer-app[bot] 58a1ae153f Changes 2026-01-27 23:03:40 +00:00
gpt-engineer-app[bot] 60cf96c567 Align signup/login items
Adjusted AccountMenu layout to align the Sign Up button with the Log In option:
- Updated container padding from px-1 py-1 to px-2 py-1.5
- Updated Sign Up button styling to match width and typography (px-2 py-1.5, text-sm, rounded-sm) and hover/focus hover bg
- Ensured consistent vertical alignment with Log In item

X-Lovable-Edit-ID: edt-c46c1dfd-a4d9-40af-9a0f-b0fba9d488f1
2026-01-27 22:54:40 +00:00
gpt-engineer-app[bot] 0246efa525 Changes 2026-01-27 22:54:40 +00:00
gpt-engineer-app[bot] 886740cff0 Make login text black on hover
Updated Logga in item to ensure text turns black on hover and focus by adding hover:!text-black and focus:!text-black styles.

X-Lovable-Edit-ID: edt-c8899314-7da7-4ff1-bd4c-bc3bafd446ca
2026-01-27 22:52:31 +00:00
gpt-engineer-app[bot] da4742a7ec Changes 2026-01-27 22:52:30 +00:00
gpt-engineer-app[bot] 14067645e4 Remove login icon and hover opacity to 30%
Removed the icon from the Logga in item and applied a 30% red hover/focus background to the Logga in option in AccountMenu.tsx.

X-Lovable-Edit-ID: edt-9d136e57-5431-49b1-9ed7-0bc90cb67335
2026-01-27 22:51:13 +00:00
gpt-engineer-app[bot] 3622a79d38 Changes 2026-01-27 22:51:12 +00:00
gpt-engineer-app[bot] 5e5e92bd97 Bolded Mitt konto button
Made Mitt konto button text bold by adding font-bold to the account menu trigger button in AccountMenu.tsx.

X-Lovable-Edit-ID: edt-e07f866d-2cf9-4efb-9fa9-592c174af1df
2026-01-27 22:50:12 +00:00
gpt-engineer-app[bot] babb3a92f8 Changes 2026-01-27 22:50:11 +00:00
gpt-engineer-app[bot] 0b73314443 Removed bold from Skapa konto button
Adjusted AccountMenu.tsx to drop the font-bold class on the sign-up button, preserving hover/focus red background behavior with rounded styling.

X-Lovable-Edit-ID: edt-6c584676-ec83-4ed1-b90f-72cacfe61da0
2026-01-27 22:49:53 +00:00
gpt-engineer-app[bot] fb0b07a55a Changes 2026-01-27 22:49:52 +00:00
gpt-engineer-app[bot] 0f5c47f693 Add red border to Mitt konto
Updated AccountMenu.tsx to give the Mitt konto button a red border and maintain hover background opacity. Specifically, added border-2 with a red-tinged hover background and explicit border color, ensuring the header button shows a red outline.

X-Lovable-Edit-ID: edt-a8610805-6251-428e-9b12-8c47ff042573
2026-01-27 22:49:34 +00:00
gpt-engineer-app[bot] 2865dcba13 Changes 2026-01-27 22:49:33 +00:00
gpt-engineer-app[bot] 3758508630 Ta bort röd ram på skapa konto
Removed the red border from the Create account button in AccountMenu.tsx by dropping the inline border style, while preserving hover/focus red translucent background.

X-Lovable-Edit-ID: edt-6b15ec75-aedf-4285-b7ae-13f170f9e673
2026-01-27 22:49:03 +00:00
gpt-engineer-app[bot] b6547552b4 Changes 2026-01-27 22:49:02 +00:00
gpt-engineer-app[bot] 6d2a8a4916 Fix red border on account signup
Applied inline red border and hover styling to the Skapa konto button:
- Replaced Tailwind border classes with an explicit 2px red border (#dc2626)
- Ensured hover/focus states use a semi-transparent red background (rgba(220,38,38,0.3))
- Adjusted to preserve button layout within AccountMenu.tsx

X-Lovable-Edit-ID: edt-e64d77b3-1ce1-4050-8b07-9e67c2684235
2026-01-27 22:48:24 +00:00
gpt-engineer-app[bot] 914957e36e Changes 2026-01-27 22:48:23 +00:00
gpt-engineer-app[bot] 65bdfcdc23 Fix signup button rendering
Replaced DropdownMenuItem for signup with a full-width button inside a padded div to ensure a visible red border frame. Hover/focus opacity preserved via hover:bg-red-600/30.

X-Lovable-Edit-ID: edt-67e0f7fb-c7fa-4955-a367-78b4f401e68c
2026-01-27 22:44:46 +00:00
gpt-engineer-app[bot] 2f4a22ae88 Changes 2026-01-27 22:44:46 +00:00
gpt-engineer-app[bot] a18e7e3409 Skapa konto hover färgändring
Updated the Sign Up menu item to apply a red background with 30% opacity on hover/focus, instead of a fully red state.

X-Lovable-Edit-ID: edt-24d53d40-0c74-45ef-8623-9310190fbf86
2026-01-27 22:43:34 +00:00
gpt-engineer-app[bot] b518a2e7e0 Changes 2026-01-27 22:43:32 +00:00
gpt-engineer-app[bot] 0f07fad9ef Red border on signup item
Updated the account menu to display a red border around the "Skapa konto" option by replacing the previous border classes with border-2 and border-red-600 for clearer emphasis.

X-Lovable-Edit-ID: edt-ebdcb8e1-4719-4314-9d31-88cde26235be
2026-01-27 22:42:43 +00:00
gpt-engineer-app[bot] cf1a54217d Changes 2026-01-27 22:42:42 +00:00
gpt-engineer-app[bot] 7469cb6def Adjust account menu visuals
Removed account icon, simplified trigger styling, and emphasized signup option with bold border in the account dropdown.

X-Lovable-Edit-ID: edt-821b61d1-1180-4d99-b6ff-1a5a0050acd3
2026-01-27 22:41:39 +00:00
gpt-engineer-app[bot] 2a13e1430c Changes 2026-01-27 22:41:39 +00:00
gpt-engineer-app[bot] 3f5fe1e2dd Add profile support and account menu
Implemented user profile data persistence:
- Added profiles table with auto-creation on signup and RLS policies
- Created Supabase migrations and config updates
- Wired authentication flow with frontend hooks (useAuth) and account menu UI
- Added AccountMenu component and AuthDialog for login/signup
- Updated header to include account menu; removed some previous nav items
- Integrated Lovable Cloud auth and profile storage across app

X-Lovable-Edit-ID: edt-a6b4f7c5-0684-48c9-ad36-c1332edcff8e
2026-01-27 22:40:17 +00:00
gpt-engineer-app[bot] 6366e23ba3 Changes 2026-01-27 22:40:17 +00:00
gpt-engineer-app[bot] d408e92588 Visual edit in Lovable
Edited UI in Lovable
2026-01-27 22:36:17 +00:00
gpt-engineer-app[bot] 6cc48e84be Reverted to commit 77e7c13b63 2026-01-27 22:35:34 +00:00
gpt-engineer-app[bot] 014d594a63 Removed header logo image
Eliminated the logo from the header by removing the anchor+img block in src/components/Header.tsx to simplify the top navigation.

X-Lovable-Edit-ID: edt-d1769964-736d-405e-8459-4d453050fe2a
2026-01-27 22:34:55 +00:00
gpt-engineer-app[bot] f4790953f2 Changes 2026-01-27 22:34:54 +00:00
gpt-engineer-app[bot] 6b690d7b78 Removed logo from hero section
Eliminated the logo image element from HeroSection.tsx (line 16), simplifying the hero by removing the logo markup and its styling.

X-Lovable-Edit-ID: edt-5d5aff44-e778-4289-af7d-9a306c1e4bbc
2026-01-27 22:34:07 +00:00
gpt-engineer-app[bot] 7b0a4aeeb3 Changes 2026-01-27 22:34:06 +00:00
gpt-engineer-app[bot] 12bf91d529 Reverted to commit 77e7c13b63 2026-01-27 22:33:15 +00:00
gpt-engineer-app[bot] 005b8322cc Reverted to commit dfc5f7557e 2026-01-27 22:32:32 +00:00
gpt-engineer-app[bot] cec4eebf1e Reverted to commit 77e7c13b63 2026-01-27 22:28:06 +00:00
gpt-engineer-app[bot] 3d43fc5f65 Reverted to commit dfc5f7557e 2026-01-27 22:27:23 +00:00
gpt-engineer-app[bot] 77e7c13b63 Remove header buttons
Hide abonnemang and Sortiment from header on desktop by removing nav links in Header.tsx, so only logo shows.

X-Lovable-Edit-ID: edt-9387f358-e025-4e7d-81ad-af813d184b55
2026-01-27 22:18:28 +00:00