Compare commits
3 Commits
version_2_
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ee9c1c9c53 | |||
|
|
ca5fb12a9f | ||
| 0c876101e3 |
@@ -1,27 +1,53 @@
|
|||||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
/* eslint-disable */
|
||||||
// file as the canonical source for the "contact" section.
|
// @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';
|
const primaryButton = {
|
||||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
text: "+386 (0)41 262 430",
|
||||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
href: "tel:+38641262430"
|
||||||
|
};
|
||||||
|
const secondaryButton = {
|
||||||
|
text: "info@myworldofmovement.com",
|
||||||
|
href: "mailto:info@myworldofmovement.com"
|
||||||
|
};
|
||||||
|
|
||||||
export default function ContactSection(): React.JSX.Element {
|
const ContactInline = () => {
|
||||||
return (
|
return (
|
||||||
<div id="contact" data-section="contact">
|
<section aria-label="Contact section" className="py-20">
|
||||||
<SectionErrorBoundary name="contact">
|
<div className="w-content-width mx-auto">
|
||||||
<ContactCta
|
<ScrollReveal variant="slide-up">
|
||||||
tag="Contact"
|
<div className="flex flex-col items-center gap-8 md:gap-10 py-20 px-8 rounded card">
|
||||||
text="Start your journey with us today."
|
<div className="flex flex-col items-center gap-2">
|
||||||
primaryButton={{
|
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||||
text: "+386 (0)41 262 430",
|
<p>{"Contact"}</p>
|
||||||
href: "tel:+38641262430",
|
</div>
|
||||||
}}
|
|
||||||
secondaryButton={{
|
<TextAnimation
|
||||||
text: "info@myworldofmovement.com",
|
text={"Start your journey with us today."}
|
||||||
href: "mailto:info@myworldofmovement.com",
|
variant="slide-up"
|
||||||
}}
|
gradientText={true}
|
||||||
/>
|
tag="h2"
|
||||||
</SectionErrorBoundary>
|
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>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
<Button onClick={() => alert('Registration submitted successfully!')} variant="primary" className="w-full mt-6" text="Book Session" />
|
<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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</ScrollReveal>
|
</ScrollReveal>
|
||||||
|
|||||||
Reference in New Issue
Block a user