Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 420716ed8f | |||
| 51e9681701 | |||
| e0984aa10b | |||
| 704f308cac | |||
| 1f70f9c349 | |||
| 46d248b354 | |||
| 7c685efcb0 | |||
| ef71150c09 | |||
| ed9424958d | |||
| d3f6e58d1d |
@@ -4,8 +4,9 @@ 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 { useState } from 'react';
|
||||
|
||||
export default function AdminDashboardPage() {
|
||||
export default function AdminDashboard() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
@@ -24,21 +25,33 @@ export default function AdminDashboardPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Admin Dashboard", id: "#admin" }
|
||||
{ name: "Admin", id: "/admin" }
|
||||
]}
|
||||
brandName="Elite Grooming Admin"
|
||||
brandName="Elite Grooming"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="admin" className="pt-32 pb-20 px-6 max-w-7xl mx-auto">
|
||||
<h1 className="text-4xl font-bold mb-10">Admin Dashboard</h1>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
||||
<div className="p-6 border rounded-lg shadow-sm">Booking Management</div>
|
||||
<div className="p-6 border rounded-lg shadow-sm">Appointment Calendar</div>
|
||||
<div className="p-6 border rounded-lg shadow-sm">Client Management</div>
|
||||
<div className="p-6 border rounded-lg shadow-sm">Service Management</div>
|
||||
<main className="container mx-auto px-4 py-24 min-h-screen">
|
||||
<h1 className="text-4xl font-bold mb-8">Admin Dashboard</h1>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
||||
<div className="p-6 border rounded-lg shadow-sm">
|
||||
<h2 className="text-xl font-semibold">Scheduling</h2>
|
||||
<p>Manage operating hours.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="p-6 border rounded-lg shadow-sm">
|
||||
<h2 className="text-xl font-semibold">Calendar View</h2>
|
||||
<p>View upcoming bookings.</p>
|
||||
</div>
|
||||
<div className="p-6 border rounded-lg shadow-sm">
|
||||
<h2 className="text-xl font-semibold">Appointments</h2>
|
||||
<p>Active booking requests.</p>
|
||||
</div>
|
||||
<div className="p-6 border rounded-lg shadow-sm">
|
||||
<h2 className="text-xl font-semibold">Settings</h2>
|
||||
<p>Booking administration.</p>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
@@ -51,4 +64,4 @@ export default function AdminDashboardPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
71
src/app/book-appointment/page.tsx
Normal file
71
src/app/book-appointment/page.tsx
Normal file
@@ -0,0 +1,71 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
|
||||
export default function BookAppointmentPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="rounded"
|
||||
contentWidth="smallMedium"
|
||||
sizing="large"
|
||||
background="floatingGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Services", id: "/" },
|
||||
{ name: "Gallery", id: "/" },
|
||||
{ name: "Contact", id: "/" },
|
||||
{ name: "Book", id: "/book-appointment" },
|
||||
{ name: "Admin", id: "/admin" }
|
||||
]}
|
||||
brandName="Elite Grooming"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="booking" data-section="booking" className="py-24">
|
||||
<ContactSplitForm
|
||||
title="Schedule Your Appointment"
|
||||
description="Select your preferred service and time. Our team will confirm your booking shortly."
|
||||
inputs={[
|
||||
{ name: "fullName", type: "text", placeholder: "Full Name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Email Address", required: true },
|
||||
{ name: "date", type: "date", placeholder: "Appointment Date", required: true }
|
||||
]}
|
||||
multiSelect={{
|
||||
name: "service",
|
||||
label: "Choose Service",
|
||||
options: ["Precision Fade", "Beard Sculpt", "Hot Towel Shave"]
|
||||
}}
|
||||
textarea={{ name: "notes", placeholder: "Any special instructions or requests?" }}
|
||||
buttonText="Confirm Booking"
|
||||
onSubmit={(data) => console.log("Booking submitted:", data)}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
logoText="Elite Grooming"
|
||||
columns={[
|
||||
{ title: "Navigation", items: [{ label: "Home", href: "/" }, { label: "Services", href: "/" }] },
|
||||
{ title: "Support", items: [{ label: "FAQ", href: "/" }, { label: "Book", href: "/book-appointment" }] }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -11,11 +11,11 @@
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #000000;
|
||||
--card: #121212;
|
||||
--foreground: #ffffff;
|
||||
--card: #1A1A1A;
|
||||
--foreground: #FFFFFF;
|
||||
--primary-cta: #FFD700;
|
||||
--primary-cta-text: #000000;
|
||||
--secondary-cta: #1A1A1A;
|
||||
--secondary-cta: #262626;
|
||||
--secondary-cta-text: #FFFFFF;
|
||||
--accent: #B8860B;
|
||||
--background-accent: #262626;
|
||||
|
||||
Reference in New Issue
Block a user