This commit is contained in:
gpt-engineer-app[bot]
2026-01-27 19:52:33 +00:00
parent c23b0955b0
commit 53cc3b3a23
+11 -22
View File
@@ -5,34 +5,34 @@ const plans = [
name: "Lilla", name: "Lilla",
kgPerWeek: "3 kg", kgPerWeek: "3 kg",
priceWeekExclVat: "1 350", priceWeekExclVat: "1 350",
employeeRecommendation: "110 anställda",
features: [ features: [
"3 kg kakor per vecka", "3 kg kakor per vecka",
"Veckoleverans", "Veckoleverans",
"Kortbetalning", "Betala direkt eller med Klarna",
], ],
featured: false,
}, },
{ {
name: "Mellan", name: "Mellan",
kgPerWeek: "5 kg", kgPerWeek: "5 kg",
priceWeekExclVat: "2 250", priceWeekExclVat: "2 250",
employeeRecommendation: "1025 anställda",
features: [ features: [
"5 kg kakor per vecka", "5 kg kakor per vecka",
"Veckoleverans", "Veckoleverans",
"Kortbetalning", "Betala direkt eller med Klarna",
], ],
featured: true,
}, },
{ {
name: "Stora", name: "Stora",
kgPerWeek: "10 kg", kgPerWeek: "10 kg",
priceWeekExclVat: "4 500", priceWeekExclVat: "4 500",
employeeRecommendation: "25+ anställda",
features: [ features: [
"10 kg kakor per vecka", "10 kg kakor per vecka",
"Veckoleverans", "Veckoleverans",
"Kortbetalning", "Betala direkt eller med Klarna",
], ],
featured: false,
}, },
]; ];
@@ -58,18 +58,8 @@ const PlansSection = () => {
{plans.map((plan, index) => ( {plans.map((plan, index) => (
<div <div
key={index} key={index}
className={`relative bg-card p-8 card-classic rounded-sm ${ className="relative bg-card p-8 card-classic rounded-sm"
plan.featured ? "border-2 border-primary" : ""
}`}
> >
{plan.featured && (
<div className="absolute -top-3 left-1/2 -translate-x-1/2">
<span className="bg-primary text-primary-foreground px-4 py-1 text-sm font-semibold rounded-sm">
Rekommenderad
</span>
</div>
)}
{/* Plan header */} {/* Plan header */}
<div className="text-center mb-6 pb-6 border-b border-border"> <div className="text-center mb-6 pb-6 border-b border-border">
<p className="text-muted-foreground text-sm uppercase tracking-wider mb-1"> <p className="text-muted-foreground text-sm uppercase tracking-wider mb-1">
@@ -78,6 +68,9 @@ const PlansSection = () => {
<h3 className="font-display text-3xl font-semibold text-foreground"> <h3 className="font-display text-3xl font-semibold text-foreground">
{plan.name} {plan.name}
</h3> </h3>
<p className="text-muted-foreground text-sm mt-2">
Rekommenderas för {plan.employeeRecommendation}
</p>
</div> </div>
{/* Price info */} {/* Price info */}
@@ -106,11 +99,7 @@ const PlansSection = () => {
{/* CTA Button */} {/* CTA Button */}
<a <a
href="#" href="#"
className={`block text-center py-3 px-6 rounded-sm font-semibold transition-all duration-300 ${ className="block text-center py-3 px-6 rounded-sm font-semibold transition-all duration-300 btn-classic"
plan.featured
? "btn-classic"
: "btn-outline-classic"
}`}
> >
Välj abonnemang Välj abonnemang
</a> </a>