From 2f93f2b25db25bd76d3898e648bd74d0b2db9d45 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 12 Jul 2026 13:43:05 +0000 Subject: [PATCH] Changes Co-authored-by: wolfoftyreso-debug <250630591+wolfoftyreso-debug@users.noreply.github.com> --- src/components/PlansSection.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/PlansSection.tsx b/src/components/PlansSection.tsx index 6ae1926..e1bc3d4 100644 --- a/src/components/PlansSection.tsx +++ b/src/components/PlansSection.tsx @@ -1,11 +1,22 @@ import { useState, useMemo, useEffect } from "react"; -import { Loader2, CheckCircle2, CreditCard, FileText } from "lucide-react"; +import { Loader2, CheckCircle2, CreditCard, FileText, ChevronsUpDown, Check } from "lucide-react"; import { supabase } from "@/integrations/supabase/client"; import { useAuth } from "@/hooks/useAuth"; import { toast } from "sonner"; import { z } from "zod"; import { StripeEmbeddedCheckout } from "@/components/StripeEmbeddedCheckout"; import { getStripeEnvironment, hasPaymentsConfigured } from "@/lib/stripe"; +import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"; +import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "@/components/ui/command"; +import { cn } from "@/lib/utils"; + +const STORSTOCKHOLM_CITIES = [ + "Stockholm", "Solna", "Sundbyberg", "Nacka", "Lidingö", "Danderyd", + "Täby", "Sollentuna", "Järfälla", "Upplands Väsby", "Sigtuna", + "Vallentuna", "Österåker", "Vaxholm", "Värmdö", "Tyresö", "Haninge", + "Nynäshamn", "Botkyrka", "Salem", "Södertälje", "Nykvarn", "Huddinge", + "Bromma", "Ekerö", "Upplands-Bro", +]; const PRICE_PER_KG_EXKL = 325; // exkl. moms, används för Stripe/faktura const VAT_RATE = 0.25;