next-enterprise/components/aboutUs/AboutUs.tsx

107 lines
4.5 KiB
TypeScript
Raw Normal View History

2024-04-09 12:29:14 +00:00
import { Button } from "components/Button/Button"
import { TiTick } from "react-icons/ti"
2024-04-17 08:08:16 +00:00
import { BsPlayCircle } from "react-icons/bs"
import { Modal } from "components/Modal/Modal"
import { useState } from "react"
2024-04-18 08:53:36 +00:00
import MoveUpWhenVisible from "utils/ScrollAnimations/MoveUpOnScroll"
import MoveTopLeftWhenVisible from "utils/ScrollAnimations/MoveTopLeftOnScroll"
import MoveRightWhenVisible from "utils/ScrollAnimations/MoveRightOnScroll"
import { Move } from "@tsparticles/engine"
2024-04-17 10:34:04 +00:00
2024-04-09 12:29:14 +00:00
export default function AboutUs() {
2024-04-17 08:08:16 +00:00
const [isModalOpen, setIsModalOpen] = useState(false)
2024-04-17 10:34:04 +00:00
2024-04-09 12:29:14 +00:00
return (
<div
className=" h-[60%] rounded-[3rem] max-md:rounded-none"
style={{
backgroundImage: `url('/images/glow-top.svg')`,
backgroundSize: "cover",
backgroundPosition: "center",
backgroundRepeat: "no-repeat",
}}
>
2024-04-18 08:53:36 +00:00
<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">
2024-04-09 12:29:14 +00:00
<div className="mx-auto text-left text-white">
2024-04-18 08:53:36 +00:00
<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>
2024-04-09 12:29:14 +00:00
<div className="mb-4 max-w-2xl text-4xl font-extrabold capitalize leading-none tracking-tight text-white md:text-4xl xl:text-5xl">
2024-04-18 08:53:36 +00:00
<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>
2024-04-09 12:29:14 +00:00
</div>
2024-04-18 08:53:36 +00:00
<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>
2024-04-09 12:29:14 +00:00
</div>
2024-04-18 08:53:36 +00:00
<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>
2024-04-09 12:29:14 +00:00
</div>
2024-04-18 08:53:36 +00:00
2024-04-17 08:08:16 +00:00
<div className="flex flex-col justify-around">
2024-04-18 08:53:36 +00:00
<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>
2024-04-17 08:08:16 +00:00
</div>
2024-04-18 08:53:36 +00:00
</MoveRightWhenVisible>
2024-04-09 12:29:14 +00:00
</div>
2024-04-17 10:34:04 +00:00
</div>
2024-04-09 12:29:14 +00:00
</div>
)
}