Merge version_3_1782158716564 into main
Merge version_3_1782158716564 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -1,27 +1,53 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "contact" section.
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import Button from "@/components/ui/Button";
|
||||
|
||||
import React from 'react';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
const primaryButton = {
|
||||
text: "+386 (0)41 262 430",
|
||||
href: "tel:+38641262430"
|
||||
};
|
||||
const secondaryButton = {
|
||||
text: "info@myworldofmovement.com",
|
||||
href: "mailto:info@myworldofmovement.com"
|
||||
};
|
||||
|
||||
export default function ContactSection(): React.JSX.Element {
|
||||
const ContactInline = () => {
|
||||
return (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Contact"
|
||||
text="Start your journey with us today."
|
||||
primaryButton={{
|
||||
text: "+386 (0)41 262 430",
|
||||
href: "tel:+38641262430",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "info@myworldofmovement.com",
|
||||
href: "mailto:info@myworldofmovement.com",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<section aria-label="Contact section" className="py-20">
|
||||
<div className="w-content-width mx-auto">
|
||||
<ScrollReveal variant="slide-up">
|
||||
<div className="flex flex-col items-center gap-8 md:gap-10 py-20 px-8 rounded card">
|
||||
<div className="flex flex-col items-center gap-2">
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Contact"}</p>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"Start your journey with us today."}
|
||||
variant="slide-up"
|
||||
gradientText={true}
|
||||
tag="h2"
|
||||
className="md:max-w-8/10 text-5xl 2xl:text-6xl leading-[1.15] font-semibold text-center text-balance"
|
||||
/>
|
||||
|
||||
<div className="flex flex-wrap 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>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function ContactSection() {
|
||||
return (
|
||||
<div data-webild-section="contact" id="contact">
|
||||
<ContactInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -134,6 +134,17 @@ export default function RegistrationSection() {
|
||||
</div>
|
||||
</div>
|
||||
<Button onClick={() => alert('Registration submitted successfully!')} variant="primary" className="w-full mt-6" text="Book Session" />
|
||||
<div className="mt-6 flex flex-col items-center gap-4 text-center">
|
||||
<p className="text-sm text-accent">
|
||||
Thank you! We'll confirm your booking shortly.
|
||||
</p>
|
||||
<div className="flex items-center gap-2 text-sm">
|
||||
<span className="text-accent">Need immediate assistance?</span>
|
||||
<a href="tel:+38641262430" className="text-primary-cta hover:underline font-medium">
|
||||
Call Us
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
|
||||
Reference in New Issue
Block a user