From a891e11c1b6144307dcd4db990cec01ee443bfb0 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 3 Jun 2026 15:38:36 +0000 Subject: [PATCH 1/3] Add src/app/categories/page.tsx --- src/app/categories/page.tsx | 79 +++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 src/app/categories/page.tsx diff --git a/src/app/categories/page.tsx b/src/app/categories/page.tsx new file mode 100644 index 0000000..2fa9a92 --- /dev/null +++ b/src/app/categories/page.tsx @@ -0,0 +1,79 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import FooterBase from '@/components/sections/footer/FooterBase'; +import HeroBillboard from '@/components/sections/hero/HeroBillboard'; + +const themeProviderProps = { + defaultButtonVariant: "shift-hover", defaultTextAnimation: "reveal-blur", borderRadius: "soft", contentWidth: "small", sizing: "mediumLargeSizeMediumTitles", background: "grid", cardStyle: "inset", primaryButtonStyle: "radial-glow", secondaryButtonStyle: "glass", headingFontWeight: "bold"}; + +const navbarProps = { + navItems: [ + { name: "Bosh sahifa", id: "/" }, + { name: "Biz haqimizda", id: "/about" }, + { name: "Kategoriyalar", id: "/categories" }, + { name: "Mahsulotlar", id: "/products" }, + { name: "Bog'lanish", id: "/contact" }, + ], + logoSrc: "http://img.b2bpic.net/free-photo/cyber-monday-celebration_23-2151835475.jpg", logoAlt: "Opto Go logo", brandName: "Opto Go"}; + +const footerProps = { + columns: [ + { + title: "Kompaniya", items: [ + { label: "Biz haqimizda", href: "/about" }, + { label: "Bog'lanish", href: "/contact" }, + { label: "Kategoriyalar", href: "/categories" }, + { label: "Mahsulotlar", href: "/products" }, + ], + }, + { + title: "Yordam", items: [ + { label: "FAQ", href: "/faq" }, + { label: "Yetkazib berish", href: "#" }, + { label: "To'lov usullari", href: "#" }, + ], + }, + { + title: "Qonuniy", items: [ + { label: "Maxfiylik siyosati", href: "#" }, + { label: "Xizmat ko'rsatish shartlari", href: "#" }, + ], + }, + ], + logoSrc: "http://img.b2bpic.net/free-photo/cyber-monday-celebration_23-2151835475.jpg", logoAlt: "Opto Go logo", logoText: "Opto Go", copyrightText: "© 2024 Opto Go. Barcha huquqlar himoyalangan."}; + + +export default function CategoriesPage() { + return ( + + + + +
+ +
+ +
+

Kategoriyalar tez orada to'ldiriladi!

+

Yangi va qiziqarli kategoriyalar ustida ishlamoqdamiz.

+
+ + +
+
+ ); +} From 39f76f5686525d746900504e3c454bf36d25326c Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 3 Jun 2026 15:38:37 +0000 Subject: [PATCH 2/3] Update src/app/page.tsx --- src/app/page.tsx | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 60c9086..4a820ee 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -7,7 +7,7 @@ import FeatureBento from '@/components/sections/feature/FeatureBento'; import FooterBase from '@/components/sections/footer/FooterBase'; import HeroBillboard from '@/components/sections/hero/HeroBillboard'; import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; -import ProductCardThree from '@/components/sections/product/ProductCardThree'; +import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen'; import { Home, Package, Smartphone, Star, Tag, Utensils } from "lucide-react"; @@ -120,24 +120,30 @@ export default function LandingPage() {
- Date: Wed, 3 Jun 2026 15:38:37 +0000 Subject: [PATCH 3/3] Add src/app/products/page.tsx --- src/app/products/page.tsx | 108 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 src/app/products/page.tsx diff --git a/src/app/products/page.tsx b/src/app/products/page.tsx new file mode 100644 index 0000000..c81426a --- /dev/null +++ b/src/app/products/page.tsx @@ -0,0 +1,108 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import FooterBase from '@/components/sections/footer/FooterBase'; +import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; + +const generateProducts = (count: number) => { + const products = []; + for (let i = 1; i <= count; i++) { + products.push({ + id: `product-${i}`, + brand: `Brand ${Math.ceil(i / 10)}`, + name: `Ajoyib Mahsulot ${i}`, + price: `${(Math.random() * 500 + 50).toFixed(0)},000 so'm`, + rating: Math.floor(Math.random() * 3) + 3, // Ratings between 3 and 5 + reviewCount: `${Math.floor(Math.random() * 200) + 10} ta sharh`, + imageSrc: `http://img.b2bpic.net/free-photo/product-${(i % 10) + 1}.jpg`, // Cycle through 10 generic product images + imageAlt: `Ajoyib Mahsulot ${i} tasviri`, + }); + } + return products; +}; + +const allProducts = generateProducts(55); // 50+ products + +export default function ProductsPage() { + const navItems = [ + { name: "Bosh sahifa", id: "/" }, + { name: "Biz haqimizda", id: "/about" }, + { name: "Katalog", id: "/catalog" }, + { name: "Mahsulotlar", id: "/products" }, // Link to this page + { name: "Bog'lanish", id: "/contact" }, + ]; + + const footerColumns = [ + { + title: "Kompaniya", items: [ + { label: "Biz haqimizda", href: "/about" }, + { label: "Bog'lanish", href: "/contact" }, + { label: "Katalog", href: "/catalog" }, + { label: "Mahsulotlar", href: "/products" }, + ], + }, + { + title: "Yordam", items: [ + { label: "FAQ", href: "/faq" }, + { label: "Yetkazib berish", href: "#" }, + { label: "To'lov usullari", href: "#" }, + ], + }, + { + title: "Qonuniy", items: [ + { label: "Maxfiylik siyosati", href: "#" }, + { label: "Xizmat ko'rsatish shartlari", href: "#" }, + ], + }, + ]; + + return ( + + + + +
+ +
+ + +
+
+ ); +}