- {/* font awesome CDN */}
+ {/* Font Awesome CDN */}
-
+
{children}
- {/* Added ScrollToTop component */}
+
);
-}
\ No newline at end of file
+}
diff --git a/app/not-found.tsx b/app/not-found.tsx
index 05f589c2..fd96a89e 100644
--- a/app/not-found.tsx
+++ b/app/not-found.tsx
@@ -1,4 +1,4 @@
-"use client"; // Add this line at the top
+"use client"; // Ensure this is added at the very top
import ItemNotFound from '@/components/ui/ItemNotFound';
import { useEffect } from 'react';
@@ -6,7 +6,7 @@ import { useEffect } from 'react';
const NotFound = () => {
useEffect(() => {
const timer = setTimeout(() => {
- window.location.href = '/'; // Redirect to homepage after 2 seconds
+ window.location.href = '/'; // Redirect to homepage after 1 second
}, 1000);
return () => clearTimeout(timer); // Cleanup the timer on component unmount
diff --git a/components/Testimonials.tsx b/components/Testimonials.tsx
index 3db12f90..f3d13faa 100644
--- a/components/Testimonials.tsx
+++ b/components/Testimonials.tsx
@@ -2,17 +2,13 @@
import { Card, CardHeader, CardContent } from "./ui/card";
import Autoplay from "embla-carousel-autoplay";
-import {
- Carousel,
- CarouselContent,
- CarouselItem,
-} from "@/components/ui/carousel";
+import { Carousel, CarouselContent, CarouselItem } from "@/components/ui/carousel";
import { Quote } from "lucide-react";
import Image from "next/image";
const reviews = [
{
- text: "Managing work and kids is tough, but ezshop has been a lifesaver. I can order everything from groceries to household items without leaving home. Highly recommended!",
+ text: "Managing work and kids is tough, but Ezshop has been a lifesaver. I can order everything from groceries to household items without leaving home. Highly recommended!",
name: "Priya Nair",
role: "Mother of Two",
image: "/priya.jpg",
diff --git a/components/contactUsForm.tsx b/components/contactUsForm.tsx
index 5e932241..67dba078 100644
--- a/components/contactUsForm.tsx
+++ b/components/contactUsForm.tsx
@@ -2,26 +2,38 @@ import { Button } from "./ui/button";
import { Input } from "./ui/input";
import { Textarea } from "./ui/textarea";
-const ContactUsFrom = () => {
- return (
-
-
Have a question or need assistance?
-
-
-
-
-
-
- );
-}
-
-export default ContactUsFrom;
\ No newline at end of file
+const ContactUsForm = () => {
+ return (
+
);
};
diff --git a/components/features.tsx b/components/features.tsx
index 4d1f24f3..495eb1f8 100644
--- a/components/features.tsx
+++ b/components/features.tsx
@@ -6,64 +6,60 @@ const Features = () => {
const cardData = [
{
title: "Wide Product Selection",
- logo: ,
- decription:
- "Discover a variety of products from groceries to electronics, all in one app.",
+ logo: ,
+ description: "Discover a variety of products from groceries to electronics, all in one app.",
},
{
title: "Local & Mall-Based Stores",
- logo: ,
- decription:
- "Easily shop from your favorite local stores and top malls, all from home.",
+ logo: ,
+ description: "Easily shop from your favorite local stores and top malls, all from home.",
},
{
title: "Seamless Ordering Process",
- logo: ,
- decription:
- "Enjoy a simple and intuitive ordering system that saves you time and hassle.",
+ logo: ,
+ description: "Enjoy a simple and intuitive ordering system that saves you time and hassle.",
},
{
title: "Fast & Reliable Delivery",
- logo: ,
- decription:
- "Get your items delivered to your doorstep quickly and reliably, wherever you are.",
+ logo: ,
+ description: "Get your items delivered to your doorstep quickly and reliably, wherever you are.",
},
{
title: "Exclusive Discounts & Offers",
- logo: ,
- decription: "Unlock deals and discounts available only through EzyShop.",
+ logo: ,
+ description: "Unlock deals and discounts available only through EzyShop.",
},
{
title: "Secure Payments",
- logo: ,
- decription:
- "Shop with peace of mind, thanks to our safe and secure payment gateway.",
+ logo: ,
+ description: "Shop with peace of mind, thanks to our safe and secure payment gateway.",
},
];
-//
-return (
-