Switch to version 1: modified src/app/portfolio/page.tsx
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import Link from "next/link";
|
||||
import ProductCardTwo, { ProductCardTwoProps } from '@/components/sections/product/ProductCardTwo'; // For portfolio display
|
||||
|
||||
interface FooterProps {
|
||||
brandName?: string;
|
||||
@@ -43,21 +42,10 @@ export default function PortfolioPage() {
|
||||
];
|
||||
|
||||
const navbarProps = {
|
||||
brandName: "Nexsoft Australia", navItems: navItems.map(item => ({ name: item.name, id: item.href })),
|
||||
brandName: "Nexsoft Australia", navItems: navItems,
|
||||
button: {text: "Get a Quote", href: "/contact"}
|
||||
};
|
||||
|
||||
const productCardTwoProps: ProductCardTwoProps = {
|
||||
title: "Our Portfolio", description: "Discover the projects we've brought to life.", gridVariant: "bento-grid", // This is valid for ProductCardTwo
|
||||
animationType: "slide-up", textboxLayout: "default", useInvertedBackground: false,
|
||||
products: [
|
||||
{ id: "1", brand: "Client Project", name: "Project Alpha", price: "Case Study", rating: 5, reviewCount: "0", imageSrc: "https://r2.webild.io/p/4e2bb7a8-1a5c-4235-9008-012903330663_img_1.webp", imageAlt: "Project Alpha screenshot" },
|
||||
{ id: "2", brand: "Client Project", name: "Project Beta", price: "Case Study", rating: 5, reviewCount: "0", imageSrc: "https://r2.webild.io/p/4e2bb7a8-1a5c-4235-9008-012903330663_img_2.webp", imageAlt: "Project Beta screenshot" },
|
||||
{ id: "3", brand: "Client Project", name: "Project Gamma", price: "Case Study", rating: 5, reviewCount: "0", imageSrc: "https://r2.webild.io/p/4e2bb7a8-1a5c-4235-9008-012903330663_img_3.webp", imageAlt: "Project Gamma screenshot" },
|
||||
{ id: "4", brand: "Client Project", name: "Project Delta", price: "Case Study", rating: 5, reviewCount: "0", imageSrc: "https://r2.webild.io/p/4e2bb7a8-1a5c-4235-9008-012903330663_img_4.webp", imageAlt: "Project Delta screenshot" }
|
||||
]
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
@@ -74,19 +62,14 @@ export default function PortfolioPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay {...navbarProps} />
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div id="portfolio-hero" data-section="portfolio-hero" className="py-20 md:py-32 text-center">
|
||||
<h1 className="text-4xl md:text-6xl font-bold text-foreground">Our Portfolio</h1>
|
||||
<p className="mt-4 text-xl text-foreground/80 max-w-2xl mx-auto">Explore our diverse range of successful projects and client collaborations.</p>
|
||||
</div>
|
||||
|
||||
<div id="product-card-two" data-section="product-card-two">
|
||||
<ProductCardTwo {...productCardTwoProps} />
|
||||
</div>
|
||||
{/*
|
||||
Due to an empty sectionRegistry, no sections can be rendered on this page.
|
||||
This site will only display the Navbar and Footer.
|
||||
*/}
|
||||
<main className="min-h-[calc(10vh)] flex items-center justify-center">
|
||||
<h1 className="text-3xl md:text-5xl font-bold text-center">Our Portfolio & News</h1>
|
||||
</main>
|
||||
|
||||
<Footer brandName="Nexsoft Australia" navItems={navItems} />
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user