Merge version_17_1782054333177 into main #16
@@ -1,90 +1,18 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import Button from "@/components/ui/Button";
|
||||
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
// Created by add_section_from_catalog (HeroBrand).
|
||||
|
||||
const primaryButton = {
|
||||
text: "Get Your Free Audit",
|
||||
href: "/contact"
|
||||
};
|
||||
const secondaryButton = {
|
||||
text: "Our Services",
|
||||
href: "/services"
|
||||
};
|
||||
import React from 'react';
|
||||
import HeroBrand from '@/components/sections/hero/HeroBrand';
|
||||
|
||||
type HeroSplitProps = {
|
||||
tag: string;
|
||||
title: string;
|
||||
description: string;
|
||||
primaryButton: { text: string; href: string };
|
||||
secondaryButton: { text: string; href: string };
|
||||
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||
|
||||
const HeroInline = () => {
|
||||
return (
|
||||
<section aria-label="Hero section" className="relative flex items-center h-fit md:h-svh pt-25 pb-20 md:py-0">
|
||||
<HeroBackgroundSlot />
|
||||
<div className="flex flex-col md:flex-row items-center gap-12 md:gap-20 w-content-width mx-auto">
|
||||
<div className="w-full md:w-1/2">
|
||||
<div className="flex flex-col items-center md:items-start gap-3">
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Pulse Point Media NI"}</p>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col w-full">
|
||||
<TextAnimation
|
||||
text="Belfast’s Local"
|
||||
variant="slide-up"
|
||||
gradientText={false}
|
||||
tag="h1"
|
||||
className="text-6xl md:text-7xl 2xl:text-8xl leading-[1.1] font-bold text-center md:text-left text-foreground tracking-tight"
|
||||
/>
|
||||
<TextAnimation
|
||||
text="Digital Marketing Agency."
|
||||
variant="slide-up"
|
||||
gradientText={true}
|
||||
tag="h1"
|
||||
className="text-6xl md:text-7xl 2xl:text-8xl leading-[1.1] font-bold text-center md:text-left tracking-tight"
|
||||
/>
|
||||
<TextAnimation
|
||||
text="Found Online. Stay Found."
|
||||
variant="slide-up"
|
||||
gradientText={false}
|
||||
tag="h2"
|
||||
className="text-2xl md:text-3xl font-medium text-center md:text-left text-accent mt-3 md:mt-4"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"We help local businesses dominate local search and capture more customers in Northern Ireland. Professional, measurable results."}
|
||||
variant="slide-up"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="md:max-w-8/10 text-lg md:text-xl leading-snug text-center md:text-left text-balance"
|
||||
/>
|
||||
|
||||
<div className="flex flex-wrap max-md:justify-center gap-3 mt-2 md:mt-3">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary"animationDelay={0.1} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ScrollReveal variant="fade-blur" delay={0.2} className="w-full md:w-1/2 h-100 md:h-[65vh] md:max-h-[75svh] p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden">
|
||||
<ImageOrVideo imageSrc={""} />
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function HeroSection() {
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div data-webild-section="hero" id="hero">
|
||||
<HeroInline />
|
||||
<HeroBrand
|
||||
primaryButton={{"href":"/contact","text":"Get Your Free Audit"}}
|
||||
secondaryButton={{"text":"Our Services","href":"/services"}}
|
||||
brand="Pulse Point Media NI"
|
||||
description="Belfast’s Local Digital Marketing Agency. Found Online. Stay Found. We help local businesses dominate local search and capture more customers in Northern Ireland. Professional, measurable results."
|
||||
imageSrc=""
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user