From 8fbbc940249bfb0ba3014732698aa2448642cc9c Mon Sep 17 00:00:00 2001 From: "diana.dolgolyova" Date: Tue, 10 Mar 2026 19:58:43 +0300 Subject: [PATCH] feat: redesign pricing section with card grid, featured unlimited plan - Subscription cards in responsive grid (1/2/3 cols) - Popular badge with sparkle floating above first card - Unlimited plan as featured card with glitter border and crown icon - Rental items as individual rounded cards - Rules in numbered card layout Co-Authored-By: Claude Opus 4.6 --- src/components/sections/Pricing.tsx | 134 ++++++++++++++++++---------- 1 file changed, 85 insertions(+), 49 deletions(-) diff --git a/src/components/sections/Pricing.tsx b/src/components/sections/Pricing.tsx index fb85d32..6938f36 100644 --- a/src/components/sections/Pricing.tsx +++ b/src/components/sections/Pricing.tsx @@ -1,7 +1,7 @@ "use client"; import { useState } from "react"; -import { CreditCard, Building2, ScrollText } from "lucide-react"; +import { CreditCard, Building2, ScrollText, Crown, Sparkles } from "lucide-react"; import { siteContent } from "@/data/content"; import { SectionHeading } from "@/components/ui/SectionHeading"; import { Reveal } from "@/components/ui/Reveal"; @@ -18,6 +18,10 @@ export function Pricing() { { id: "rules", label: "Правила", icon: }, ]; + // Split items: regular + unlimited (last item) + const regularItems = pricing.items.slice(0, -1); + const unlimitedItem = pricing.items[pricing.items.length - 1]; + return (
@@ -33,7 +37,7 @@ export function Pricing() {