Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4fdf7f6a6a | |||
| d3d7ad90dc | |||
| e671a93886 | |||
| cf1c80d362 | |||
| ad50f523e6 | |||
| 52e284fc0f | |||
| 5d14f22535 | |||
| 865e0373bb | |||
| a1dd62e874 | |||
| ffedb395e0 | |||
| 7d44de89ba | |||
| a0f1352a36 |
@@ -5,7 +5,6 @@ import ReactLenis from "lenis/react";
|
|||||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||||
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
|
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
|
||||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||||
import { TrendingUp, Users, DollarSign, Activity } from "lucide-react";
|
|
||||||
|
|
||||||
export default function AdminDashboardPage() {
|
export default function AdminDashboardPage() {
|
||||||
return (
|
return (
|
||||||
@@ -68,6 +67,7 @@ export default function AdminDashboardPage() {
|
|||||||
{ title: "Support", items: [{ label: "Documentation", href: "#" }] },
|
{ title: "Support", items: [{ label: "Documentation", href: "#" }] },
|
||||||
]}
|
]}
|
||||||
bottomLeftText="© 2024 PulseGaming Admin."
|
bottomLeftText="© 2024 PulseGaming Admin."
|
||||||
|
bottomRightText=""
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
|
|||||||
@@ -3,10 +3,19 @@
|
|||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import ReactLenis from "lenis/react";
|
import ReactLenis from "lenis/react";
|
||||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||||
import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
|
||||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||||
|
import ProductCatalog from '@/components/ecommerce/productCatalog/ProductCatalog';
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
export default function CatalogPage() {
|
export default function CatalogPage() {
|
||||||
|
const [searchValue, setSearchValue] = useState("");
|
||||||
|
|
||||||
|
const allBooks = [
|
||||||
|
{ id: "1", name: "The Great Gatsby", price: "Checked In", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/book-cover_23-2148890356.jpg" },
|
||||||
|
{ id: "2", name: "A Brief History of Time", price: "Checked Out", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/scientific-journal-cover_23-2148890357.jpg" },
|
||||||
|
{ id: "3", name: "1984", price: "Checked In", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/old-archive-document_23-2148890358.jpg" },
|
||||||
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-stagger"
|
defaultButtonVariant="text-stagger"
|
||||||
@@ -21,44 +30,33 @@ export default function CatalogPage() {
|
|||||||
headingFontWeight="medium"
|
headingFontWeight="medium"
|
||||||
>
|
>
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<div id="nav" data-section="nav">
|
<NavbarStyleCentered
|
||||||
<NavbarStyleCentered
|
navItems={[
|
||||||
navItems={[
|
{ name: "Home", id: "/" },
|
||||||
{ name: "Home", id: "/" },
|
{ name: "Catalog", id: "/catalog" },
|
||||||
{ name: "Catalog", id: "/catalog" },
|
{ name: "FAQ", id: "/#faq" },
|
||||||
]}
|
{ name: "Contact", id: "/#contact" },
|
||||||
brandName="PulseGaming"
|
]}
|
||||||
/>
|
brandName="LibrarySystem"
|
||||||
</div>
|
/>
|
||||||
|
<div className="pt-32 pb-16">
|
||||||
<div id="catalog" data-section="products" className="py-20">
|
<ProductCatalog
|
||||||
<ProductCardFour
|
layout="page"
|
||||||
animationType="slide-up"
|
products={allBooks.filter(b => b.name.toLowerCase().includes(searchValue.toLowerCase()))}
|
||||||
textboxLayout="default"
|
searchValue={searchValue}
|
||||||
gridVariant="four-items-2x2-equal-grid"
|
onSearchChange={setSearchValue}
|
||||||
useInvertedBackground={false}
|
searchPlaceholder="Search our books..."
|
||||||
title="Book Catalog"
|
|
||||||
description="Browse our complete library of titles and filter by category or genre."
|
|
||||||
products={[
|
|
||||||
{ id: "1", name: "The Art of Gaming", price: "$29.00", variant: "Hardcover", imageSrc: "http://img.b2bpic.net/free-photo/still-life-books-versus-technology_23-2150062907.jpg" },
|
|
||||||
{ id: "2", name: "Tech Future 2025", price: "$19.00", variant: "Paperback", imageSrc: "http://img.b2bpic.net/free-photo/computer-mouse-yellow-background-isolated-flat-lay_169016-26395.jpg" },
|
|
||||||
{ id: "3", name: "Digital Horizons", price: "$35.00", variant: "E-Book", imageSrc: "http://img.b2bpic.net/free-photo/gradient-view-illuminated-neon-gaming-desk-setup-with-keyboard_23-2149529388.jpg" },
|
|
||||||
{ id: "4", name: "Coding Mastery", price: "$45.00", variant: "Hardcover", imageSrc: "http://img.b2bpic.net/free-photo/gaming-setup-arrangement-high-angle_23-2149680232.jpg" }
|
|
||||||
]}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
|
||||||
<FooterSimple
|
|
||||||
columns={[
|
|
||||||
{ title: "Company", items: [{ label: "About", href: "/" }, { label: "Careers", href: "/" }] },
|
|
||||||
{ title: "Library", items: [{ label: "Catalog", href: "/catalog" }] },
|
|
||||||
]}
|
|
||||||
bottomLeftText="© 2024 PulseGaming. All rights reserved."
|
|
||||||
bottomRightText="Privacy Policy"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<FooterSimple
|
||||||
|
columns={[
|
||||||
|
{ title: "System", items: [{ label: "About Us", href: "#" }, { label: "Help", href: "#" }] },
|
||||||
|
{ title: "Quick Links", items: [{ label: "Catalog", href: "/catalog" }, { label: "Account", href: "#" }] },
|
||||||
|
]}
|
||||||
|
bottomLeftText="© 2024 LibraryManagement. All rights reserved."
|
||||||
|
bottomRightText="Privacy Policy"
|
||||||
|
/>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,15 +8,19 @@ import ContactCTA from '@/components/sections/contact/ContactCTA';
|
|||||||
|
|
||||||
export default function CheckoutPage() {
|
export default function CheckoutPage() {
|
||||||
return (
|
return (
|
||||||
<ThemeProvider>
|
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<NavbarStyleCentered navItems={[{ name: "Home", id: "/" }, { name: "Checkout", id: "/checkout" }, { name: "Returns", id: "/returns" }]} brandName="PulseGaming" />
|
<div id="nav" data-section="nav">
|
||||||
|
<NavbarStyleCentered navItems={[{ name: "Home", id: "/" }, { name: "Checkout", id: "/checkout" }, { name: "Returns", id: "/returns" }]} brandName="PulseGaming" />
|
||||||
|
</div>
|
||||||
<div className="pt-32 pb-20 px-6 max-w-4xl mx-auto">
|
<div className="pt-32 pb-20 px-6 max-w-4xl mx-auto">
|
||||||
<h1 className="text-4xl font-bold mb-8">Checkout</h1>
|
<h1 className="text-4xl font-bold mb-8">Checkout</h1>
|
||||||
<p>Your items are ready. Please complete your details to finish your order.</p>
|
<p>Your items are ready. Please complete your details to finish your order.</p>
|
||||||
</div>
|
</div>
|
||||||
<ContactCTA tag="Support" title="Need help with checkout?" description="Reach out if you have any trouble finishing your order." buttons={[{ text: "Support", href: "#" }]} />
|
<ContactCTA tag="Support" title="Need help with checkout?" description="Reach out if you have any trouble finishing your order." buttons={[{ text: "Support", href: "#" }]} background={{ variant: "plain" }} useInvertedBackground={false} />
|
||||||
<FooterSimple columns={[{ title: "Links", items: [{ label: "Home", href: "/" }] }]} bottomLeftText="© 2024 PulseGaming" bottomRightText="Privacy Policy" />
|
<div id="footer" data-section="footer">
|
||||||
|
<FooterSimple columns={[{ title: "Links", items: [{ label: "Home", href: "/" }] }]} bottomLeftText="© 2024 PulseGaming" bottomRightText="Privacy Policy" />
|
||||||
|
</div>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
33
src/app/login/page.tsx
Normal file
33
src/app/login/page.tsx
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||||
|
import ContactForm from '@/components/form/ContactForm';
|
||||||
|
|
||||||
|
export default function LoginPage() {
|
||||||
|
return (
|
||||||
|
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||||
|
<div id="nav" data-section="nav">
|
||||||
|
<NavbarStyleCentered
|
||||||
|
navItems={[
|
||||||
|
{ name: "Home", id: "/" },
|
||||||
|
{ name: "Products", id: "/products" },
|
||||||
|
{ name: "Features", id: "/features" },
|
||||||
|
{ name: "Login", id: "/login" },
|
||||||
|
{ name: "Register", id: "/register" },
|
||||||
|
]}
|
||||||
|
brandName="PulseGaming"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="min-h-screen flex items-center justify-center pt-24">
|
||||||
|
<ContactForm
|
||||||
|
tag="Login"
|
||||||
|
title="Welcome Back"
|
||||||
|
description="Log in to access your account and manage your orders."
|
||||||
|
buttonText="Log In"
|
||||||
|
useInvertedBackground={false}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</ThemeProvider>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -37,6 +37,7 @@ export default function LandingPage() {
|
|||||||
{ name: "Features", id: "#features" },
|
{ name: "Features", id: "#features" },
|
||||||
{ name: "FAQ", id: "#faq" },
|
{ name: "FAQ", id: "#faq" },
|
||||||
{ name: "Contact", id: "/contact" },
|
{ name: "Contact", id: "/contact" },
|
||||||
|
{ name: "Dashboard", id: "/dashboard" },
|
||||||
]}
|
]}
|
||||||
brandName="PulseGaming"
|
brandName="PulseGaming"
|
||||||
/>
|
/>
|
||||||
@@ -47,7 +48,7 @@ export default function LandingPage() {
|
|||||||
background={{ variant: "rotated-rays-animated" }}
|
background={{ variant: "rotated-rays-animated" }}
|
||||||
title="Level Up Your Setup"
|
title="Level Up Your Setup"
|
||||||
description="Experience professional-grade gaming accessories designed for performance, comfort, and ultimate control."
|
description="Experience professional-grade gaming accessories designed for performance, comfort, and ultimate control."
|
||||||
buttons={[{ text: "Shop Now", href: "#products" }]}
|
buttons={[{ text: "Shop Now", href: "#products" }, { text: "Login", href: "/login" }]}
|
||||||
carouselItems={[
|
carouselItems={[
|
||||||
{ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/gaming-setup-arrangement-high-angle_23-2149680232.jpg", imageAlt: "Gaming setup" },
|
{ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/gaming-setup-arrangement-high-angle_23-2149680232.jpg", imageAlt: "Gaming setup" },
|
||||||
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/gradient-view-illuminated-neon-gaming-desk-setup-with-keyboard_23-2149529388.jpg", imageAlt: "Keyboard" },
|
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/gradient-view-illuminated-neon-gaming-desk-setup-with-keyboard_23-2149529388.jpg", imageAlt: "Keyboard" },
|
||||||
|
|||||||
27
src/app/profile/page.tsx
Normal file
27
src/app/profile/page.tsx
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||||
|
|
||||||
|
export default function ProfilePage() {
|
||||||
|
return (
|
||||||
|
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||||
|
<div id="nav" data-section="nav">
|
||||||
|
<NavbarStyleCentered
|
||||||
|
navItems={[
|
||||||
|
{ name: "Home", id: "/" },
|
||||||
|
{ name: "Products", id: "/products" },
|
||||||
|
{ name: "Features", id: "/features" },
|
||||||
|
{ name: "Login", id: "/login" },
|
||||||
|
{ name: "Register", id: "/register" },
|
||||||
|
]}
|
||||||
|
brandName="PulseGaming"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="min-h-screen pt-32 px-8">
|
||||||
|
<h1 className="text-4xl font-bold">My Profile</h1>
|
||||||
|
<p className="mt-4 text-lg opacity-70">Account management settings will be displayed here.</p>
|
||||||
|
</div>
|
||||||
|
</ThemeProvider>
|
||||||
|
);
|
||||||
|
}
|
||||||
33
src/app/register/page.tsx
Normal file
33
src/app/register/page.tsx
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||||
|
import ContactForm from '@/components/form/ContactForm';
|
||||||
|
|
||||||
|
export default function RegisterPage() {
|
||||||
|
return (
|
||||||
|
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||||
|
<div id="nav" data-section="nav">
|
||||||
|
<NavbarStyleCentered
|
||||||
|
navItems={[
|
||||||
|
{ name: "Home", id: "/" },
|
||||||
|
{ name: "Products", id: "/products" },
|
||||||
|
{ name: "Features", id: "/features" },
|
||||||
|
{ name: "Login", id: "/login" },
|
||||||
|
{ name: "Register", id: "/register" },
|
||||||
|
]}
|
||||||
|
brandName="PulseGaming"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="min-h-screen flex items-center justify-center pt-24">
|
||||||
|
<ContactForm
|
||||||
|
tag="Register"
|
||||||
|
title="Create Account"
|
||||||
|
description="Join the community and get early access to new product drops."
|
||||||
|
buttonText="Register"
|
||||||
|
useInvertedBackground={false}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</ThemeProvider>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -8,15 +8,19 @@ import ContactCTA from '@/components/sections/contact/ContactCTA';
|
|||||||
|
|
||||||
export default function ReturnsPage() {
|
export default function ReturnsPage() {
|
||||||
return (
|
return (
|
||||||
<ThemeProvider>
|
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<NavbarStyleCentered navItems={[{ name: "Home", id: "/" }, { name: "Checkout", id: "/checkout" }, { name: "Returns", id: "/returns" }]} brandName="PulseGaming" />
|
<div id="nav" data-section="nav">
|
||||||
|
<NavbarStyleCentered navItems={[{ name: "Home", id: "/" }, { name: "Checkout", id: "/checkout" }, { name: "Returns", id: "/returns" }]} brandName="PulseGaming" />
|
||||||
|
</div>
|
||||||
<div className="pt-32 pb-20 px-6 max-w-4xl mx-auto">
|
<div className="pt-32 pb-20 px-6 max-w-4xl mx-auto">
|
||||||
<h1 className="text-4xl font-bold mb-8">Returns</h1>
|
<h1 className="text-4xl font-bold mb-8">Returns</h1>
|
||||||
<p>Need to return an item? Our process is simple and hassle-free.</p>
|
<p>Need to return an item? Our process is simple and hassle-free.</p>
|
||||||
</div>
|
</div>
|
||||||
<ContactCTA tag="Returns" title="Questions about returns?" description="Our support team is here to assist with any return requests." buttons={[{ text: "Contact", href: "#" }]} />
|
<ContactCTA tag="Returns" title="Questions about returns?" description="Our support team is here to assist with any return requests." buttons={[{ text: "Contact", href: "#" }]} background={{ variant: "plain" }} useInvertedBackground={false} />
|
||||||
<FooterSimple columns={[{ title: "Links", items: [{ label: "Home", href: "/" }] }]} bottomLeftText="© 2024 PulseGaming" bottomRightText="Privacy Policy" />
|
<div id="footer" data-section="footer">
|
||||||
|
<FooterSimple columns={[{ title: "Links", items: [{ label: "Home", href: "/" }] }]} bottomLeftText="© 2024 PulseGaming" bottomRightText="Privacy Policy" />
|
||||||
|
</div>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user