Add src/app/admin/page.tsx
This commit is contained in:
61
src/app/admin/page.tsx
Normal file
61
src/app/admin/page.tsx
Normal file
@@ -0,0 +1,61 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||
|
||||
export default function AdminDashboardPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="noiseDiagonalGradient"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="medium"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Dashboard", id: "/admin" },
|
||||
]}
|
||||
brandName="YatraNepal Admin"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<main style={{ padding: "4rem 2rem", minHeight: "80vh" }}>
|
||||
<h1 style={{ fontSize: "2.5rem", fontWeight: "bold", marginBottom: "2rem" }}>Admin Dashboard</h1>
|
||||
<div style={{ display: "grid", gap: "2rem", gridTemplateColumns: "repeat(auto-fit, minmax(300px, 1fr))" }}>
|
||||
<div style={{ padding: "2rem", borderRadius: "1rem", border: "1px solid #e5e7eb" }}>
|
||||
<h2 style={{ fontSize: "1.5rem", fontWeight: "bold" }}>Bus Management</h2>
|
||||
<p style={{ marginTop: "1rem" }}>Manage fleet, registration numbers, and bus types.</p>
|
||||
</div>
|
||||
<div style={{ padding: "2rem", borderRadius: "1rem", border: "1px solid #e5e7eb" }}>
|
||||
<h2 style={{ fontSize: "1.5rem", fontWeight: "bold" }}>Route Management</h2>
|
||||
<p style={{ marginTop: "1rem" }}>Configure routes, schedules, and stop points.</p>
|
||||
</div>
|
||||
<div style={{ padding: "2rem", borderRadius: "1rem", border: "1px solid #e5e7eb" }}>
|
||||
<h2 style={{ fontSize: "1.5rem", fontWeight: "bold" }}>Driver Management</h2>
|
||||
<p style={{ marginTop: "1rem" }}>Assign drivers, track certifications, and performance.</p>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoReveal
|
||||
logoText="YatraNepal"
|
||||
leftLink={{ text: "Privacy Policy", href: "#" }}
|
||||
rightLink={{ text: "Terms of Service", href: "#" }}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user