feat: Scroll Animations

This commit is contained in:
Dex404 2024-04-18 08:53:36 +00:00
parent 84c14cec5a
commit ff7bbd72a4
16 changed files with 769 additions and 319 deletions

View file

@ -1,59 +1,65 @@
import { Button } from "components/Button/Button"
import MoveUpWhenVisible from "utils/ScrollAnimations/MoveUpOnScroll"
export default function ContactUs() {
return (
<div className="mx-auto max-w-screen-md px-4 py-8 lg:py-16">
<h2 className="mb-4 text-center text-4xl font-extrabold capitalize leading-none tracking-tight text-white md:text-4xl xl:text-5xl">
Contact Us
</h2>
<p className="mb-8 text-center font-light text-slate-200 dark:text-gray-400 sm:text-xl lg:mb-16">
Got a technical issue? Want to send feedback about a beta feature? Need details about our Business plan? Let us
know.
</p>
<form action="#" className="space-y-8">
<div>
<label htmlFor="email" className="mb-2 block text-sm font-medium text-white dark:text-gray-300">
Your email
</label>
<input
type="email"
id="email"
className="dark:shadow-sm-light block w-full rounded-lg border border-gray-300 bg-homeBg2 p-2.5 text-sm text-white shadow-sm focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-primary-500 dark:focus:ring-primary-500"
placeholder="name@gmail.com"
required
/>
</div>
<div>
<label htmlFor="subject" className="mb-2 block text-sm font-medium text-white dark:text-gray-300">
Subject
</label>
<input
type="text"
id="subject"
className="dark:shadow-sm-light block w-full rounded-lg border border-gray-300 bg-homeBg2 p-3 text-sm text-white shadow-sm focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-primary-500 dark:focus:ring-primary-500"
placeholder="Let us know how we can help you"
required
/>
</div>
<div className="sm:col-span-2">
<label htmlFor="message" className="mb-2 block text-sm font-medium text-white dark:text-gray-400">
Your message
</label>
<textarea
id="message"
rows={6}
className="block w-full rounded-lg border border-gray-300 bg-homeBg2 p-2.5 text-sm text-white shadow-sm focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-primary-500 dark:focus:ring-primary-500"
placeholder="Leave a comment..."
></textarea>
</div>
<Button
type="submit"
href="#"
className="rounded-lg bg-gradient-to-r from-vizoleG1 via-vizoleG2 to-vizoleG3 px-5 py-3 text-center text-sm font-medium text-white hover:bg-primary-800 focus:outline-none focus:ring-4 focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800 sm:w-fit"
>
Send message
</Button>
</form>
<MoveUpWhenVisible>
<h2 className="mb-4 text-center text-4xl font-extrabold capitalize leading-none tracking-tight text-white md:text-4xl xl:text-5xl">
Contact Us
</h2>
</MoveUpWhenVisible>
<MoveUpWhenVisible>
<p className="mb-8 text-center font-light text-slate-200 dark:text-gray-400 sm:text-xl lg:mb-16">
Got a technical issue? Want to send feedback about a beta feature? Need details about our Business plan? Let
us know.
</p>
</MoveUpWhenVisible>
<MoveUpWhenVisible>
<form action="#" className="space-y-8">
<div>
<label htmlFor="email" className="mb-2 block text-sm font-medium text-white dark:text-gray-300">
Your email
</label>
<input
type="email"
id="email"
className="dark:shadow-sm-light block w-full rounded-lg border border-gray-300 bg-homeBg2 p-2.5 text-sm text-white shadow-sm focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-primary-500 dark:focus:ring-primary-500"
placeholder="name@gmail.com"
required
/>
</div>
<div>
<label htmlFor="subject" className="mb-2 block text-sm font-medium text-white dark:text-gray-300">
Subject
</label>
<input
type="text"
id="subject"
className="dark:shadow-sm-light block w-full rounded-lg border border-gray-300 bg-homeBg2 p-3 text-sm text-white shadow-sm focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-primary-500 dark:focus:ring-primary-500"
placeholder="Let us know how we can help you"
required
/>
</div>
<div className="sm:col-span-2">
<label htmlFor="message" className="mb-2 block text-sm font-medium text-white dark:text-gray-400">
Your message
</label>
<textarea
id="message"
rows={6}
className="block w-full rounded-lg border border-gray-300 bg-homeBg2 p-2.5 text-sm text-white shadow-sm focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-primary-500 dark:focus:ring-primary-500"
placeholder="Leave a comment..."
></textarea>
</div>
<Button
type="submit"
href="#"
className="rounded-lg bg-gradient-to-r from-vizoleG1 via-vizoleG2 to-vizoleG3 px-5 py-3 text-center text-sm font-medium text-white hover:bg-primary-800 focus:outline-none focus:ring-4 focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800 sm:w-fit"
>
Send message
</Button>
</form>
</MoveUpWhenVisible>
</div>
)
}

