parent
a24eeaccc8
commit
b27a7627b5
@ -33,6 +33,10 @@ const nextConfig: NextConfig = {
|
|||||||
protocol: 'https',
|
protocol: 'https',
|
||||||
hostname: 'res.cloudinary.com',
|
hostname: 'res.cloudinary.com',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
protocol: 'https',
|
||||||
|
hostname: 'ik.imagekit.io',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -143,4 +143,4 @@
|
|||||||
"tsx": "^4.19.3",
|
"tsx": "^4.19.3",
|
||||||
"typescript": "^5"
|
"typescript": "^5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -44,15 +44,11 @@ export function Analytics() {
|
|||||||
|
|
||||||
{/* vercel analytics */}
|
{/* vercel analytics */}
|
||||||
{/* https://vercel.com/docs/analytics/quickstart */}
|
{/* https://vercel.com/docs/analytics/quickstart */}
|
||||||
{websiteConfig.analytics.enableVercelAnalytics && (
|
{websiteConfig.analytics.enableVercelAnalytics && <VercelAnalytics />}
|
||||||
<VercelAnalytics />
|
|
||||||
)}
|
|
||||||
|
|
||||||
{/* speed insights */}
|
{/* speed insights */}
|
||||||
{/* https://vercel.com/docs/speed-insights/quickstart */}
|
{/* https://vercel.com/docs/speed-insights/quickstart */}
|
||||||
{websiteConfig.analytics.enableSpeedInsights && (
|
{websiteConfig.analytics.enableSpeedInsights && <SpeedInsights />}
|
||||||
<SpeedInsights />
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,6 @@ export default function HeroSection() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="aspect-2/3 absolute inset-1 -z-10 overflow-hidden rounded-3xl border border-black/10 lg:aspect-video lg:rounded-[3rem] dark:border-white/5">
|
<div className="aspect-2/3 absolute inset-1 -z-10 overflow-hidden rounded-3xl border border-black/10 lg:aspect-video lg:rounded-[3rem] dark:border-white/5">
|
||||||
{/* FIXME: video url is broken for the storage is disabled */}
|
|
||||||
<video
|
<video
|
||||||
autoPlay
|
autoPlay
|
||||||
loop
|
loop
|
||||||
|
@ -44,7 +44,7 @@ export default function HeroSection() {
|
|||||||
</div>
|
</div>
|
||||||
<Image
|
<Image
|
||||||
className="-z-10 order-first ml-auto h-56 w-full object-cover invert sm:h-96 lg:absolute lg:inset-0 lg:-right-20 lg:-top-96 lg:order-last lg:h-max lg:w-2/3 lg:object-contain dark:mix-blend-lighten dark:invert-0"
|
className="-z-10 order-first ml-auto h-56 w-full object-cover invert sm:h-96 lg:absolute lg:inset-0 lg:-right-20 lg:-top-96 lg:order-last lg:h-max lg:w-2/3 lg:object-contain dark:mix-blend-lighten dark:invert-0"
|
||||||
src="/blocks/abstract-bg.png"
|
src="https://res.cloudinary.com/dg4jhba5c/image/upload/v1741605150/abstract-bg_wq4f8w.jpg"
|
||||||
alt="Abstract Object"
|
alt="Abstract Object"
|
||||||
height="4000"
|
height="4000"
|
||||||
width="3000"
|
width="3000"
|
||||||
|
@ -30,7 +30,7 @@ const transitionVariants = {
|
|||||||
export default function HeroSection() {
|
export default function HeroSection() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{/* <HeroHeader /> */}
|
<HeroHeader />
|
||||||
<main className="overflow-hidden">
|
<main className="overflow-hidden">
|
||||||
<div
|
<div
|
||||||
aria-hidden
|
aria-hidden
|
||||||
@ -41,8 +41,7 @@ export default function HeroSection() {
|
|||||||
<div className="h-320 -translate-y-87.5 absolute left-0 top-0 w-60 -rotate-45 bg-[radial-gradient(50%_50%_at_50%_50%,hsla(0,0%,85%,.04)_0,hsla(0,0%,45%,.02)_80%,transparent_100%)]" />
|
<div className="h-320 -translate-y-87.5 absolute left-0 top-0 w-60 -rotate-45 bg-[radial-gradient(50%_50%_at_50%_50%,hsla(0,0%,85%,.04)_0,hsla(0,0%,45%,.02)_80%,transparent_100%)]" />
|
||||||
</div>
|
</div>
|
||||||
<section>
|
<section>
|
||||||
{/* pt-24 md:pt-36 */}
|
<div className="relative pt-24 md:pt-36">
|
||||||
<div className="relative pt-12 md:pt-12">
|
|
||||||
<AnimatedGroup
|
<AnimatedGroup
|
||||||
variants={{
|
variants={{
|
||||||
container: {
|
container: {
|
||||||
@ -71,7 +70,7 @@ export default function HeroSection() {
|
|||||||
className="absolute inset-0 -z-20"
|
className="absolute inset-0 -z-20"
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
src="/blocks/night-background.webp"
|
src="https://res.cloudinary.com/dg4jhba5c/image/upload/v1741605538/night-background_ni3vqb.jpg"
|
||||||
alt="background"
|
alt="background"
|
||||||
className="absolute inset-x-0 top-56 -z-20 hidden lg:top-32 dark:block"
|
className="absolute inset-x-0 top-56 -z-20 hidden lg:top-32 dark:block"
|
||||||
width="3276"
|
width="3276"
|
||||||
@ -205,8 +204,7 @@ export default function HeroSection() {
|
|||||||
</AnimatedGroup>
|
</AnimatedGroup>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section className="bg-background pb-16 pt-16 md:pb-32">
|
||||||
{/* <section className="bg-background pb-16 pt-16 md:pb-32">
|
|
||||||
<div className="group relative m-auto max-w-5xl px-6">
|
<div className="group relative m-auto max-w-5xl px-6">
|
||||||
<div className="absolute inset-0 z-10 flex scale-95 items-center justify-center opacity-0 duration-500 group-hover:scale-100 group-hover:opacity-100">
|
<div className="absolute inset-0 z-10 flex scale-95 items-center justify-center opacity-0 duration-500 group-hover:scale-100 group-hover:opacity-100">
|
||||||
<Link
|
<Link
|
||||||
@ -295,8 +293,7 @@ export default function HeroSection() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section> */}
|
</section>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -124,7 +124,7 @@ export default function HeroSection() {
|
|||||||
<div className="bg-linear-to-b to-background from-background absolute inset-0 via-transparent"></div>
|
<div className="bg-linear-to-b to-background from-background absolute inset-0 via-transparent"></div>
|
||||||
<div className="bg-linear-to-l to-background from-background absolute inset-0 via-transparent"></div>
|
<div className="bg-linear-to-l to-background from-background absolute inset-0 via-transparent"></div>
|
||||||
<Image
|
<Image
|
||||||
src="/blocks/phone-background.webp"
|
src="https://res.cloudinary.com/dg4jhba5c/image/upload/v1741605545/phone-backgroudn_xqgg5g.jpg"
|
||||||
alt="Phone Background"
|
alt="Phone Background"
|
||||||
width="6240"
|
width="6240"
|
||||||
height="4160"
|
height="4160"
|
||||||
|
Loading…
Reference in New Issue
Block a user