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