From 9a62e033cc7e86dc78b8d720ea02d2b1a7edebc6 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 8 Jun 2026 13:09:32 +0000 Subject: [PATCH] Bob AI: Added 3D hover effects to metrics cards --- src/pages/HomePage/sections/Metrics.tsx | 115 ++++++++++++++++++------ 1 file changed, 89 insertions(+), 26 deletions(-) diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx index 5defa55..64d2fa6 100644 --- a/src/pages/HomePage/sections/Metrics.tsx +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -1,32 +1,95 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "metrics" section. +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import { Users, Award, Cake } from 'lucide-react'; +import type { LucideIcon } from "lucide-react"; +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 { resolveIcon } from "@/utils/resolve-icon"; -import React from 'react'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import { Award, Cake, Heart, Truck, Users, Wheat } from "lucide-react"; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const metrics = [ + { + icon: Users, + title: "Happy Customers", + value: "10,000+" + }, + { + icon: Award, + title: "Years Baking", + value: "15+" + }, + { + icon: Cake, + title: "Items Baked Daily", + value: "500+" + } +]; -export default function MetricsSection(): React.JSX.Element { - return ( -
- - ( +
+
+
+
+

{"Our Impact"}

+
+ + - + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )}
+ + + + {metrics.map((metric) => { + const IconComponent = resolveIcon(metric.icon); + return ( +
+
+
+ +
+ {metric.title} +
+ {metric.value} +
+ ); + })} +
+
+
+
+); + +export default function MetricsSection() { + return ( +
+ +
); } -- 2.49.1