diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c2bce47..1ae6721 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -7,7 +7,8 @@ import "./styles/base.css"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { - title: "PerformanceHub - Performance Marketing Agency", description: "Amsterdam-based performance marketing agency specializing in SEO, PPC, and conversion optimization."}; + title: "PerformanceHub - Performance Marketing Agency", description: "Amsterdam-based performance marketing agency specializing in SEO, PPC, and conversion optimization." +}; export default function RootLayout({ children, diff --git a/src/app/page.tsx b/src/app/page.tsx index 57a529f..da694a9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -34,7 +34,7 @@ export default function LandingPage() { { name: "Services", id: "services" }, { name: "Results", id: "metrics" }, { name: "Case Studies", id: "casestudies" }, - { name: "Ecommerce", id: "/ecommerce" }, + { name: "Products", id: "/products" }, { name: "Pricing", id: "pricing" }, { name: "Contact", id: "contact" } ]} @@ -268,7 +268,7 @@ export default function LandingPage() { { items: [ { label: "Services", href: "services" }, - { label: "Ecommerce", href: "/ecommerce" }, + { label: "Products", href: "/products" }, { label: "PPC Advertising", href: "#" }, { label: "Social Media", href: "#" } ] diff --git a/src/app/product/[id]/page.tsx b/src/app/product/[id]/page.tsx new file mode 100644 index 0000000..7155674 --- /dev/null +++ b/src/app/product/[id]/page.tsx @@ -0,0 +1,317 @@ +"use client"; + +import React, { useState } from "react"; +import { useParams, useRouter } from "next/navigation"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +import ContactText from '@/components/sections/contact/ContactText'; +import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; +import { Package, ShoppingCart, Heart, Star, ArrowLeft } from "lucide-react"; + +const productsData: { [key: string]: any } = { + "1": { + id: "1", name: "Premium Workflow Optimizer", price: "$129.99", variant: "Black • 2 Colors", imageSrc: "https://img.b2bpic.net/free-photo/businessman-working-laptop-internet-shopping-e-commerce-online-business-concept_1098-3489.jpg", imageAlt: "Premium Workflow Optimizer product", description: "Streamline your workflow with our premium optimizer tool. Designed for professionals who need maximum efficiency and control.", fullDescription: "The Premium Workflow Optimizer is the ultimate solution for professionals looking to maximize productivity and streamline their operations. With advanced automation capabilities and intuitive controls, you can manage complex workflows with ease.", features: [ + "Advanced automation capabilities", "Real-time performance tracking", "Customizable workflows", "24/7 customer support", "Unlimited integrations", "Advanced analytics dashboard" + ], + rating: 4.8, + reviewCount: 245, + inStock: true, + colors: ["Black", "White"], + specifications: { + "System Requirements": "Windows 10+ or macOS 10.15+", "Storage": "500 MB", "RAM": "4 GB minimum", "License": "Per User", "Updates": "Lifetime free updates" + } + }, + "2": { + id: "2", name: "Business Intelligence Suite", price: "$199.99", variant: "Silver • 3 Colors", imageSrc: "https://img.b2bpic.net/free-photo/businesswoman-working-laptop_53876-163211.jpg", imageAlt: "Business Intelligence Suite product", description: "Comprehensive business intelligence solution providing deep insights into your operations and market data.", fullDescription: "Transform your data into actionable insights with our Business Intelligence Suite. From real-time analytics to predictive modeling, get the information you need to make confident business decisions.", features: [ + "Real-time data analysis", "Predictive analytics", "Custom report generation", "Team collaboration tools", "API access", "Enterprise-grade security" + ], + rating: 4.9, + reviewCount: 328, + inStock: true, + colors: ["Silver", "Gold", "Black"], + specifications: { + "Deployment": "Cloud-based", "Users": "Unlimited", "Storage": "Up to 1 TB", "Integration": "100+ data sources", "Support": "Priority 24/7" + } + }, + "3": { + id: "3", name: "Team Collaboration Tool", price: "$149.99", variant: "White • 4 Colors", imageSrc: "https://img.b2bpic.net/free-photo/business-woman-talking-about-financial-project-taking-notes-discussing-start-up-ideas-using-laptop-diverse-employees-gathered-co-working-working-process-busy-company-teamwork-help-concept_482257-13564.jpg", imageAlt: "Team Collaboration Tool product", description: "Empower your team with seamless collaboration features. Perfect for remote and distributed teams.", fullDescription: "Stay connected with your team using our all-in-one collaboration platform. From instant messaging to video conferences, manage all your team communications in one unified workspace.", features: [ + "Video conferencing", "File sharing and storage", "Task management", "Communication hub", "Mobile apps", "Integrations with 100+ tools" + ], + rating: 4.7, + reviewCount: 412, + inStock: true, + colors: ["White", "Black", "Gray", "Blue"], + specifications: { + "Team Size": "Unlimited", "Storage": "Unlimited", "Video Calls": "Up to 500 participants", "Message History": "Forever", "Uptime": "99.99% SLA" + } + }, + "4": { + id: "4", name: "Analytics Dashboard Pro", price: "$249.99", variant: "Blue • 5 Colors", imageSrc: "https://img.b2bpic.net/free-photo/top-view-image-young-african-man-sitting-coworking_171337-13500.jpg", imageAlt: "Analytics Dashboard Pro product", description: "Professional-grade analytics dashboard for detailed insights and data visualization.", fullDescription: "Visualize your data like never before. Our professional Analytics Dashboard Pro provides stunning visualizations, custom reports, and deep insights to drive your decision-making.", features: [ + "Custom dashboards", "Real-time metrics", "Export capabilities", "Data visualization tools", "Historical data analysis", "White-label options" + ], + rating: 4.9, + reviewCount: 156, + inStock: true, + colors: ["Blue", "Green", "Purple", "Orange", "Red"], + specifications: { + "Data Sources": "Unlimited", "Dashboards": "Unlimited", "Refresh Rate": "Real-time", "Export Formats": "PDF, Excel, PNG", "Team Users": "Unlimited" + } + } +}; + +export default function ProductDetailPage() { + const params = useParams(); + const router = useRouter(); + const productId = params.id as string; + const product = productsData[productId]; + const [quantity, setQuantity] = useState(1); + const [isFavorited, setIsFavorited] = useState(false); + + if (!product) { + return ( + +
+
+

Product Not Found

+

The product you're looking for doesn't exist.

+ +
+
+
+ ); + } + + return ( + + + +
+ + +
+ {/* Product Image */} +
+ {product.imageAlt} +
+ + {/* Product Details */} +
+

{product.name}

+ + {/* Rating */} +
+
+ {[...Array(5)].map((_, i) => ( + + ))} +
+ {product.rating} + ({product.reviewCount} reviews) +
+ + {/* Price */} +
+

{product.price}

+

In Stock

+
+ + {/* Description */} +

{product.fullDescription}

+ + {/* Color Selection */} + {product.colors && product.colors.length > 0 && ( +
+

Available Colors

+
+ {product.colors.map(color => ( + + ))} +
+
+ )} + + {/* Quantity & CTA */} +
+
+ + setQuantity(Math.max(1, parseInt(e.target.value) || 1))} + className="w-12 text-center border-0 focus:outline-none" + /> + +
+ + + + +
+
+
+ + {/* Features Section */} +
+
+

Key Features

+
    + {product.features.map((feature: string, index: number) => ( +
  • +
    + ✓ +
    + {feature} +
  • + ))} +
+
+ + {/* Specifications */} +
+

Specifications

+
+ {Object.entries(product.specifications).map(([key, value]: [string, any]) => ( +
+

{key}

+

{value}

+
+ ))} +
+
+
+
+ +
+ +
+ + +
+ ); +} diff --git a/src/app/products/page.tsx b/src/app/products/page.tsx new file mode 100644 index 0000000..71b0f31 --- /dev/null +++ b/src/app/products/page.tsx @@ -0,0 +1,169 @@ +"use client"; + +import React, { useState } from "react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll'; +import ProductCardFour from '@/components/sections/product/ProductCardFour'; +import ContactText from '@/components/sections/contact/ContactText'; +import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; +import { Package, Sparkles } from "lucide-react"; + +const productsData = [ + { + id: "1", name: "Premium Workflow Optimizer", price: "$129.99", variant: "Black • 2 Colors", imageSrc: "https://img.b2bpic.net/free-photo/businessman-working-laptop-internet-shopping-e-commerce-online-business-concept_1098-3489.jpg", imageAlt: "Premium Workflow Optimizer product", description: "Streamline your workflow with our premium optimizer tool. Designed for professionals who need maximum efficiency and control.", features: [ + "Advanced automation capabilities", "Real-time performance tracking", "Customizable workflows", "24/7 customer support", "Unlimited integrations", "Advanced analytics dashboard" + ], + rating: 4.8, + reviewCount: 245, + inStock: true + }, + { + id: "2", name: "Business Intelligence Suite", price: "$199.99", variant: "Silver • 3 Colors", imageSrc: "https://img.b2bpic.net/free-photo/businesswoman-working-laptop_53876-163211.jpg", imageAlt: "Business Intelligence Suite product", description: "Comprehensive business intelligence solution providing deep insights into your operations and market data.", features: [ + "Real-time data analysis", "Predictive analytics", "Custom report generation", "Team collaboration tools", "API access", "Enterprise-grade security" + ], + rating: 4.9, + reviewCount: 328, + inStock: true + }, + { + id: "3", name: "Team Collaboration Tool", price: "$149.99", variant: "White • 4 Colors", imageSrc: "https://img.b2bpic.net/free-photo/business-woman-talking-about-financial-project-taking-notes-discussing-start-up-ideas-using-laptop-diverse-employees-gathered-co-working-working-process-busy-company-teamwork-help-concept_482257-13564.jpg", imageAlt: "Team Collaboration Tool product", description: "Empower your team with seamless collaboration features. Perfect for remote and distributed teams.", features: [ + "Video conferencing", "File sharing and storage", "Task management", "Communication hub", "Mobile apps", "Integrations with 100+ tools" + ], + rating: 4.7, + reviewCount: 412, + inStock: true + }, + { + id: "4", name: "Analytics Dashboard Pro", price: "$249.99", variant: "Blue • 5 Colors", imageSrc: "https://img.b2bpic.net/free-photo/top-view-image-young-african-man-sitting-coworking_171337-13500.jpg", imageAlt: "Analytics Dashboard Pro product", description: "Professional-grade analytics dashboard for detailed insights and data visualization.", features: [ + "Custom dashboards", "Real-time metrics", "Export capabilities", "Data visualization tools", "Historical data analysis", "White-label options" + ], + rating: 4.9, + reviewCount: 156, + inStock: true + } +]; + +export default function ProductsPage() { + return ( + + + +
+ +
+ +
+ ({ + id: product.id, + name: product.name, + price: product.price, + variant: product.variant, + imageSrc: product.imageSrc, + imageAlt: product.imageAlt, + isFavorited: false, + onFavorite: () => console.log(`Favorited: ${product.id}`), + onProductClick: () => window.location.href = `/product/${product.id}` + }))} + /> +
+ +
+ +
+ + +
+ ); +} diff --git a/src/app/seo/page.tsx b/src/app/seo/page.tsx index c17d479..9b39de7 100644 --- a/src/app/seo/page.tsx +++ b/src/app/seo/page.tsx @@ -32,7 +32,7 @@ export default function SEOPage() { { name: "Services", id: "services" }, { name: "Results", id: "metrics" }, { name: "Case Studies", id: "casestudies" }, - { name: "Ecommerce", id: "/ecommerce" }, + { name: "Products", id: "/products" }, { name: "Pricing", id: "pricing" }, { name: "Contact", id: "contact" } ]} @@ -154,7 +154,7 @@ export default function SEOPage() { { items: [ { label: "Services", href: "services" }, - { label: "Ecommerce", href: "/ecommerce" }, + { label: "Products", href: "/products" }, { label: "PPC Advertising", href: "#" }, { label: "Social Media", href: "#" } ]