Uppdaterade abonnemangsnivåer
Removed featured badge, lagt till anställd-rekommendation, uppdaterat betalningstext till "Betala direkt eller med Klarna" och ersatt tidigare kontantrelaterad fras. Fick även enklare UI utan plan-funktioner för-special. X-Lovable-Edit-ID: edt-6c817c33-adac-4afe-abdd-c392f1cc0df8
This commit is contained in:
@@ -5,34 +5,34 @@ const plans = [
|
|||||||
name: "Lilla",
|
name: "Lilla",
|
||||||
kgPerWeek: "3 kg",
|
kgPerWeek: "3 kg",
|
||||||
priceWeekExclVat: "1 350",
|
priceWeekExclVat: "1 350",
|
||||||
|
employeeRecommendation: "1–10 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: "10–25 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>
|
||||||
|
|||||||
Reference in New Issue
Block a user