3 Commits

Author SHA1 Message Date
5c0fed59b3 Update src/app/page.tsx 2026-05-24 09:17:35 +00:00
1fd2185d92 Update src/app/admin/page.tsx 2026-05-24 09:17:35 +00:00
3b06c86cda Merge version_2 into main
Merge version_2 into main
2026-05-24 09:13:25 +00:00
2 changed files with 39 additions and 58 deletions

View File

@@ -1,72 +1,53 @@
"use client";
import { useState } from "react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterCard from '@/components/sections/footer/FooterCard';
import MediaAbout from '@/components/sections/about/MediaAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
export default function AdminPage() {
const [templates, setTemplates] = useState([]);
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
defaultTextAnimation="background-highlight"
borderRadius="pill"
contentWidth="medium"
sizing="medium"
background="circleGradient"
cardStyle="glass-elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
headingFontWeight="normal"
defaultButtonVariant="text-stagger"
defaultTextAnimation="background-highlight"
borderRadius="pill"
contentWidth="medium"
sizing="medium"
background="circleGradient"
cardStyle="glass-elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
headingFontWeight="normal"
>
<ReactLenis root>
<div style={{ backgroundImage: "url('https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EACxAErYjKmkktsc1OnkSFxcSZ/uploaded-1779613980939-kyufwnfu.jpg')", backgroundSize: 'cover', backgroundAttachment: 'fixed' }}>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "Templates", id: "/templates" },
{ name: "Freebies", id: "/freebies" },
{ name: "About", id: "/about" },
{ name: "Admin", id: "/admin" },
]}
brandName="BrightBytee Studios"
/>
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "Templates", id: "/templates" },
{ name: "Freebies", id: "/freebies" },
{ name: "About", id: "/about" },
{ name: "Admin", id: "/admin" },
]}
brandName="BrightBytee Studios"
/>
<main className="pt-32 pb-20 px-6 container mx-auto">
<h1 className="text-4xl font-bold mb-8">Admin Dashboard</h1>
<div className="bg-white/10 p-8 rounded-2xl backdrop-blur-md">
<h2 className="text-2xl font-semibold mb-6">Template Management</h2>
<div className="border-2 border-dashed border-white/20 p-12 text-center rounded-xl">
<p className="mb-4">Upload new templates for the storefront.</p>
<button className="bg-primary text-white px-6 py-2 rounded-full">Choose Files</button>
</div>
<div id="about" data-section="about">
<MediaAbout
useInvertedBackground={false}
title="Admin Control Portal"
description="Securely manage templates, monitor sales, and view analytics for the entire studio ecosystem."
imageSrc="http://img.b2bpic.net/free-photo/portrait-exhausted-workaholic-man-manager-typing-financial-strategy-using-laptop-computer-while-sitting-desk-table-business-company-office_482257-2321.jpg"
/>
</div>
<div id="pricing" data-section="pricing">
<PricingCardOne
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
title="Manage Operations"
description="Direct access to product lifecycle and customer support ticketing."
plans={[
{ id: "a1", badge: "Analytics", price: "₹N/A", subtitle: "Live statistics", features: ["Sales Tracking", "Template Performance", "User Insights"] },
{ id: "a2", badge: "Support", price: "₹N/A", subtitle: "Customer hub", features: ["Manage Tickets", "Refund Processing", "Priority Communications"] }
]}
/>
</div>
<div id="footer" data-section="footer">
<FooterCard
logoText="BrightBytee Studios"
copyrightText="© 2025 BrightBytee Studios. All Rights Reserved."
/>
<div className="mt-8">
<h3 className="text-xl mb-4">Current Templates</h3>
{templates.length === 0 ? (
<p className="text-sm opacity-70">No templates uploaded yet.</p>
) : (
<div>{/* Template list logic */}</div>
)}
</div>
</div>
</ReactLenis>
</main>
</ThemeProvider>
);
}

View File

@@ -117,4 +117,4 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}
}