Skip to content

Commit

Permalink
Final Complete
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajrekwar committed Sep 6, 2024
1 parent 05c9ccb commit bdeb76f
Show file tree
Hide file tree
Showing 6 changed files with 314 additions and 216 deletions.
291 changes: 143 additions & 148 deletions app/components/BackgroundAurra.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,173 +10,168 @@ import { IconBrandYoutubeFilled } from "@tabler/icons-react";

export function AuroraBackgroundDemo() {
return (
<>
<AuroraBackground>
<motion.div
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
transition={{
delay: 0.3,
duration: 0.8,
ease: "easeInOut",
}}
className="relative flex flex-col gap-4 items-center justify-center px-4"
>
<div className="max-w-8xl text-left m-auto text-four">
<motion.div

className="gap-2 flex mb-10 flex-row w-fit p-1 pr-8 rounded-full bg-seven justify-start items-center text-semibold"
>
<motion.div
whileDrag={{ }}
initial={{ rotate: 160, scale: 0.2, x: -200, x2: 0, y: -200 }}
animate={{ rotate: 360, scale: 0.1, x: 400, x2: 0, y: 80}}
whileInView={{ rotate: 0, scale: 1, x2: -1040, x: 0, y: 0 }}
transition={{
type: "spring",
stiffness: 260,
damping: 25,
delay: 4,
duration: 2,
ease:[0.6, 0.05, -0.01, 0.14],

}}
>
<Image
src={"/me.webp"}
width={24}
height={24}
loading="lazy"
alt="Digital marketing for expert"
className="aspact-square h-10 w-10 rounded-full"
/>
</motion.div>
<motion.div
initial={{ opacity: 0, x: 20 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{
type: "spring",
stiffness: 260,
damping: 20,
delay: 2,
duration: 1,
}}
className="font-semibold text-secondary"
>
<motion.p
initial={{ opacity: 0, x: 10 }}
whileInView={{ opacity: 1, x: 0 }}
animate={{ opacity: 1, x: 0 }}
<>
<AuroraBackground>
<motion.div
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
transition={{
delay: 0.3,
duration: 0.8,
ease: "easeInOut",
}}
className="relative flex flex-col gap-4 items-center justify-center px-4"
>
<div className="max-w-8xl text-left m-auto text-four">
<motion.div className="gap-2 flex mb-10 flex-row w-fit p-1 pr-8 rounded-full bg-seven justify-start items-center text-semibold">
<motion.div
whileDrag={{}}
initial={{ rotate: 160, scale: 0.2, x: -200, x2: 0, y: -200 }}
animate={{ rotate: 360, scale: 0.1, x: 400, x2: 0, y: 80 }}
whileInView={{ rotate: 0, scale: 1, x2: -1040, x: 0, y: 0 }}
transition={{
type: "spring",
stiffness: 260,
damping: 20,
delay: 1,
duration: 1,
damping: 25,
delay: 4,
duration: 2,
ease: [0.6, 0.05, -0.01, 0.14],
}}
>Neeraj Rekwar</motion.p>
<motion.div
initial={{ opacity: 0, x: 30 }}
>
<Image
src={"/me.webp"}
width={24}
height={24}
loading="lazy"
alt="Digital marketing for expert"
className="aspact-square h-10 w-10 rounded-full"
/>
</motion.div>
<motion.div
initial={{ opacity: 0, x: 20 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{
type: "spring",
stiffness: 260,
damping: 60,
delay: 3,
duration: 3,
damping: 20,
delay: 2,
duration: 1,
}}
className="flex gap-1 h-4">
<p className=" flex flex-row justify-start text-third items-center text-3xl">
&#8226;
</p>
<p className="text-four flex flex-row justify-start items-center font-normal text-sm">
Available for freelance work
</p>
className="font-semibold text-secondary"
>
<motion.p
initial={{ opacity: 0, x: 10 }}
whileInView={{ opacity: 1, x: 0 }}
animate={{ opacity: 1, x: 0 }}
transition={{
type: "spring",
stiffness: 260,
damping: 20,
delay: 1,
duration: 1,
}}
>
Neeraj Rekwar
</motion.p>
<motion.div
initial={{ opacity: 0, x: 30 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{
type: "spring",
stiffness: 260,
damping: 60,
delay: 3,
duration: 3,
}}
className="flex gap-1 h-4"
>
<p className=" flex flex-row justify-start text-third items-center text-3xl">
&#8226;
</p>
<p className="text-four flex flex-row justify-start items-center font-normal text-sm">
Available for freelance work
</p>
</motion.div>
</motion.div>
</motion.div>
</motion.div>
<motion.h1
initial={{ opacity: 0, x: -10 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{
delay: 1,
duration: 0.8,
ease: [0.68, -0.55, 0.27, 1.55],
}}
className="relative text-secondary font-bold z-10 md:pb-4 text-3xl md:text-7xl sm:text-4xl text-left "
>
Build the right to way <br />
<div>
with{" "}
<pre className="font-bold z-999 inline-flex ">
<TextFlipper />
</pre>
</div>
</motion.h1>

<motion.p
initial={{ opacity: 0, x: -10 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{
delay: 0.3,
duration: 0.8,
ease: "easeInOut",
}}
className="mx-auto my-2 text-four text-base sm:text-lg "
>
We offer reliable, scalable, and customizable web solutions to optimize your online presence.
</motion.p>

<motion.div className=" gap-2 mt-10 max-w-fit flex justify-center items-center">
<motion.button
className=" bg-secondary text-primary p-2 px-4 rounded-full "
initial={{ opacity: 0, scale: 0.2, x: -200, y: -200 }}
animate={{ opacity: 1, scale: 1, x: 0, y: 0 }}
<motion.h1
initial={{ opacity: 0, x: -10 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{
delay: 1,
duration: 0.8,
delay: 0.8,
ease: [0, 0.71, 0.2, 1.01],
type: "spring", stiffness: 400
ease: [0.68, -0.55, 0.27, 1.55],
}}
whileHover={{ scale: 1.1 }}

className="relative text-secondary font-bold z-10 md:pb-4 text-3xl md:text-7xl sm:text-4xl text-left "
>
<Link
href="https://1b7b70d3-f411-4cfb-9f19-e2cd3227a33d-00-1e36r1z5gi36g.pike.replit.dev/"
className=" rounded-full
uppercase p-2 px-4 text-center text-sm"
>
get started
</Link>
</motion.button>
<motion.button
className=" bg-seven p-2 px-4 rounded-full border-secondary flex items-center justify-between text-secondary"
initial={{ opacity: 0, scale: 0.2, x: -200, y: -200 }}
animate={{ opacity: 1, scale: 1, x: 0, y: 0 }}
Build the right to way <br />
<div>
with{" "}
<pre className="font-bold z-999 inline-flex ">
<TextFlipper />
</pre>
</div>
</motion.h1>

<motion.p
initial={{ opacity: 0, x: -10 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{
delay: 0.3,
duration: 0.8,
delay: 0.5,
ease: [0, 0.71, 0.2, 1.01],
type: "spring", stiffness: 400
ease: "easeInOut",
}}
whileHover={{ scale: 1.1 }}
>
<IconBrandYoutubeFilled/>
<Link
href="/contact"
className="rounded-full
font-semibold px-4 text-center text-sm"
>
Explore{" "}
</Link>
</motion.button>

</motion.div>
</div>
className="mx-auto my-2 text-four text-base sm:text-lg "
></motion.p>


</motion.div>
</AuroraBackground>
<motion.div className=" gap-2 mt-10 max-w-fit flex justify-center items-center">
<motion.button
className=" bg-secondary text-primary p-2 px-4 rounded-full "
initial={{ opacity: 0, scale: 0.2, x: -200, y: -200 }}
animate={{ opacity: 1, scale: 1, x: 0, y: 0 }}
transition={{
duration: 0.8,
delay: 0.8,
ease: [0, 0.71, 0.2, 1.01],
type: "spring",
stiffness: 400,
}}
whileHover={{ scale: 1.1 }}
>
<Link
href="https://1b7b70d3-f411-4cfb-9f19-e2cd3227a33d-00-1e36r1z5gi36g.pike.replit.dev/"
className=" rounded-full
uppercase p-2 px-4 text-center text-sm"
>
get started
</Link>
</motion.button>
<motion.button
className=" bg-seven p-2 px-4 rounded-full border-secondary flex items-center justify-between text-secondary"
initial={{ opacity: 0, scale: 0.2, x: -200, y: -200 }}
animate={{ opacity: 1, scale: 1, x: 0, y: 0 }}
transition={{
duration: 0.8,
delay: 0.5,
ease: [0, 0.71, 0.2, 1.01],
type: "spring",
stiffness: 400,
}}
whileHover={{ scale: 1.1 }}
>
<IconBrandYoutubeFilled />
<Link
href="/contact"
className="rounded-full
font-semibold px-4 text-center text-sm"
>
Explore{" "}
</Link>
</motion.button>
</motion.div>
</div>
</motion.div>
</AuroraBackground>
</>
);
}
Loading

0 comments on commit bdeb76f

Please sign in to comment.