Merge version_3 into main #2
@@ -1,12 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import { useState } from "react";
|
||||
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
|
||||
|
||||
export default function AdminDashboard() {
|
||||
const [activeTab, setActiveTab] = useState("Menu");
|
||||
|
||||
export default function AdminPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
@@ -20,35 +20,32 @@ export default function AdminPage() {
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="light"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Admin Panel", id: "#admin" },
|
||||
]}
|
||||
brandName="Surob Cafe Admin"
|
||||
/>
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Back to Home", id: "/" },
|
||||
{ name: "Menu", id: "#menu" },
|
||||
{ name: "Orders", id: "#orders" },
|
||||
{ name: "Reservations", id: "#reservations" },
|
||||
]}
|
||||
brandName="Surob Cafe Admin"
|
||||
/>
|
||||
<main className="pt-32 pb-16 px-6 max-w-7xl mx-auto">
|
||||
<h1 className="text-4xl font-bold mb-8">Dashboard: {activeTab}</h1>
|
||||
<div className="bg-card p-8 rounded-lg shadow-sm border border-border">
|
||||
<p className="text-lg">Select a module to manage content.</p>
|
||||
<div className="mt-6 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
|
||||
{["Menu", "Orders", "Reservations", "Content"].map((tab) => (
|
||||
<button
|
||||
key={tab}
|
||||
onClick={() => setActiveTab(tab)}
|
||||
className="p-4 bg-primary text-white rounded-lg hover:opacity-90 transition"
|
||||
>
|
||||
{tab}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="admin" data-section="contact">
|
||||
<ContactText
|
||||
text="Admin Management Portal - Menu & Reservations"
|
||||
background={{ variant: 'plain' }}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseCard
|
||||
logoText="Surob Cafe Admin"
|
||||
columns={[
|
||||
{ title: "System", items: [{ label: "Dashboard", href: "#" }] },
|
||||
{ title: "Data", items: [{ label: "Menu Items", href: "#" }, { label: "Reservations", href: "#" }] },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</main>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -53,19 +53,19 @@ export default function LandingPage() {
|
||||
{
|
||||
text: "Order Now", href: "#menu"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/elegantly-dressed-couple-handsome-stylish-male-charming-brunette-woman-dating-luxury-restaurant_613910-21002.jpg"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/elegantly-dressed-couple-handsome-stylish-male-charming-brunette-woman-dating-luxury-restaurant_613910-21002.jpg?w=1200&q=75"
|
||||
showDimOverlay={true}
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/computer-desktop-table_23-2147936237.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/computer-desktop-table_23-2147936237.jpg?w=100&q=75", alt: "Customer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/high-end-professional-cabinet-used-psychotherapy-meetings_482257-117710.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/high-end-professional-cabinet-used-psychotherapy-meetings_482257-117710.jpg?w=100&q=75", alt: "Customer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/cafe-with-burning-candles-tables_140725-7784.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/cafe-with-burning-candles-tables_140725-7784.jpg?w=100&q=75", alt: "Customer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/burning-candle-table_140725-8115.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/burning-candle-table_140725-8115.jpg?w=100&q=75", alt: "Customer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/beautiful-view-restaurant-with-tables_8353-9878.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/beautiful-view-restaurant-with-tables_8353-9878.jpg?w=100&q=75", alt: "Customer"},
|
||||
]}
|
||||
avatarText="Join 10,000+ happy diners"
|
||||
/>
|
||||
@@ -78,7 +78,7 @@ export default function LandingPage() {
|
||||
{
|
||||
type: "text", content: "Our culinary journey in Dehqonobod."},
|
||||
{
|
||||
type: "image", src: "http://img.b2bpic.net/free-photo/fried-meat-with-potato-tomatoes_140725-4017.jpg"},
|
||||
type: "image", src: "http://img.b2bpic.net/free-photo/fried-meat-with-potato-tomatoes_140725-4017.jpg?w=600&q=75"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -91,17 +91,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Gourmet Burger", price: "$12.00", variant: "Fast Food", imageSrc: "http://img.b2bpic.net/free-photo/front-view-beef-burger-with-salad-bacon_23-2148784490.jpg"},
|
||||
id: "1", name: "Gourmet Burger", price: "$12.00", variant: "Fast Food", imageSrc: "http://img.b2bpic.net/free-photo/front-view-beef-burger-with-salad-bacon_23-2148784490.jpg?w=400&q=75"},
|
||||
{
|
||||
id: "2", name: "National Platter", price: "$15.00", variant: "National Food", imageSrc: "http://img.b2bpic.net/free-photo/raw-fresh-tuna-fish-meat-salad-with-avocado-mango_1203-9044.jpg"},
|
||||
id: "2", name: "National Platter", price: "$15.00", variant: "National Food", imageSrc: "http://img.b2bpic.net/free-photo/raw-fresh-tuna-fish-meat-salad-with-avocado-mango_1203-9044.jpg?w=400&q=75"},
|
||||
{
|
||||
id: "3", name: "Summer Refresher", price: "$5.00", variant: "Drinks", imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-drinking-latte_141793-14265.jpg"},
|
||||
id: "3", name: "Summer Refresher", price: "$5.00", variant: "Drinks", imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-drinking-latte_141793-14265.jpg?w=400&q=75"},
|
||||
{
|
||||
id: "4", name: "Chocolate Bliss", price: "$7.00", variant: "Desserts", imageSrc: "http://img.b2bpic.net/free-photo/front-view-tiramisu-with-latte-macchiato_23-2148322793.jpg"},
|
||||
id: "4", name: "Chocolate Bliss", price: "$7.00", variant: "Desserts", imageSrc: "http://img.b2bpic.net/free-photo/front-view-tiramisu-with-latte-macchiato_23-2148322793.jpg?w=400&q=75"},
|
||||
{
|
||||
id: "5", name: "Artisan Latte", price: "$4.00", variant: "Drinks", imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-latte-wood-table-coffee-shop-cafe_1150-12756.jpg"},
|
||||
id: "5", name: "Artisan Latte", price: "$4.00", variant: "Drinks", imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-latte-wood-table-coffee-shop-cafe_1150-12756.jpg?w=400&q=75"},
|
||||
{
|
||||
id: "6", name: "Garden Salad", price: "$9.00", variant: "National Food", imageSrc: "http://img.b2bpic.net/free-photo/white-plate-with-vegetables-cup-juice_114579-56225.jpg"},
|
||||
id: "6", name: "Garden Salad", price: "$9.00", variant: "National Food", imageSrc: "http://img.b2bpic.net/free-photo/white-plate-with-vegetables-cup-juice_114579-56225.jpg?w=400&q=75"},
|
||||
]}
|
||||
title="Signature Menu"
|
||||
description="Hand-picked ingredients prepared to perfection."
|
||||
@@ -140,15 +140,15 @@ export default function LandingPage() {
|
||||
author="Sarah M."
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/girl-puts-her-glasses-sitting-with-cup-coffee-cafe_8353-1376.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/girl-puts-her-glasses-sitting-with-cup-coffee-cafe_8353-1376.jpg?w=100&q=75", alt: "Customer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/woman-smiling_1187-3196.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/woman-smiling_1187-3196.jpg?w=100&q=75", alt: "Customer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/therapist-taking-notes-mental-health-progress-with-adolescent_482257-124828.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/therapist-taking-notes-mental-health-progress-with-adolescent_482257-124828.jpg?w=100&q=75", alt: "Customer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-joyful-woman-holding-mobile-phone_171337-4024.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-joyful-woman-holding-mobile-phone_171337-4024.jpg?w=100&q=75", alt: "Customer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/girl-sitting-table-holding-mobile-phone-indoors_171337-17096.jpg", alt: "Customer"},
|
||||
src: "http://img.b2bpic.net/free-photo/girl-sitting-table-holding-mobile-phone-indoors_171337-17096.jpg?w=100&q=75", alt: "Customer"},
|
||||
]}
|
||||
ratingAnimation="slide-up"
|
||||
avatarsAnimation="blur-reveal"
|
||||
@@ -190,7 +190,7 @@ export default function LandingPage() {
|
||||
name: "notes", placeholder: "Special requests or reservation time", rows: 4,
|
||||
required: false,
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/portrait-young-young-woman-sitting-modern-cafe_171337-17121.jpg"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/portrait-young-young-woman-sitting-modern-cafe_171337-17121.jpg?w=800&q=75"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user