Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d8be170c9 | |||
| adb4c5059a | |||
| 16d91c10b1 | |||
| 5e3d2f7e49 | |||
| ce2b5374fa | |||
| 3567d07d40 | |||
| 6c37ad726a |
@@ -1,83 +1,62 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import LegalSection from '@/components/legal/LegalSection';
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import TextAbout from '@/components/sections/about/TextAbout';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import ReactLenis from "lenis/react";
|
||||
|
||||
export default function AdminPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="rounded"
|
||||
contentWidth="small"
|
||||
sizing="largeSmall"
|
||||
background="fluid"
|
||||
cardStyle="inset"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="medium"
|
||||
defaultButtonVariant="text-stagger"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Catalog", id: "/catalog" },
|
||||
{ name: "Admin", id: "/admin" },
|
||||
]}
|
||||
brandName="Little Swan Baby"
|
||||
/>
|
||||
</div>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Catalog", id: "/catalog" },
|
||||
{ name: "Admin", id: "/admin" },
|
||||
]}
|
||||
brandName="Little Swan Baby"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="legal" data-section="legal">
|
||||
<LegalSection
|
||||
layout="section"
|
||||
title="Admin Dashboard Access"
|
||||
sections={[
|
||||
{
|
||||
heading: "Restricted Access", content: { text: "This area is strictly for authorized personnel only. Please contact support for credentials." },
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="content" className="py-20 px-6">
|
||||
<h1 className="text-4xl font-bold">Admin Dashboard</h1>
|
||||
<p>Welcome to the admin panel.</p>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<TextAbout
|
||||
useInvertedBackground={false}
|
||||
title="Dashboard Overview"
|
||||
tag="Security"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Company", items: [
|
||||
{
|
||||
label: "About Us", href: "#"},
|
||||
{
|
||||
label: "Contact", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Socials", items: [
|
||||
{
|
||||
label: "Instagram", href: "https://www.instagram.com/_little_swan_baby"},
|
||||
{
|
||||
label: "Telegram", href: "https://t.me/swan_baby_1"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2024 Little Swan Baby"
|
||||
bottomRightText="All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#" },
|
||||
{ label: "Contact", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Socials", items: [
|
||||
{ label: "Instagram", href: "https://www.instagram.com/_little_swan_baby" },
|
||||
{ label: "Telegram", href: "https://t.me/swan_baby_1" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2024 Little Swan Baby"
|
||||
bottomRightText="All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -30,17 +30,11 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "/",
|
||||
},
|
||||
name: "Home", id: "/"},
|
||||
{
|
||||
name: "Catalog",
|
||||
id: "/catalog",
|
||||
},
|
||||
name: "Catalog", id: "/catalog"},
|
||||
{
|
||||
name: "Admin",
|
||||
id: "/admin",
|
||||
},
|
||||
name: "Admin", id: "/admin"},
|
||||
]}
|
||||
brandName="Little Swan Baby"
|
||||
/>
|
||||
@@ -49,15 +43,12 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardScroll
|
||||
background={{
|
||||
variant: "sparkles-gradient",
|
||||
}}
|
||||
variant: "sparkles-gradient"}}
|
||||
title="Little Swan Baby"
|
||||
description="Premium clothing and toys for your little ones. Free delivery across Uzbekistan."
|
||||
buttons={[
|
||||
{
|
||||
text: "Shop Now",
|
||||
href: "/catalog",
|
||||
},
|
||||
text: "Shop Now", href: "/catalog"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/objects-showing-its-girl-expectancy_23-2150166726.jpg"
|
||||
imageAlt="baby clothing product white background"
|
||||
@@ -72,23 +63,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{
|
||||
title: "Free Shipping",
|
||||
description: "Free delivery across Uzbekistan on all orders.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/girl-front-christmas-tree-home_23-2147722677.jpg",
|
||||
imageAlt: "baby fashion photography",
|
||||
},
|
||||
title: "Free Shipping", description: "Free delivery across Uzbekistan on all orders.", imageSrc: "http://img.b2bpic.net/free-photo/girl-front-christmas-tree-home_23-2147722677.jpg", imageAlt: "baby fashion photography"},
|
||||
{
|
||||
title: "Secure Payments",
|
||||
description: "Safe and reliable payment processing.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-pregnancy-announcement-with-baby-items_23-2150252839.jpg",
|
||||
imageAlt: "baby fashion photography",
|
||||
},
|
||||
title: "Secure Payments", description: "Safe and reliable payment processing.", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-pregnancy-announcement-with-baby-items_23-2150252839.jpg", imageAlt: "baby fashion photography"},
|
||||
{
|
||||
title: "Quality Assured",
|
||||
description: "Only the best fabrics for your baby.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-baby-clothes-with-photo-camera_23-2148251466.jpg",
|
||||
imageAlt: "baby fashion photography",
|
||||
},
|
||||
title: "Quality Assured", description: "Only the best fabrics for your baby.", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-baby-clothes-with-photo-camera_23-2148251466.jpg", imageAlt: "baby fashion photography"},
|
||||
]}
|
||||
title="Why Choose Us"
|
||||
description="We ensure the highest quality for your baby."
|
||||
@@ -102,12 +81,7 @@ export default function LandingPage() {
|
||||
title="Trusted Partners"
|
||||
description="Collaborating with leading baby brands."
|
||||
names={[
|
||||
"BabyCo",
|
||||
"SoftStyle",
|
||||
"TinyThreads",
|
||||
"LittleFoot",
|
||||
"CradleSoft",
|
||||
]}
|
||||
"BabyCo", "SoftStyle", "TinyThreads", "LittleFoot", "CradleSoft"]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -120,23 +94,14 @@ export default function LandingPage() {
|
||||
description="Growing with your families every day."
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
icon: Smile,
|
||||
title: "Happy Babies",
|
||||
value: "5,000+",
|
||||
},
|
||||
id: "m1", icon: Smile,
|
||||
title: "Happy Babies", value: "5,000+"},
|
||||
{
|
||||
id: "m2",
|
||||
icon: Package,
|
||||
title: "Orders Delivered",
|
||||
value: "12,000+",
|
||||
},
|
||||
id: "m2", icon: Package,
|
||||
title: "Orders Delivered", value: "12,000+"},
|
||||
{
|
||||
id: "m3",
|
||||
icon: Star,
|
||||
title: "Avg. Rating",
|
||||
value: "4.9/5",
|
||||
},
|
||||
id: "m3", icon: Star,
|
||||
title: "Avg. Rating", value: "4.9/5"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -145,9 +110,11 @@ export default function LandingPage() {
|
||||
<ContactText
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
text="Manzil: Qo'qon shahar, Elaton 14-uy | Tel: +998916834194"
|
||||
buttons={[
|
||||
{ text: "Contact us on WhatsApp", href: "https://wa.me/998916834194" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -155,29 +122,19 @@ export default function LandingPage() {
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#",
|
||||
},
|
||||
label: "About Us", href: "#"},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#",
|
||||
},
|
||||
label: "Contact", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Socials",
|
||||
items: [
|
||||
title: "Socials", items: [
|
||||
{
|
||||
label: "Instagram",
|
||||
href: "https://www.instagram.com/_little_swan_baby",
|
||||
},
|
||||
label: "Instagram", href: "https://www.instagram.com/_little_swan_baby"},
|
||||
{
|
||||
label: "Telegram",
|
||||
href: "https://t.me/swan_baby_1",
|
||||
},
|
||||
label: "Telegram", href: "https://t.me/swan_baby_1"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -188,4 +145,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user