From d7220d8981d4fceeb4bc904bfb4b17420303869d Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 21:05:47 +0000 Subject: [PATCH 1/5] Update src/app/about-us/page.tsx --- src/app/about-us/page.tsx | 95 +++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 55 deletions(-) diff --git a/src/app/about-us/page.tsx b/src/app/about-us/page.tsx index 447562a..fe7b1ce 100644 --- a/src/app/about-us/page.tsx +++ b/src/app/about-us/page.tsx @@ -1,67 +1,52 @@ -"use client"; +'use client'; -import { ThemeProvider } from "next-themes"; -import { MediaAbout } from '@/components/sections/about/MediaAbout'; -import { NavbarLayoutFloatingInline } from '@/components/navbar/NavbarLayoutFloatingInline'; +import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider'; +import MediaAbout from '@/components/sections/about/MediaAbout'; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; +import Link from 'next/link'; export default function AboutUsPage() { + const navItems = [ + { name: 'Home', id: '/' }, + { name: 'About Us', id: '/about-us' }, + { name: 'Cart', id: '/cart' }, + { name: 'Contact', id: '/contact' }, + { name: 'Reviews', id: '/reviews' }, + { name: 'Dashboard', id: '/dashboard' }, + { name: 'Product Detail', id: '/product-detail' } + ]; + return ( - -
+ +
- - - - - - -
+
); } -- 2.49.1 From b9697d33de8e03af590354a0db5249df9add9ab2 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 21:05:47 +0000 Subject: [PATCH 2/5] Update src/app/cart/page.tsx --- src/app/cart/page.tsx | 101 +++++++++++------------------------------- 1 file changed, 27 insertions(+), 74 deletions(-) diff --git a/src/app/cart/page.tsx b/src/app/cart/page.tsx index d88b837..f09dd46 100644 --- a/src/app/cart/page.tsx +++ b/src/app/cart/page.tsx @@ -1,92 +1,45 @@ -"use client"; -import React from "react"; -import { ThemeProvider } from "next-themes"; +'use client'; + +import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider'; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; -import ButtonTextStagger from '@/components/button/ButtonTextStagger/ButtonTextStagger'; -import FooterMedia from '@/components/sections/footer/FooterMedia'; +import Link from 'next/link'; export default function CartPage() { const navItems = [ - { name: "Home", id: "/" }, - { name: "Cart", id: "/cart" }, - { name: "Checkout", id: "/checkout" } + { name: 'Home', id: '/' }, + { name: 'About Us', id: '/about-us' }, + { name: 'Cart', id: '/cart' }, + { name: 'Contact', id: '/contact' }, + { name: 'Reviews', id: '/reviews' }, + { name: 'Dashboard', id: '/dashboard' }, + { name: 'Product Detail', id: '/product-detail' } ]; return ( - -
-
-

Your Shopping Cart

-
-
- {/* Placeholder for cart items */} -
-
- Product 1 -
-

Stylish Sneaker

-

Quantity: 1

-
-
-

$99.00

-
-
-
- Product 2 -
-

Designer Watch

-

Quantity: 1

-
-
-

$149.00

-
-
-
-

Total:

-

$248.00

-
-
- -
-
-
-
- + +
+

Your Shopping Cart

+

Your cart is currently empty.

+
); } -- 2.49.1 From 9eb42639b7c3b0dd9c6c6f2bee77abf520219efd Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 21:05:47 +0000 Subject: [PATCH 3/5] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 154 ++++++++++++++------------------------- 1 file changed, 55 insertions(+), 99 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 6c19f9d..93670fd 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -1,117 +1,73 @@ -"use client"; +'use client'; -import type { Metadata } from "next"; -import { ThemeProvider } from "next-themes"; -import { NavbarStyleCentered } from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; -import { ContactForm } from "@/components/form/ContactForm"; -import { FaqSplitText } from "@/components/sections/faq/FaqSplitText"; -import { ContactText } from "@/components/sections/contact/ContactText"; - -export const metadata: Metadata = { - title: "Contact Us | Webild", description: "Get in touch with Webild. Send us a message, find our phone number, email, office address, and view frequently asked questions.", keywords: ["contact", "Webild", "support", "email", "phone", "address", "FAQ"], - metadataBase: new URL("https://www.webild.com"), - alternates: { - canonical: "/contact" - }, - openGraph: { - title: "Contact Us | Webild", description: "Get in touch with Webild. Send us a message, find our phone number, email, office address, and view frequently asked questions.", url: "https://www.webild.com/contact", siteName: "Webild", type: "website" - }, - twitter: { - card: "summary_large_image", title: "Contact Us | Webild", description: "Get in touch with Webild. Send us a message, find our phone number, email, office address, and view frequently asked questions." - }, - robots: { - index: true, - follow: true - } -}; +import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider'; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import ContactForm from '@/components/form/ContactForm'; +import FaqSplitText from '@/components/sections/faq/FaqSplitText'; +import ContactText from '@/components/sections/contact/ContactText'; +import Link from 'next/link'; export default function ContactPage() { const navItems = [ - { name: "Home", id: "/" }, - { name: "Contact", id: "/contact" } - ]; - - const contactInfoText = ` -

