fix drone
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Anang Yusman 2026-04-17 16:19:21 +08:00
parent e3a1ca72ef
commit 50ac4331e1
1 changed files with 1 additions and 4 deletions

View File

@ -36,7 +36,6 @@ export default function Header({ hero }: { hero?: CmsHeroContent | null }) {
<LandingSiteNav /> <LandingSiteNav />
<header className="relative w-full bg-white pt-20 md:pt-[5.5rem]"> <header className="relative w-full bg-white pt-20 md:pt-[5.5rem]">
{/* HERO */}
<div className="container mx-auto flex min-h-[90vh] items-center px-6"> <div className="container mx-auto flex min-h-[90vh] items-center px-6">
<div className="flex-1 space-y-6"> <div className="flex-1 space-y-6">
<h1 className="text-4xl font-extrabold leading-tight whitespace-pre-line md:text-6xl"> <h1 className="text-4xl font-extrabold leading-tight whitespace-pre-line md:text-6xl">
@ -51,7 +50,7 @@ export default function Header({ hero }: { hero?: CmsHeroContent | null }) {
</p> </p>
) : null} ) : null}
{(primaryCta || secondaryCta) ? ( {primaryCta || secondaryCta ? (
<div className="flex flex-wrap gap-3"> <div className="flex flex-wrap gap-3">
{primaryCta ? ( {primaryCta ? (
<Button <Button
@ -78,7 +77,6 @@ export default function Header({ hero }: { hero?: CmsHeroContent | null }) {
<div className="relative hidden max-h-[min(90vh,520px)] flex-1 justify-end md:flex"> <div className="relative hidden max-h-[min(90vh,520px)] flex-1 justify-end md:flex">
{heroImg && isExternalUrl(heroImg) ? ( {heroImg && isExternalUrl(heroImg) ? (
// eslint-disable-next-line @next/next/no-img-element
<img <img
src={heroImg} src={heroImg}
alt="" alt=""
@ -99,7 +97,6 @@ export default function Header({ hero }: { hero?: CmsHeroContent | null }) {
</div> </div>
</header> </header>
{/* CONTACT MODAL */}
{contactOpen && <ContactDialog onClose={() => setContactOpen(false)} />} {contactOpen && <ContactDialog onClose={() => setContactOpen(false)} />}
</> </>
); );