From b23ae7945ef34905ee7a8b64c0a92e52e25ebc6e Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 25 May 2026 14:02:16 +0000 Subject: [PATCH] Added 3D and shadow styles to the 'Pro' package button in the pricing section. --- src/pages/HomePage.tsx | 113 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 108 insertions(+), 5 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 549146b..60a69fd 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,14 +1,117 @@ import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; -import PricingHighlightedCards from '@/components/sections/pricing/PricingHighlightedCards'; import FeaturesMarqueeCards from '@/components/sections/features/FeaturesMarqueeCards'; import HeroTiltedCards from '@/components/sections/hero/HeroTiltedCards'; import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; import TestimonialMetricsCards from '@/components/sections/testimonial/TestimonialMetricsCards'; -import { BarChart2, Sparkles, TrendingUp } from "lucide-react"; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; -import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia"; +import { BarChart2, Sparkles, TrendingUp, Check } from 'lucide-react'; +import SectionErrorBoundary from '@/components/ui/SectionErrorBoundary'; +import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import Button from '@/components/ui/Button'; +import TextAnimation from '@/components/ui/TextAnimation'; +import GridOrCarousel from '@/components/ui/GridOrCarousel'; +import ScrollReveal from '@/components/ui/ScrollReveal'; +import { cls } from '@/lib/utils'; + +// ── Inlined from src/components/sections/pricing/PricingHighlightedCards.tsx (was ) +// You can now edit InlinedPricingHighlightedCards freely below — it is a local copy and +// will not affect any other page that imports the original PricingHighlightedCards. +type PricingPlan = { + tag: string; + price: string; + description: string; + features: string[]; + highlight?: string; + primaryButton: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; +}; + +const InlinedPricingHighlightedCards = ({ + tag, + title, + description, + primaryButton, + secondaryButton, + plans, +}: { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + plans: PricingPlan[]; +}) => ( +
+
+
+
+

{tag}

+
+ + + + + + {(primaryButton || secondaryButton) && ( +
+ {primaryButton &&
+ )} +
+ + + + {plans.map((plan) => ( +
+
+ {plan.highlight || "placeholder"} +
+ +
+
+ {plan.price} + {plan.tag} +
+ +
+ +
+ {plan.features.map((feature) => ( +
+
+ +
+ {feature} +
+ ))} +
+ +
+
+
+
+ ))} + + +
+
+); export default function HomePage() { return ( @@ -248,7 +351,7 @@ export default function HomePage() {
-