Reach Out to Us

-

We're here to help! Whether you have a question about our products, need assistance, or just want to give us feedback, feel free to reach out. We're dedicated to providing the best possible service.

-
-

Contact Details

-

Phone: +1 (555) 123-4567

-

Email: support@yourcompany.com

-

Office Address: 123 Main Street, Suite 400, Anytown, CA 90210, USA

-
-

Our team is available Monday to Friday, 9 AM - 5 PM EST.

- `; - - const faqs = [ - { - id: "faq1", title: "What are your business hours?", content: "Our customer service team is available Monday to Friday, from 9 AM to 5 PM EST. You can reach us by phone or email during these hours." - }, - { - id: "faq2", title: "How can I track my order?", content: "Once your order has shipped, you will receive an email with a tracking number. You can use this number on our website's 'Track Order' page or the carrier's website." - }, - { - id: "faq3", title: "What is your return policy?", content: "We offer a 30-day return policy for most items. Items must be in new, unused condition with original packaging. Please visit our Returns & Refunds page for full details." - }, - { - id: "faq4", title: "Do you offer international shipping?", content: "Yes, we ship to many countries worldwide. Shipping costs and delivery times vary by destination. Please see our Shipping Information page for more details." - }, - { - id: "faq5", title: "How can I change or cancel my order?", content: "If you need to change or cancel your order, please contact us as soon as possible. We will do our best to accommodate your request, but changes may not be possible if the order has already been processed or shipped." - } + { name: 'Home', id: '/' }, + { name: 'About Us', id: '/about-us' }, + { name: 'Cart', id: '/cart' }, + { name: 'Contact', id: '/contact' }, + { name: 'Reviews', id: '/reviews' }, + { name: 'Dashboard', id: '/dashboard' }, + { name: 'Product Detail', id: '/product-detail' } ]; return ( - - -
-
- -
- -
- -
- -
- -
-
+ +
+ console.log(data)} + /> +
+
+ +
+
+ +
); } -- 2.49.1 From df2dfed6b8a784bc793e49b21ac860c74a1d514b Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 21:05:48 +0000 Subject: [PATCH 4/5] Update src/app/dashboard/page.tsx --- src/app/dashboard/page.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index c982248..ae02489 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -9,7 +9,12 @@ import { Package, Heart, Home, Settings, CreditCard, Bell, LifeBuoy } from 'luci export default function DashboardPage() { const navItems = [ { name: 'Home', id: '/' }, - { name: 'Dashboard', id: '/dashboard' } + { name: 'Dashboard', id: '/dashboard' }, + { name: 'About Us', id: '/about-us' }, + { name: 'Cart', id: '/cart' }, + { name: 'Contact', id: '/contact' }, + { name: 'Reviews', id: '/reviews' }, + { name: 'Product Detail', id: '/product-detail' } ]; return ( @@ -25,7 +30,9 @@ export default function DashboardPage() { secondaryButtonStyle="glass" headingFontWeight="bold" > - +

User Dashboard

-- 2.49.1 From 72ee05cc09f1157cd16393289aa2e606d3fd16cc Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 21:05:48 +0000 Subject: [PATCH 5/5] Update src/app/reviews/page.tsx --- src/app/reviews/page.tsx | 230 ++++++++++----------------------------- 1 file changed, 58 insertions(+), 172 deletions(-) diff --git a/src/app/reviews/page.tsx b/src/app/reviews/page.tsx index ccb6078..c319678 100644 --- a/src/app/reviews/page.tsx +++ b/src/app/reviews/page.tsx @@ -1,189 +1,75 @@ -"use client"; -import React, { useState, useMemo } from 'react'; -import { ThemeProvider } from '@/components/ThemeProvider'; -import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +'use client'; + +import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider'; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen'; -import Input from '@/components/form/Input'; -import ButtonTextUnderline from '@/components/button/ButtonTextUnderline'; - -// Dummy data generation -const generateReviews = (count: number) => { - const reviews = []; - const names = ["Alice", "Bob", "Charlie", "Diana", "Eve", "Frank", "Grace", "Heidi", "Ivan", "Judy"]; - const reviewTexts = [ - "Absolutely love this product! It exceeded my expectations.", "Great quality and very fast shipping. Highly recommend!", "Decent product for the price. Would buy again.", "Not entirely satisfied, but it gets the job done.", "Fantastic experience from start to finish. Five stars!", "The item arrived damaged. Customer service was helpful.", "Works as advertised. No complaints here.", "A bit pricey, but the quality justifies it.", "I've been looking for something like this for ages!", "Could be better, but it's okay.", "Exceptional value and brilliant design. This product truly stands out!", "I was skeptical at first, but now I'm a believer. What an amazing item.", "The best purchase I've made this year. So glad I found it!", "Slight learning curve, but once you get it, it's incredibly powerful.", "My new go-to. It's so versatile and performs perfectly every time.", "Customer support was stellar when I had a question. Very impressed.", "Perfect for daily use, durable, and aesthetically pleasing. A solid 10/10.", "Initially had an issue, but it was resolved quickly and efficiently. Good job.", "Transforms my routine. I can't imagine going back to how things were before.", "A genuinely innovative product that solves a real problem effortlessly.", "Surprisingly robust given its compact size. It handles everything with ease.", "I've recommended this to all my friends. It's that good!", "The attention to detail is evident. Every aspect feels thoughtfully designed.", "Worth every penny. The performance is consistently high.", "Exceeded my expectations in terms of functionality and ease of use." - ]; - const imagePlaceholders = [ - "https://api.dicebear.com/7.x/pixel-art/svg?seed=1", "https://api.dicebear.com/7.x/pixel-art/svg?seed=2", "https://api.dicebear.com/7.x/pixel-art/svg?seed=3", "https://api.dicebear.com/7.x/pixel-art/svg?seed=4", "https://api.dicebear.com/7.x/pixel-art/svg?seed=5", "https://api.dicebear.com/7.x/pixel-art/svg?seed=6", "https://api.dicebear.com/7.x/pixel-art/svg?seed=7", "https://api.dicebear.com/7.x/pixel-art/svg?seed=8", "https://api.dicebear.com/7.x/pixel-art/svg?seed=9", "https://api.dicebear.com/7.x/pixel-art/svg?seed=10" - ]; - - for (let i = 1; i <= count; i++) { - const name = names[Math.floor(Math.random() * names.length)]; - const rating = Math.floor(Math.random() * 5) + 1; // 1-5 stars - const reviewText = reviewTexts[Math.floor(Math.random() * reviewTexts.length)]; - const date = new Date(Date.now() - Math.floor(Math.random() * 365 * 24 * 60 * 60 * 1000)).toISOString().split('T')[0]; - const helpfulVotes = Math.floor(Math.random() * 100); - const isVerifiedPurchase = Math.random() > 0.3; // 70% verified - const imageSrc = imagePlaceholders[Math.floor(Math.random() * imagePlaceholders.length)]; - - reviews.push({ - id: `review-${i}`, - name, - rating, - reviewText, - date, - helpfulVotes, - isVerifiedPurchase, - imageSrc, - }); - } - return reviews; -}; - -const ALL_REVIEWS = generateReviews(350); // Generate 350 reviews +import Link from 'next/link'; export default function ReviewsPage() { - const [searchTerm, setSearchTerm] = useState(''); - const [sortCriteria, setSortCriteria] = useState('newest'); // 'newest', 'oldest', 'highestRating', 'lowestRating', 'mostHelpful' - const [reviewsPerPage, setReviewsPerPage] = useState(20); // Changed from 10 to 20 for more content per load - const [currentPage, setCurrentPage] = useState(1); + const navItems = [ + { name: 'Home', id: '/' }, + { name: 'About Us', id: '/about-us' }, + { name: 'Cart', id: '/cart' }, + { name: 'Contact', id: '/contact' }, + { name: 'Reviews', id: '/reviews' }, + { name: 'Dashboard', id: '/dashboard' }, + { name: 'Product Detail', id: '/product-detail' } + ]; - const filteredAndSortedReviews = useMemo(() => { - let reviews = [...ALL_REVIEWS]; - - // 1. Filter - if (searchTerm) { - reviews = reviews.filter(review => - review.reviewText.toLowerCase().includes(searchTerm.toLowerCase()) || - review.name.toLowerCase().includes(searchTerm.toLowerCase()) - ); - } - - // 2. Sort - reviews.sort((a, b) => { - switch (sortCriteria) { - case 'newest': - return new Date(b.date).getTime() - new Date(a.date).getTime(); - case 'oldest': - return new Date(a.date).getTime() - new Date(b.date).getTime(); - case 'highestRating': - return b.rating - a.rating; - case 'lowestRating': - return a.rating - b.rating; - case 'mostHelpful': - return b.helpfulVotes - a.helpfulVotes; - default: - return 0; - } - }); - - return reviews; - }, [searchTerm, sortCriteria]); - - const displayedReviews = useMemo(() => { - const startIndex = 0; - const endIndex = currentPage * reviewsPerPage; - return filteredAndSortedReviews.slice(startIndex, endIndex); - }, [filteredAndSortedReviews, currentPage, reviewsPerPage]); - - const handleLoadMore = () => { - setCurrentPage(prevPage => prevPage + 1); - }; - - const hasMoreReviews = displayedReviews.length < filteredAndSortedReviews.length; - - const testimonialCardData = displayedReviews.map(review => ({ - id: review.id, - name: review.name, - handle: review.isVerifiedPurchase ? "Verified Purchase" : "Customer", testimonial: `${review.reviewText} (Reviewed on ${review.date}). Found helpful by ${review.helpfulVotes} people.`, - rating: review.rating, - imageSrc: review.imageSrc, - imageAlt: `${review.name}'s avatar`, - })); + const testimonialsData = [ + { + id: "1", name: "Alice Johnson", handle: "@alicej", testimonial: "This product changed my life! Absolutely fantastic.", rating: 5, + imageSrc: "https://images.unsplash.com/photo-1534528741775-53994a69daeb?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTYwNXwwfDF8YWxsfDEzfHx8fHx8Mnx8MTcwODYwODc1OHw&ixlib=rb-4.0.3&q=80&w=400", imageAlt: "Alice Johnson"}, + { + id: "2", name: "Bob Williams", handle: "@bobw", testimonial: "Great service and quality. Highly recommend!", rating: 4, + imageSrc: "https://images.unsplash.com/photo-1527980965255-d3b416303d12?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTYwNXwwfDF8YWxsfDEyfHx8fHx8Mnx8MTcwODYwODc1OHw&ixlib=rb-4.0.3&q=80&w=400", imageAlt: "Bob Williams"}, + { + id: "3", name: "Charlie Brown", handle: "@charlieb", testimonial: "The customer support is excellent and the product exceeds expectations.", rating: 5, + imageSrc: "https://images.unsplash.com/photo-1544005313-94ddf0286df2?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTYwNXwwfDF8YWxsfDEwfHx8fHx8Mnx8MTcwODYwODc1OHw&ixlib=rb-4.0.3&q=80&w=400", imageAlt: "Charlie Brown"} + ]; return ( - -
-
-
-

Customer Reviews

-

- Read what our amazing customers have to say about our products. -

-
- -
- -
- - -
-
- - - - {hasMoreReviews && ( -
- -
- )} -
+ +
+ ({ + id: t.id, + name: t.name, + handle: t.handle, + testimonial: t.testimonial, + rating: t.rating, + imageSrc: t.imageSrc, + imageAlt: t.imageAlt + }))} + title="What Our Customers Say" + description="Read genuine feedback from our happy clients." + showRating={true} + carouselMode="buttons" + animationType="slide-up" + textboxLayout="default" + useInvertedBackground={false} + ariaLabel="Customer reviews and testimonials" + gridClassName="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8" + />
); -- 2.49.1