Add src/app/admin/dashboard/page.tsx
This commit is contained in:
58
src/app/admin/dashboard/page.tsx
Normal file
58
src/app/admin/dashboard/page.tsx
Normal file
@@ -0,0 +1,58 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
|
||||
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: "Dashboard", id: "#" },
|
||||
{ name: "Reports", id: "#" },
|
||||
{ name: "Settings", id: "#" },
|
||||
]}
|
||||
brandName="YatraAdmin"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="metrics" data-section="metrics" className="py-20">
|
||||
<MetricCardFourteen
|
||||
title="Admin Analytics"
|
||||
tag="System Overview"
|
||||
metrics={[
|
||||
{ id: "1", value: "852", description: "Total Bookings Today" },
|
||||
{ id: "2", value: "Rs 4.2L", description: "Revenue Collected" },
|
||||
{ id: "3", value: "98%", description: "Payment Reconciliation Rate" },
|
||||
]}
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoReveal
|
||||
logoText="YatraAdmin"
|
||||
leftLink={{ text: "Support", href: "#" }}
|
||||
rightLink={{ text: "Logout", href: "/" }}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user