View file

@ -22,7 +22,6 @@ function Footer() {
<div className="p-5">
<ul>
<p className="pb-4 text-2xl font-bold text-white">Services</p>
<li className="text-md cursor-pointer pb-2 font-semibold text-gray-500 hover:text-vizoleG2">Stocks</li>
<li className="text-md cursor-pointer pb-2 font-semibold text-gray-500 hover:text-vizoleG2">
Web Development
</li>

View file

@ -33,7 +33,6 @@ const ImageFilter = () => {
))}
{/* filtered cards display */}
</div>
{/* <main className="grid w-full gap-x-5 gap-y-8 md:mt-8 md:grid-cols-2 lg:grid-cols-3"> */}
<main className="grid max-w-full grid-cols-1 place-items-center gap-3 p-4 md:max-w-full md:grid-cols-3">
{FilterableData.map((item, index) => (
<motion.div

View file

@ -156,7 +156,7 @@ const Navbar: React.FC<NavbarProps> = ({ logoSrc }) => {
<div className="mt-2 flex flex-col rounded-lg border border-gray-100 bg-transparent font-medium rtl:space-x-reverse dark:border-gray-700 dark:bg-gray-800 md:mt-2 md:flex-row md:space-x-8 md:border-0 md:bg-transparent md:p-0 md:dark:bg-gray-900">
<li>
<a
href="#"
href="#home"
className="block rounded px-3 py-2 text-white hover:text-vizoleG2 md:p-0"
aria-current="page"
>
@ -165,7 +165,7 @@ const Navbar: React.FC<NavbarProps> = ({ logoSrc }) => {
</li>
<li>
<a
href="#"
href="#services"
className="block rounded px-3 py-2 text-white hover:bg-gray-100 hover:text-vizoleG2 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:p-0 md:hover:bg-transparent md:hover:text-blue-700 md:dark:hover:bg-transparent md:dark:hover:text-blue-500"
>
Services
@ -173,7 +173,7 @@ const Navbar: React.FC<NavbarProps> = ({ logoSrc }) => {
</li>
<li>
<a
href="#"
href="#portfolio"
className="block rounded px-3 py-2 text-white hover:bg-gray-100 hover:text-vizoleG2 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:p-0 md:hover:bg-transparent md:hover:text-blue-700 md:dark:hover:bg-transparent md:dark:hover:text-blue-500"
>
Portfolio
@ -181,7 +181,7 @@ const Navbar: React.FC<NavbarProps> = ({ logoSrc }) => {
</li>
<li>
<a
href="#"
href="#aboutUs"
className="block rounded px-3 py-2 text-white hover:bg-gray-100 hover:text-vizoleG2 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:p-0 md:hover:bg-transparent md:hover:text-blue-700 md:dark:hover:bg-transparent md:dark:hover:text-blue-500"
>
About

View file

@ -1,175 +1,189 @@
import { Glow, GlowCapture } from "@codaworks/react-glow"
import { BsAndroid, BsApple, BsGlobe2, BsHeadsetVr } from "react-icons/bs"
import MoveLeftWhenVisible from "utils/ScrollAnimations/MoveLeftOnScroll"
import MoveUpWhenVisible from "utils/ScrollAnimations/MoveUpOnScroll"
export default function OurServices() {
return (
<div>
<GlowCapture>
<div className="z_fold:w-[100%] flex flex-col items-center justify-around">
<div className="mb-4 max-w-3xl text-center text-4xl font-extrabold capitalize leading-none tracking-tight text-white md:text-4xl xl:text-5xl">
<h2 className="bg-gradient-to-r from-slate-400 via-white to-slate-400 bg-clip-text text-transparent">
Our Services
</h2>
<MoveLeftWhenVisible>
<h2 className="bg-gradient-to-r from-slate-400 via-white to-slate-400 bg-clip-text text-transparent">
Our Services
</h2>
</MoveLeftWhenVisible>
</div>
<p className="mb-6 max-w-2xl text-center font-light text-[#94a3b8] md:text-lg lg:mb-8 lg:text-xl">
Let us transform your vision into reality with cutting-edge VR/AR experiences and custom software solutions
powered by AI.
</p>
<MoveLeftWhenVisible>
<p className="mb-6 max-w-2xl text-center font-light text-[#94a3b8] md:text-lg lg:mb-8 lg:text-xl">
Let us transform your vision into reality with cutting-edge VR/AR experiences and custom software
solutions powered by AI.
</p>
</MoveLeftWhenVisible>
</div>
<div className=" mt-10 grid max-w-full grid-cols-1 gap-4 sm:grid-cols-1 md:grid-cols-2">
<Glow color="#F0B37D">
<div className="glowable-text flex max-w-[100%] items-center rounded-[20px] border p-4 glow:border-glow glow:bg-glow/[.50] glow:ring-2 glow:ring-glow max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className=" text-center">
<div className="mr-3 inline-flex flex-shrink-0 items-center justify-center rounded-full px-5 ">
<BsGlobe2 className="h-[50px] w-[50px] text-white" />
<MoveUpWhenVisible>
<div className="glowable-text flex max-w-[100%] items-center rounded-[20px] border p-4 glow:border-glow glow:bg-glow/[.50] glow:ring-2 glow:ring-glow max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className=" text-center">
<div className="mr-3 inline-flex flex-shrink-0 items-center justify-center rounded-full px-5 ">
<BsGlobe2 className="h-[50px] w-[50px] text-white" />
</div>
</div>
</div>
<div className="z_fold:w-[100%] flex h-full flex-col rounded-lg max-md:items-center max-md:justify-center">
<div className="mb-3 flex items-center ">
<h2 className="mb-4 max-w-3xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white max-md:text-center md:text-4xl xl:text-3xl">
Web Devlopment
</h2>
</div>
<div className="flex flex-grow flex-col justify-between">
<p className="text-justify text-base leading-relaxed text-gray-300">
We craft engaging and responsive websites that captivate users and drive business growth.
</p>
<a
href="#"
className="mt-3 inline-flex items-center text-gray-300 hover:text-white dark:text-white max-md:text-center"
>
Learn More
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
className="ml-2 h-4 w-4"
viewBox="0 0 24 24"
<div className="z_fold:w-[100%] flex h-full flex-col rounded-lg max-md:items-center max-md:justify-center">
<div className="mb-3 flex items-center ">
<h2 className="mb-4 max-w-3xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white max-md:text-center md:text-4xl xl:text-3xl">
Web Devlopment
</h2>
</div>
<div className="flex flex-grow flex-col justify-between">
<p className="text-justify text-base leading-relaxed text-gray-300">
We craft engaging and responsive websites that captivate users and drive business growth.
</p>
<a
href="#"
className="mt-3 inline-flex items-center text-gray-300 hover:text-white dark:text-white max-md:text-center"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
Learn More
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
className="ml-2 h-4 w-4"
viewBox="0 0 24 24"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</div>
</div>
</MoveUpWhenVisible>
</Glow>
<Glow color="#F0B37D">
<div className="glowable-text flex max-w-[100%] items-center rounded-[20px] border p-4 glow:border-glow glow:bg-glow/[.50] glow:ring-2 glow:ring-glow max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className=" text-center">
<div className="mr-3 inline-flex flex-shrink-0 items-center justify-center rounded-full px-5 ">
<BsApple className="h-[50px] w-[50px] text-white" />
<MoveUpWhenVisible>
<div className="glowable-text flex max-w-[100%] items-center rounded-[20px] border p-4 glow:border-glow glow:bg-glow/[.50] glow:ring-2 glow:ring-glow max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className=" text-center">
<div className="mr-3 inline-flex flex-shrink-0 items-center justify-center rounded-full px-5 ">
<BsApple className="h-[50px] w-[50px] text-white" />
</div>
</div>
</div>
<div className="flex h-full flex-col rounded-lg max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className="mb-3 flex items-center ">
<h2 className="mb-4 max-w-3xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white max-md:text-center md:text-4xl xl:text-3xl">
IOS Application Development
</h2>
</div>
<div className="flex flex-grow flex-col justify-between">
<p className="text-base leading-relaxed text-gray-300">
Our skilled team designs and develops intuitive iOS apps that seamlessly integrate with Apple
devices.
</p>
<a
href="#"
className="mt-3 inline-flex items-center text-gray-300 hover:text-white dark:text-white max-md:text-center"
>
Learn More
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
className="ml-2 h-4 w-4"
viewBox="0 0 24 24"
<div className="flex h-full flex-col rounded-lg max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className="mb-3 flex items-center ">
<h2 className="mb-4 max-w-3xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white max-md:text-center md:text-4xl xl:text-3xl">
IOS Application Development
</h2>
</div>
<div className="flex flex-grow flex-col justify-between">
<p className="text-base leading-relaxed text-gray-300">
Our skilled team designs and develops intuitive iOS apps that seamlessly integrate with Apple
devices.
</p>
<a
href="#"
className="mt-3 inline-flex items-center text-gray-300 hover:text-white dark:text-white max-md:text-center"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
Learn More
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
className="ml-2 h-4 w-4"
viewBox="0 0 24 24"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</div>
</div>
</MoveUpWhenVisible>
</Glow>
<Glow color="#F0B37D">
<div className=" glowable-text flex max-w-[100%] items-center rounded-[20px] border p-4 glow:border-glow glow:bg-glow/[.50] glow:ring-2 glow:ring-glow max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className=" text-center">
<div className="mr-3 inline-flex flex-shrink-0 items-center justify-center rounded-full px-5 ">
<BsAndroid className="h-[50px] w-[50px] text-white" />
<MoveUpWhenVisible>
<div className=" glowable-text flex max-w-[100%] items-center rounded-[20px] border p-4 glow:border-glow glow:bg-glow/[.50] glow:ring-2 glow:ring-glow max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className=" text-center">
<div className="mr-3 inline-flex flex-shrink-0 items-center justify-center rounded-full px-5 ">
<BsAndroid className="h-[50px] w-[50px] text-white" />
</div>
</div>
</div>
<div className="flex h-full flex-col rounded-lg max-md:flex-wrap max-md:items-center max-md:justify-center ">
<div className="mb-3 flex items-center ">
<h2 className="mb-4 max-w-3xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white max-md:text-center md:text-4xl xl:text-3xl">
Android Application Development
</h2>
</div>
<div className="flex flex-grow flex-col justify-between">
<p className="text-base leading-relaxed text-gray-300">
From concept to deployment, we create robust Android apps that cater to a diverse user base.
</p>
<a
href="#"
className="mt-3 inline-flex items-center text-gray-300 hover:text-white dark:text-white max-md:text-center"
>
Learn More
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
className="ml-2 h-4 w-4"
viewBox="0 0 24 24"
<div className="flex h-full flex-col rounded-lg max-md:flex-wrap max-md:items-center max-md:justify-center ">
<div className="mb-3 flex items-center ">
<h2 className="mb-4 max-w-3xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white max-md:text-center md:text-4xl xl:text-3xl">
Android Application Development
</h2>
</div>
<div className="flex flex-grow flex-col justify-between">
<p className="text-base leading-relaxed text-gray-300">
From concept to deployment, we create robust Android apps that cater to a diverse user base.
</p>
<a
href="#"
className="mt-3 inline-flex items-center text-gray-300 hover:text-white dark:text-white max-md:text-center"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
Learn More
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
className="ml-2 h-4 w-4"
viewBox="0 0 24 24"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</div>
</div>
</MoveUpWhenVisible>
</Glow>
<Glow color="#F0B37D">
<div className=" glowable-text flex max-w-[100%] items-center rounded-[20px] border p-4 glow:border-glow glow:bg-glow/[.50] glow:ring-2 glow:ring-glow max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className=" text-center">
<div className="mr-3 inline-flex flex-shrink-0 items-center justify-center rounded-full px-5 ">
<BsHeadsetVr className="h-[50px] w-[50px] text-white" />
<MoveUpWhenVisible>
<div className=" glowable-text flex max-w-[100%] items-center rounded-[20px] border p-4 glow:border-glow glow:bg-glow/[.50] glow:ring-2 glow:ring-glow max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className=" text-center">
<div className="mr-3 inline-flex flex-shrink-0 items-center justify-center rounded-full px-5 ">
<BsHeadsetVr className="h-[50px] w-[50px] text-white" />
</div>
</div>
</div>
<div className="flex h-full flex-col rounded-lg max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className="mb-3 flex items-center ">
<h2 className="mb-4 max-w-3xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white max-md:text-center md:text-4xl xl:text-3xl">
Apps for AR Devices
</h2>
</div>
<div className="flex flex-grow flex-col justify-between">
<p className="text-base leading-relaxed text-gray-300">
Immerse users in augmented reality experiences with our cutting-edge applications for MetaQuest and
Apple Vision Pro.
</p>
<a
href="#"
className="mt-3 inline-flex items-center text-gray-300 hover:text-white dark:text-white max-md:text-center"
>
Learn More
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
className="ml-2 h-4 w-4"
viewBox="0 0 24 24"
<div className="flex h-full flex-col rounded-lg max-md:flex-wrap max-md:items-center max-md:justify-center">
<div className="mb-3 flex items-center ">
<h2 className="mb-4 max-w-3xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white max-md:text-center md:text-4xl xl:text-3xl">
Apps for AR Devices
</h2>
</div>
<div className="flex flex-grow flex-col justify-between">
<p className="text-base leading-relaxed text-gray-300">
Immerse users in augmented reality experiences with our cutting-edge applications for MetaQuest
and Apple Vision Pro.
</p>
<a
href="#"
className="mt-3 inline-flex items-center text-gray-300 hover:text-white dark:text-white max-md:text-center"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
Learn More
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
className="ml-2 h-4 w-4"
viewBox="0 0 24 24"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</div>
</div>
</MoveUpWhenVisible>
</Glow>
</div>
</GlowCapture>

View file

@ -1,22 +1,29 @@
import ImageFilter from "components/ImageFilter/ImageFilter"
import MoveDownWhenVisible from "utils/ScrollAnimations/MoveDownOnScroll"
import MoveRightWhenVisible from "utils/ScrollAnimations/MoveRightOnScroll"
export default function Portfolio() {
return (
<>
<div className="mx-auto place-self-center text-center">
<div className="mb-4 text-center text-4xl font-extrabold capitalize leading-none tracking-tight text-white md:text-4xl xl:text-5xl">
<h1 className="bg-gradient-to-r from-slate-400 via-white to-slate-400 bg-clip-text text-transparent">
Our Portfolio
</h1>
<MoveDownWhenVisible>
<h1 className="bg-gradient-to-r from-slate-400 via-white to-slate-400 bg-clip-text text-transparent">
Our Portfolio
</h1>
</MoveDownWhenVisible>
</div>
<p className="pl-5 pr-5 text-2xl text-white">
The showcase of our innovations. Dive in to explore our diverse range of projects and see how we’re driving
digital transformation across industries.”
</p>
</div>
<div>
<ImageFilter />
<MoveDownWhenVisible>
<p className="pl-5 pr-5 text-2xl text-white">
The showcase of our innovations. Dive in to explore our diverse range of projects and see how we’re driving
digital transformation across industries.”
</p>
</MoveDownWhenVisible>
</div>
<MoveRightWhenVisible>
<div>
<ImageFilter />
</div>
</MoveRightWhenVisible>
</>
)
}

View file

@ -3,7 +3,10 @@ import { TiTick } from "react-icons/ti"
import { BsPlayCircle } from "react-icons/bs"
import { Modal } from "components/Modal/Modal"
import { useState } from "react"
import { motion } from "framer-motion"
import MoveUpWhenVisible from "utils/ScrollAnimations/MoveUpOnScroll"
import MoveTopLeftWhenVisible from "utils/ScrollAnimations/MoveTopLeftOnScroll"
import MoveRightWhenVisible from "utils/ScrollAnimations/MoveRightOnScroll"
import { Move } from "@tsparticles/engine"
export default function AboutUs() {
const [isModalOpen, setIsModalOpen] = useState(false)
@ -18,74 +21,84 @@ export default function AboutUs() {
backgroundRepeat: "no-repeat",
}}
>
<div className="flex w-[100%] justify-around pb-[10vh] pt-[5vh] max-md:flex-wrap">
<div className="mx-auto max-w-screen-xl px-4 py-8 lg:py-16">
<div className="mr-[15%] flex w-[100%] justify-center pb-[10vh] pt-[5vh] max-md:flex-wrap">
<div className="ml-[5%] mr-[5%] max-w-screen-xl px-4 py-8 lg:py-16">
<div className="mx-auto text-left text-white">
<h4 className="bg-gradient-to-r from-vizoleG1 via-vizoleG2 to-vizoleG3 bg-clip-text pt-20 font-bold text-transparent ">
About Vizole Labs
</h4>
<MoveUpWhenVisible>
<h4 className="bg-gradient-to-r from-vizoleG1 via-vizoleG2 to-vizoleG3 bg-clip-text pt-20 font-bold text-transparent ">
About Vizole Labs
</h4>
</MoveUpWhenVisible>
<div className="mb-4 max-w-2xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white md:text-4xl xl:text-5xl">
<h2 className="bg-gradient-to-r from-slate-400 via-white to-slate-400 bg-clip-text text-transparent">
We are a new digital product development agency
</h2>
<MoveUpWhenVisible>
<h2 className="bg-gradient-to-r from-slate-400 via-white to-slate-400 bg-clip-text text-transparent">
We are a new digital product development agency
</h2>
</MoveUpWhenVisible>
</div>
<h3 className="mr-90 max-w-2xl text-slate-300">
we&apos; re dedicated to bringing your ideas to life with innovative solutions tailored to your unique
needs.
</h3>
</div>
<div className=" mt-3 flex flex-col justify-around text-left text-white">
<Button
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
intent="aboutUs"
size="hero1"
>
<TiTick className="mr-2 h-5 w-5" />
Expertise and Experience
</Button>
<Button
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
intent="aboutUs"
size="hero1"
>
<TiTick className="mr-2 h-5 w-5" />
Client-Centric Approach
</Button>
<Button
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
intent="aboutUs"
size="hero1"
>
<TiTick className="mr-2 h-5 w-5" />
Innovation at the Core
</Button>
<MoveUpWhenVisible>
<h3 className="mr-90 max-w-2xl text-slate-300">
we&apos; re dedicated to bringing your ideas to life with innovative solutions tailored to your unique
needs.
</h3>
</MoveUpWhenVisible>
</div>
<MoveTopLeftWhenVisible>
<div className="mt-3 flex flex-col justify-around text-left text-white">
<Button
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
intent="aboutUs"
size="hero1"
>
<TiTick className="mr-2 h-5 w-5" />
Expertise and Experience
</Button>
<Button
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
intent="aboutUs"
size="hero1"
>
<TiTick className="mr-2 h-5 w-5" />
Client-Centric Approach
</Button>
<Button
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
intent="aboutUs"
size="hero1"
>
<TiTick className="mr-2 h-5 w-5" />
Innovation at the Core
</Button>
</div>
</MoveTopLeftWhenVisible>
</div>
<div className="flex flex-col justify-around">
<div
className="flex h-[315px] w-[560px] items-center justify-center bg-white max-md:h-[250px] max-md:w-[375px]"
style={{
backgroundImage: `url('/images/player_background.png')`,
backgroundSize: "cover",
backgroundPosition: "center",
backgroundRepeat: "no-repeat",
}}
>
<div className="z-50 flex h-full w-full items-center justify-center">
<BsPlayCircle
className="fold:h-[20%] fold:w-[20%] h-[20%] w-[20%] cursor-pointer self-center text-vizoleG2"
onClick={() => setIsModalOpen(true)}
/>
<Modal isOpen={isModalOpen} onClose={() => setIsModalOpen(false)}>
<iframe
className="z_fold:w-[280px] z_fold:h-[170px] h-[315px] w-[560px] max-md:h-[250px] max-md:w-[375px]"
src="https://www.youtube.com/embed/SKIXCPn2xB0?si=tQOw37hJEEzbFKFn"
title="YouTube video player"
></iframe>
</Modal>
<MoveRightWhenVisible>
<div
className="flex h-[315px] w-[560px] items-center justify-center bg-white max-md:h-[250px] max-md:w-[375px]"
style={{
backgroundImage: `url('/images/player_background.png')`,
backgroundSize: "cover",
backgroundPosition: "center",
backgroundRepeat: "no-repeat",
}}
>
<div className="z-50 flex h-full w-full items-center justify-center">
<BsPlayCircle
className="fold:h-[20%] fold:w-[20%] h-[20%] w-[20%] cursor-pointer self-center text-vizoleG2"
onClick={() => setIsModalOpen(true)}
/>
<Modal isOpen={isModalOpen} onClose={() => setIsModalOpen(false)}>
<iframe
className="z_fold:w-[280px] z_fold:h-[170px] h-[315px] w-[560px] max-md:h-[250px] max-md:w-[375px]"
src="https://www.youtube.com/embed/SKIXCPn2xB0?si=tQOw37hJEEzbFKFn"
title="YouTube video player"
></iframe>
</Modal>
</div>
</div>
</div>
</MoveRightWhenVisible>
</div>
</div>
</div>