Add src/app/admin/page.tsx

This commit is contained in:
2026-06-03 08:40:36 +00:00
parent 09c0f1b240
commit 5c882a5cdd

130
src/app/admin/page.tsx Normal file
View File

@@ -0,0 +1,130 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import CardStack from "@/components/cardStack/CardStack";
import { Users, FileText, Newspaper, Brain, BarChart, Bell, CreditCard } from "lucide-react";
export default function AdminPage() {
return (
<ThemeProvider
defaultButtonVariant="bounce-effect"
defaultTextAnimation="entrance-slide"
borderRadius="soft"
contentWidth="compact"
sizing="largeSmallSizeMediumTitles"
background="fluid"
cardStyle="inset"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="layered"
headingFontWeight="semibold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
navItems={[
{ name: "Home", id: "/" },
{ name: "Features", id: "#features" },
{ name: "Metrics", id: "#metrics" },
{ name: "Pricing", id: "#pricing" },
{ name: "Testimonials", id: "#testimonials" },
{ name: "FAQ", id: "#faq" },
{ name: "Contact", id: "#contact" },
{ name: "Admin", id: "/admin" }
]}
logoSrc="http://img.b2bpic.net/free-vector/digital-connectivity-technology-icon-neon-gradient-background_53876-119515.jpg"
logoAlt="CryptoSphere Logo"
brandName="CryptoSphere"
button={{
text: "Sign Up", href: "#contact"}}
/>
</div>
<div id="admin-panel" data-section="admin-panel" className="py-24 sm:py-32">
<CardStack
animationType="slide-up"
gridVariant="two-columns-alternating-heights"
title="Admin Panel"
description="Manage your platform's users, content, settings, and subscriptions efficiently."
className="container"
>
<div className="flex flex-col items-start gap-4 p-6 bg-card text-foreground rounded-lg shadow-lg">
<Users className="w-8 h-8 text-primary-cta" />
<h3 className="text-xl font-semibold">User Management</h3>
<p className="text-muted-foreground">Manage user accounts, roles, and permissions.</p>
</div>
<div className="flex flex-col items-start gap-4 p-6 bg-card text-foreground rounded-lg shadow-lg">
<FileText className="w-8 h-8 text-primary-cta" />
<h3 className="text-xl font-semibold">Content Management</h3>
<p className="text-muted-foreground">Create, edit, and publish website content, pages, and media.</p>
</div>
<div className="flex flex-col items-start gap-4 p-6 bg-card text-foreground rounded-lg shadow-lg">
<Newspaper className="w-8 h-8 text-primary-cta" />
<h3 className="text-xl font-semibold">News Management</h3>
<p className="text-muted-foreground">Oversee news articles, announcements, and blog posts.</p>
</div>
<div className="flex flex-col items-start gap-4 p-6 bg-card text-foreground rounded-lg shadow-lg">
<Brain className="w-8 h-8 text-primary-cta" />
<h3 className="text-xl font-semibold">AI Settings</h3>
<p className="text-muted-foreground">Configure AI-driven features and automations.</p>
</div>
<div className="flex flex-col items-start gap-4 p-6 bg-card text-foreground rounded-lg shadow-lg">
<BarChart className="w-8 h-8 text-primary-cta" />
<h3 className="text-xl font-semibold">Website Analytics</h3>
<p className="text-muted-foreground">Monitor website performance, traffic, and user behavior.</p>
</div>
<div className="flex flex-col items-start gap-4 p-6 bg-card text-foreground rounded-lg shadow-lg">
<Bell className="w-8 h-8 text-primary-cta" />
<h3 className="text-xl font-semibold">Alert Management</h3>
<p className="text-muted-foreground">Set up and manage system alerts and notifications.</p>
</div>
<div className="flex flex-col items-start gap-4 p-6 bg-card text-foreground rounded-lg shadow-lg">
<CreditCard className="w-8 h-8 text-primary-cta" />
<h3 className="text-xl font-semibold">Subscription Management</h3>
<p className="text-muted-foreground">Handle user subscriptions, plans, and billing.</p>
</div>
</CardStack>
</div>
<div id="footer" data-section="footer">
<FooterSimple
columns={[
{
title: "Platform", items: [
{ label: "Features", href: "#features" },
{ label: "Pricing", href: "#pricing" },
{ label: "How It Works", href: "#about" },
],
},
{
title: "Company", items: [
{ label: "About Us", href: "#about" },
{ label: "Careers", href: "#" },
{ label: "Blog", href: "#" },
],
},
{
title: "Support", items: [
{ label: "FAQ", href: "#faq" },
{ label: "Help Center", href: "#" },
{ label: "Contact Us", href: "#contact" },
],
},
{
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
{ label: "Disclaimer", href: "#" },
],
},
]}
bottomLeftText="© 2024 CryptoSphere. All rights reserved."
bottomRightText="Built with Webild"
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}