fix drone
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e3a1ca72ef
commit
50ac4331e1
|
|
@ -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)} />}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue