Files
0f4c33b9-bd5a-41fa-8c48-662…/src/app/admin/page.tsx
2026-03-04 15:51:54 +00:00

146 lines
5.3 KiB
TypeScript

"use client";
import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import MetricCardTwo from "@/components/sections/metrics/MetricCardTwo";
import ProductCardThree from "@/components/sections/product/ProductCardThree";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { BarChart3, Mail } from "lucide-react";
export default function AdminPanelPage() {
return (
<ThemeProvider
defaultButtonVariant="shift-hover"
defaultTextAnimation="background-highlight"
borderRadius="rounded"
contentWidth="mediumSmall"
sizing="largeSmallSizeMediumTitles"
background="noise"
cardStyle="solid"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="glass"
headingFontWeight="medium"
>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingInline
navItems={[
{ name: "Home", id: "/" },
{ name: "Features", id: "features" },
{ name: "Roles", id: "roles" },
{ name: "Contact", id: "contact" },
]}
brandName="LibraryRFID"
button={{ text: "Login", href: "/login" }}
animateOnLoad={true}
/>
</div>
<div id="admin-analytics" data-section="admin-analytics">
<MetricCardTwo
title="Admin Dashboard Metrics"
description="Comprehensive system analytics and performance indicators for complete library oversight and management."
tag="System Analytics"
tagIcon={BarChart3}
tagAnimation="slide-up"
textboxLayout="default"
animationType="slide-up"
gridVariant="uniform-all-items-equal"
useInvertedBackground={false}
metrics={[
{ id: "1", value: "500+", description: "Registered Students" },
{ id: "2", value: "10K+", description: "Books in System" },
{ id: "3", value: "5K+", description: "Monthly Transactions" },
{ id: "4", value: "$50K", description: "Total Fine Collections" },
]}
/>
</div>
<div id="admin-controls" data-section="admin-controls">
<ProductCardThree
title="Administrative Controls"
description="Full system management capabilities for administrators to maintain platform integrity and performance."
tag="Admin Tools"
tagAnimation="slide-up"
textboxLayout="default"
animationType="slide-up"
gridVariant="three-columns-all-equal-width"
useInvertedBackground={false}
products={[
{
id: "1",
name: "User Management",
price: "Full Control",
imageSrc: "http://img.b2bpic.net/free-photo/admin-proficient-data-center-management_482257-109240.jpg?_wi=2",
imageAlt: "User and account management",
},
{
id: "2",
name: "System Configuration",
price: "Settings",
imageSrc: "http://img.b2bpic.net/free-photo/system-backup-database-integration_53876-133637.jpg?_wi=2",
imageAlt: "System configuration and settings",
},
{
id: "3",
name: "Reports & Analytics",
price: "Insights",
imageSrc: "http://img.b2bpic.net/free-photo/luxurious-boardroom-space-within-multinational-company-used-meetings_482257-124520.jpg?_wi=3",
imageAlt: "Reports and data analytics",
},
]}
/>
</div>
<div id="contact" data-section="contact">
<ContactCTA
tag="Access Admin Panel"
tagIcon={Mail}
tagAnimation="slide-up"
title="Ready to Manage Your System?"
description="Login to your admin account to access comprehensive system management, analytics, and configuration tools."
buttons={[
{ text: "Admin Login", href: "/login" },
{ text: "Support Team", href: "#" },
]}
buttonAnimation="slide-up"
background={{ variant: "plain" }}
useInvertedBackground={false}
/>
</div>
<div id="footer" data-section="footer">
<FooterBaseReveal
columns={[
{
title: "Product",
items: [
{ label: "Features", href: "#features" },
{ label: "Pricing", href: "#pricing" },
{ label: "FAQ", href: "#faq" },
],
},
{
title: "System",
items: [
{ label: "Librarian Dashboard", href: "/librarian" },
{ label: "Admin Panel", href: "/admin" },
{ label: "Student Portal", href: "/student" },
],
},
{
title: "Company",
items: [
{ label: "About Us", href: "#" },
{ label: "Contact", href: "#contact" },
{ label: "Privacy Policy", href: "#" },
],
},
]}
copyrightText="© 2025 Smart Library Management System. All rights reserved."
/>
</div>
</ThemeProvider>
);
}