Merge version_2 into main #2
274
src/app/page.tsx
274
src/app/page.tsx
@@ -2,6 +2,8 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { motion, AnimatePresence } from "framer-motion";
|
||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
@@ -10,6 +12,13 @@ import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleAp
|
||||
import TeamCardSix from '@/components/sections/team/TeamCardSix';
|
||||
|
||||
export default function LandingPage() {
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
const timer = setTimeout(() => setLoading(false), 2000);
|
||||
return () => clearTimeout(timer);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-bubble"
|
||||
@@ -23,170 +32,119 @@ export default function LandingPage() {
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<AnimatePresence>
|
||||
{loading && (
|
||||
<motion.div
|
||||
initial={{ opacity: 1 }}
|
||||
exit={{ opacity: 0 }}
|
||||
className="fixed inset-0 z-[9999] flex items-center justify-center bg-black"
|
||||
>
|
||||
<motion.div
|
||||
className="h-full w-full bg-gradient-to-r from-purple-600 via-blue-500 to-indigo-600 opacity-50 blur-3xl"
|
||||
animate={{
|
||||
scale: [1, 1.5, 1],
|
||||
rotate: [0, 180, 360],
|
||||
}}
|
||||
transition={{
|
||||
duration: 2,
|
||||
ease: "easeInOut", repeat: 0,
|
||||
}}
|
||||
/>
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "Gallery",
|
||||
id: "gallery",
|
||||
},
|
||||
{
|
||||
name: "Instructors",
|
||||
id: "team",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
]}
|
||||
brandName="PLAZMA"
|
||||
/>
|
||||
</div>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "Gallery", id: "gallery" },
|
||||
{ name: "Instructors", id: "team" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
brandName="PLAZMA"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardGallery
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
title="Plazma O'quv Markazi"
|
||||
description="Unlock your potential with our modern learning environment. Explore our classrooms in 360 degrees."
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BVwyn10OXPnIdbSXyew2TK20Qe/uploaded-1774587831848-2ehtadis.jpg?_wi=1",
|
||||
imageAlt: "Plazma Logo",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-writing-business-idea_23-2148898701.jpg?_wi=1",
|
||||
imageAlt: "360 Classroom View 1",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/long-corridor-with-windows_1127-2126.jpg?_wi=1",
|
||||
imageAlt: "360 Classroom View 2",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BVwyn10OXPnIdbSXyew2TK20Qe/uploaded-1774587831848-2ehtadis.jpg?_wi=2",
|
||||
imageAlt: "Plazma Logo",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-writing-business-idea_23-2148898701.jpg?_wi=2",
|
||||
imageAlt: "360 Classroom View 1",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/long-corridor-with-windows_1127-2126.jpg?_wi=2",
|
||||
imageAlt: "360 Classroom View 2",
|
||||
},
|
||||
]}
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardGallery
|
||||
background={{ variant: "gradient-bars" }}
|
||||
title="Plazma O'quv Markazi"
|
||||
description="Unlock your potential with our modern learning environment. Explore our classrooms in 360 degrees."
|
||||
mediaItems={[
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BVwyn10OXPnIdbSXyew2TK20Qe/uploaded-1774587831848-2ehtadis.jpg?_wi=1", imageAlt: "Plazma Logo" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/man-writing-business-idea_23-2148898701.jpg?_wi=1", imageAlt: "360 Classroom View 1" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/long-corridor-with-windows_1127-2126.jpg?_wi=1", imageAlt: "360 Classroom View 2" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BVwyn10OXPnIdbSXyew2TK20Qe/uploaded-1774587831848-2ehtadis.jpg?_wi=2", imageAlt: "Plazma Logo" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/man-writing-business-idea_23-2148898701.jpg?_wi=2", imageAlt: "360 Classroom View 1" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/long-corridor-with-windows_1127-2126.jpg?_wi=2", imageAlt: "360 Classroom View 2" },
|
||||
]}
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="gallery" data-section="gallery">
|
||||
<FeatureCardNine
|
||||
animationType="slide-up"
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Virtual Campus",
|
||||
description: "Explore our primary learning lab in fully interactive 360 mode.",
|
||||
phoneOne: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-writing-business-idea_23-2148898701.jpg?_wi=3",
|
||||
},
|
||||
phoneTwo: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/long-corridor-with-windows_1127-2126.jpg?_wi=3",
|
||||
},
|
||||
},
|
||||
]}
|
||||
showStepNumbers={false}
|
||||
title="Interactive 360 Tours"
|
||||
description="Experience our state-of-the-art facilities from anywhere with our immersive 360-degree tour technology."
|
||||
/>
|
||||
</div>
|
||||
<div id="gallery" data-section="gallery">
|
||||
<FeatureCardNine
|
||||
animationType="slide-up"
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Virtual Campus", description: "Explore our primary learning lab in fully interactive 360 mode.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/man-writing-business-idea_23-2148898701.jpg?_wi=3" },
|
||||
phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/long-corridor-with-windows_1127-2126.jpg?_wi=3" },
|
||||
},
|
||||
]}
|
||||
showStepNumbers={false}
|
||||
title="Interactive 360 Tours"
|
||||
description="Experience our state-of-the-art facilities from anywhere with our immersive 360-degree tour technology."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="team" data-section="team">
|
||||
<TeamCardSix
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={true}
|
||||
members={[
|
||||
{
|
||||
id: "member-1",
|
||||
name: "Dr. Aziz Aliev",
|
||||
role: "Lead Instructor",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-library-couch_273609-12733.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
id: "member-2",
|
||||
name: "Gulnora Karimova",
|
||||
role: "Senior Tutor",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-professor-teaching-school_23-2150911629.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
id: "member-3",
|
||||
name: "Dr. Aziz Aliev",
|
||||
role: "Lead Instructor",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-library-couch_273609-12733.jpg?_wi=2",
|
||||
},
|
||||
{
|
||||
id: "member-4",
|
||||
name: "Gulnora Karimova",
|
||||
role: "Senior Tutor",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-professor-teaching-school_23-2150911629.jpg?_wi=2",
|
||||
},
|
||||
]}
|
||||
title="Meet Our Experts"
|
||||
description="Our dedicated team of professionals is committed to your educational journey."
|
||||
/>
|
||||
</div>
|
||||
<div id="team" data-section="team">
|
||||
<TeamCardSix
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={true}
|
||||
members={[
|
||||
{ id: "member-1", name: "Dr. Aziz Aliev", role: "Lead Instructor", imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-library-couch_273609-12733.jpg?_wi=1" },
|
||||
{ id: "member-2", name: "Gulnora Karimova", role: "Senior Tutor", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-professor-teaching-school_23-2150911629.jpg?_wi=1" },
|
||||
{ id: "member-3", name: "Dr. Aziz Aliev", role: "Lead Instructor", imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-library-couch_273609-12733.jpg?_wi=2" },
|
||||
{ id: "member-4", name: "Gulnora Karimova", role: "Senior Tutor", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-professor-teaching-school_23-2150911629.jpg?_wi=2" },
|
||||
]}
|
||||
title="Meet Our Experts"
|
||||
description="Our dedicated team of professionals is committed to your educational journey."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCenter
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
tag="Join Us"
|
||||
title="Ready to Start?"
|
||||
description="Get in touch with Plazma O'quv Markazi to begin your path to excellence."
|
||||
/>
|
||||
</div>
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCenter
|
||||
useInvertedBackground={false}
|
||||
background={{ variant: "plain" }}
|
||||
tag="Join Us"
|
||||
title="Ready to Start?"
|
||||
description="Get in touch with Plazma O'quv Markazi to begin your path to excellence."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Links",
|
||||
items: [
|
||||
{
|
||||
label: "Home",
|
||||
href: "#hero",
|
||||
},
|
||||
{
|
||||
label: "Tour",
|
||||
href: "#gallery",
|
||||
},
|
||||
{
|
||||
label: "Instructors",
|
||||
href: "#team",
|
||||
},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2024 Plazma O'quv Markazi"
|
||||
bottomRightText="All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Links", items: [
|
||||
{ label: "Home", href: "#hero" },
|
||||
{ label: "Tour", href: "#gallery" },
|
||||
{ label: "Instructors", href: "#team" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2024 Plazma O'quv Markazi"
|
||||
bottomRightText="All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user