chore: init commit

feat(page): add hero page
This commit is contained in:
shafin-r
2025-12-03 19:40:35 +06:00
parent e0aeb5252d
commit d47a7c5311
8 changed files with 130 additions and 95 deletions

View File

@ -1,65 +1,119 @@
import Image from "next/image";
export default function Home() {
return (
<div className="flex min-h-screen items-center justify-center bg-zinc-50 font-sans dark:bg-black">
<main className="flex min-h-screen w-full max-w-3xl flex-col items-center justify-between py-32 px-16 bg-white dark:bg-black sm:items-start">
<Image
className="dark:invert"
src="/next.svg"
alt="Next.js logo"
width={100}
height={20}
priority
/>
<div className="flex flex-col items-center gap-6 text-center sm:items-start sm:text-left">
<h1 className="max-w-xs text-3xl font-semibold leading-10 tracking-tight text-black dark:text-zinc-50">
To get started, edit the page.tsx file.
<main className="min-h-screen bg-radial-[at_50%_50%] from-[#1a0a0e] to-[#0D0F11] flex flex-col space-y-12 items-center pt-14">
<section className="flex flex-col space-y-4">
<div className="flex gap-4 justify-between items-center">
<hr className="text-[#7B2E45]/50 w-1/2" />
<div className="flex gap-2">
<div className="bg-[#7B2E45] h-3 w-3 rotate-45"></div>
<div className="border-[#7B2E45] border h-3 w-3 rotate-45"></div>
</div>
<hr className="text-[#7B2E45]/50 w-1/2" />
</div>
<div>
<h1
className="
font-inter text-[80px] leading-20 font-black tracking-tight
bg-[linear-gradient(123.54deg,#FFFFFF_0%,#D8DFE4_38.8%,#7B2E45_71.52%,#9B3E55_102.17%)]
bg-clip-text text-transparent
"
>
Da Next
</h1>
<p className="max-w-md text-lg leading-8 text-zinc-600 dark:text-zinc-400">
Looking for a starting point or more instructions? Head over to{" "}
<a
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
className="font-medium text-zinc-950 dark:text-zinc-50"
>
Templates
</a>{" "}
or the{" "}
<a
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
className="font-medium text-zinc-950 dark:text-zinc-50"
>
Learning
</a>{" "}
center.
</p>
</div>
<div className="flex flex-col gap-4 text-base font-medium sm:flex-row">
<a
className="flex h-12 w-full items-center justify-center gap-2 rounded-full bg-foreground px-5 text-background transition-colors hover:bg-[#383838] dark:hover:bg-[#ccc] md:w-[158px]"
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
<h1
className="
font-inter text-[80px] font-black tracking-tight
bg-[linear-gradient(123.54deg,#7B2E45_7.16%,#9B3E55_53.58%,#D8DFE4_100%)]
bg-clip-text text-transparent pb-2 leading-20
"
>
<Image
className="dark:invert"
src="/vercel.svg"
alt="Vercel logomark"
width={16}
height={16}
/>
Deploy Now
</a>
<a
className="flex h-12 w-full items-center justify-center rounded-full border border-solid border-black/[.08] px-5 transition-colors hover:border-transparent hover:bg-black/[.04] dark:border-white/[.145] dark:hover:bg-[#1a1a1a] md:w-[158px]"
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Documentation
</a>
Agency
</h1>
</div>
</main>
</div>
</section>
<section className="flex flex-col items-center h-fit space-y-6">
<div className="flex flex-col lg:md:flex-row lg:md:gap-2">
<h3 className="text-[#D8DFE4] font-lato font-normal text-center text-2xl">
Shaping Narratives.
</h3>
<h3 className="text-[#D8DFE4] font-lato font-normal text-center text-2xl">
Building Leaders.
</h3>
<h3 className="text-[#D8DFE4] font-lato font-normal text-center text-2xl">
Winning Campaigns.
</h3>
</div>
<div className="flex items-center gap-2 border ">
<div className="h-2 w-2 rounded-full bg-[#7B2E45]"></div>
<hr className="text-[#7B2E45]/50 w-32" />
</div>
</section>
<section className="">
<div className="relative inline-block">
<button
className="
relative px-8 py-3 rounded-xl
bg-linear-to-b from-[#7B2E45] to-[#9B3E55]
hover:from-[#913651] hover:to-[#b34762]
"
>
{/* diamonds */}
{/* <span className="absolute -top-2 -left-30 rotate-45 w-20 h-20 border border-[#7B2E45]/30"></span>
<span className="absolute -top-2 -right-30 rotate-45 w-20 h-20 border border-[#7B2E45]/30"></span> */}
<span className="text-white font-medium font-lato text-xl">
Start Your Campaign
</span>
</button>
{/* corner borders OUTSIDE the clipped button */}
<span className="absolute -left-4 -top-4 w-6 h-6 border-t border-l border-[#7B2E45]" />
<span className="absolute -right-4 -top-4 w-6 h-6 border-t border-r border-[#7B2E45]" />
<span className="absolute -left-4 -bottom-4 w-6 h-6 border-b border-l border-[#7B2E45]" />
<span className="absolute -right-4 -bottom-4 w-6 h-6 border-b border-r border-[#7B2E45]" />
</div>
</section>
<section className="flex flex-col lg:md:flex-row gap-10">
<section className="flex items-center gap-4">
<div className="flex gap-1 px-2">
<div className="w-3 h-16 bg-[#7B2E45]"></div>
<div className="w-3 h-12 bg-[#7B2E45]/50"></div>
<div className="w-3 h-8 bg-[#7B2E45]/30"></div>
</div>
<div className="flex flex-col ">
<h4 className="text-3xl text-[#7B2E45] font-lato">500+</h4>
<h5 className="text-xl font-lato font-light text-white/50">
CAMPAIGNS
</h5>
</div>
</section>
<section className="flex items-center gap-4">
<div className="flex gap-1 px-2">
<div className="w-3 h-16 bg-[#7B2E45]"></div>
<div className="w-3 h-12 bg-[#7B2E45]/50"></div>
<div className="w-3 h-8 bg-[#7B2E45]/30"></div>
</div>
<div className="flex flex-col ">
<h4 className="text-3xl text-[#7B2E45] font-lato">98%+</h4>
<h5 className="text-xl font-lato font-light text-white/50">
SUCCESS RATE
</h5>
</div>
</section>
<section className="flex items-center gap-4">
<div className="flex gap-1 px-2">
<div className="w-3 h-16 bg-[#7B2E45]"></div>
<div className="w-3 h-12 bg-[#7B2E45]/50"></div>
<div className="w-3 h-8 bg-[#7B2E45]/30"></div>
</div>
<div className="flex flex-col ">
<h4 className="text-3xl text-[#7B2E45] font-lato">15+</h4>
<h5 className="text-xl font-lato font-light text-white/50">
YEARS
</h5>
</div>
</section>
</section>
</main>
);
}