From ec76d3912cd69e6d6cfc7db8fa3e3187eb8a46fd Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 8 Jun 2026 10:29:15 +0000 Subject: [PATCH] Switch to version 1: remove src/pages/HomePage/sections/About.tsx --- src/pages/HomePage/sections/About.tsx | 95 --------------------------- 1 file changed, 95 deletions(-) delete mode 100644 src/pages/HomePage/sections/About.tsx diff --git a/src/pages/HomePage/sections/About.tsx b/src/pages/HomePage/sections/About.tsx deleted file mode 100644 index be308ae..0000000 --- a/src/pages/HomePage/sections/About.tsx +++ /dev/null @@ -1,95 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import { Wheat, Heart, Truck, Clock } from "lucide-react"; -import Tag from "@/components/ui/Tag"; -import ImageOrVideo from "@/components/ui/ImageOrVideo"; -import ScrollReveal from "@/components/ui/ScrollReveal"; - -export default function AboutSection() { - const [timeLeft, setTimeLeft] = useState(5 * 60); - - useEffect(() => { - const timer = setInterval(() => { - setTimeLeft((prev) => (prev > 0 ? prev - 1 : 0)); - }, 1000); - return () => clearInterval(timer); - }, []); - - const minutes = Math.floor(timeLeft / 60); - const seconds = timeLeft % 60; - - return ( -
-
-
- -
- -
- -
-

- Crafting Joy, One Bake at a Time -

-

- At Sweet Delights Bakery, we believe in the magic of fresh ingredients and traditional techniques. Every pastry, cake, and bread is baked with passion and precision, ensuring a delightful experience with every bite. From our family kitchen to your table, we bring you the taste of homemade perfection. -

-
- -
- {[ - { - icon: Wheat, - title: "Premium Ingredients", - description: "Sourced locally and globally for the finest quality and flavor." - }, - { - icon: Heart, - title: "Handcrafted with Love", - description: "Each item is carefully prepared by our skilled bakers." - }, - { - icon: Truck, - title: "Convenient Delivery", - description: "Freshness brought directly to your home or office." - } - ].map((item, idx) => ( -
-
- -
-
-

{item.title}

-

{item.description}

-
-
- ))} -
-
- - -
- - - {/* Countdown Timer Overlay */} -
-
- - Today's Offer Ends -
-
- {String(minutes).padStart(2, '0')}:{String(seconds).padStart(2, '0')} -
- -
-
-
-
-
-
- ); -}