feat: Background beams

This commit is contained in:
Dex404 2024-04-08 05:28:26 +00:00
parent 7242a0afab
commit db396b448a
7 changed files with 250 additions and 86 deletions

View file

@ -13,6 +13,7 @@ import { MdOutlineAppSettingsAlt } from "react-icons/md"
import { Glow, GlowCapture } from "@codaworks/react-glow"
import StarBackground from "components/StarBackground/StarBackground"
import { Textarea } from "@nextui-org/react"
import { BackgroundBeams } from "components/Ui/BackgroundBeams"
export default function Web() {
const [init, setInit] = useState(false)
@ -24,51 +25,54 @@ export default function Web() {
return (
<div>
<section className="bg-[#0f172a] md:pl-0 md:pr-0 lg:pl-[15%] lg:pr-[15%]">
<div
className=" h-[80%] rounded-[3rem] pt-[10%]"
style={{
backgroundImage: `url('/images/glow-bottom.svg')`,
backgroundSize: "fill",
backgroundPosition: "center",
backgroundRepeat: "no-repeat",
}}
>
<div className="mx-auto grid max-w-screen-xl px-4 py-8 text-center lg:py-16">
<div className="mx-auto place-self-center">
<h1 className="mb-4 max-w-2xl text-4xl font-extrabold leading-none tracking-tight text-white md:text-5xl xl:text-6xl">
Experience the next dimension
</h1>
<p className="mb-6 max-w-2xl font-light text-gray-200 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>
<Button
href="https://github.com/Blazity/next-enterprise"
className="mr-3 "
intent="hero1"
size="hero1"
onMouseEnter={() => setHovered(true)}
onMouseLeave={() => setHovered(false)}
>
<span>Get started</span>
<div className="ml-2">
<span>
<FaArrowRight style={imgStyle} className="text-orange-500" />
</span>
</div>
</Button>
<Button
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
intent="secondary"
size="hero1"
>
Deploy Now
</Button>
<div>
<div
className=" h-[80%] rounded-[3rem] pt-[10%]"
style={{
backgroundImage: `url('/images/glow-bottom.svg')`,
backgroundSize: "fill",
backgroundPosition: "center",
backgroundRepeat: "no-repeat",
}}
>
<div className="mx-auto grid max-w-screen-xl px-4 py-8 text-center lg:py-16">
<div className="mx-auto place-self-center">
<h1 className="mb-4 max-w-2xl text-4xl font-extrabold leading-none tracking-tight text-white md:text-5xl xl:text-6xl">
Experience the next dimension
</h1>
<p className="mb-6 max-w-2xl font-light text-gray-200 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>
<Button
href="https://github.com/Blazity/next-enterprise"
className="mr-3 "
intent="hero1"
size="hero1"
onMouseEnter={() => setHovered(true)}
onMouseLeave={() => setHovered(false)}
>
<span>Get started</span>
<div className="ml-2">
<span>
<FaArrowRight style={imgStyle} className="text-orange-500" />
</span>
</div>
</Button>
<Button
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
intent="secondary"
size="hero1"
>
Deploy Now
</Button>
</div>
</div>
</div>
</div>
<div className="p-10">
<InfiniteSlider />
<div className="p-10">
<InfiniteSlider />
</div>
{/* <BackgroundBeams /> */}
</div>
</section>
<section className="bg-[#0f172a] md:pl-0 md:pr-0 lg:pl-[15%] lg:pr-[15%]">