Merge version_5_1782901732721 into main #7

Merged
bender merged 1 commits from version_5_1782901732721 into main 2026-07-01 10:30:05 +00:00
4 changed files with 87 additions and 66 deletions

View File

@@ -18,15 +18,6 @@ export default function Layout() {
},
{
"name": "Cases", "href": "/cases"
},
{
"name": "Hero", "href": "#hero"
},
{
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Metrics", "href": "#metrics"
}
];

View File

@@ -1,63 +1,19 @@
import ContactCta from '@/components/sections/contact/ContactCta';
import ContactParallaxCard from '@/components/sections/contact/ContactParallaxCard';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
// AUTO-GENERATED shell by per-section-migrate.
// Section bodies live in the sibling sections/ folder (one file per section).
// Edit those section files directly. Non-block content (wrappers,
// non-inlinable sections) is preserved inline; extracted section blocks
// become component refs.
export default function KontaktPage() {
import React from 'react';
import ContactSectionSection from './KontaktPage/sections/ContactSection';
import ContactSection from './KontaktPage/sections/Contact';
export default function KontaktPage(): React.JSX.Element {
return (
<>
<div id="contact-section" data-section="contact-section">
<SectionErrorBoundary name="contact-section">
<ContactCta
tag="Kontakt os"
text="Lad os diskutere din næste placering eller kampagne."
primaryButton={{
text: "Send besked",
href: "#",
}}
secondaryButton={{
text: "Ring nu",
href: "tel:+4500000000",
}}
textAnimation="fade"
/>
</SectionErrorBoundary>
</div>
<>
<ContactSectionSection />
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactParallaxCard
title="Hvad kan vi gøre for dig?"
inputs={[
{
name: "Navn",
type: "text",
placeholder: "Dit navn",
required: true,
},
{
name: "Email",
type: "email",
placeholder: "din@email.dk",
required: true,
},
]}
textarea={{
name: "Besked",
placeholder: "Beskriv projektet...",
rows: 4,
required: true,
}}
buttonText="Send nu"
footerText="Vi vender tilbage hurtigst muligt."
footerLink={{
text: "Ring os op",
href: "tel:+4500000000",
imageSrc: "http://img.b2bpic.net/free-photo/man-checking-bulletin-board-station_23-2148757041.jpg",
}}
imageSrc="http://img.b2bpic.net/free-photo/construction-site-with-tower-crane-apartments-urban-modern-architecture_169016-69092.jpg"
/>
</SectionErrorBoundary>
</div>
<ContactSection />
</>
);
}

View File

@@ -0,0 +1,46 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "contact" section.
import React from 'react';
import ContactParallaxCard from '@/components/sections/contact/ContactParallaxCard';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactParallaxCard
title="Hvad kan vi gøre for dig?"
inputs={[
{
name: "Navn",
type: "text",
placeholder: "Dit navn",
required: true,
},
{
name: "Email",
type: "email",
placeholder: "din@email.dk",
required: true,
},
]}
textarea={{
name: "Besked",
placeholder: "Beskriv projektet...",
rows: 4,
required: true,
}}
buttonText="Send nu"
footerText="Vi vender tilbage hurtigst muligt."
footerLink={{
text: "Ring os op",
href: "tel:+4500000000",
imageSrc: "http://img.b2bpic.net/free-photo/man-checking-bulletin-board-station_23-2148757041.jpg",
}}
imageSrc="http://img.b2bpic.net/free-photo/construction-site-with-tower-crane-apartments-urban-modern-architecture_169016-69092.jpg"
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,28 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "contact-section" section.
import React from 'react';
import ContactCta from '@/components/sections/contact/ContactCta';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ContactSectionSection(): React.JSX.Element {
return (
<div id="contact-section" data-section="contact-section">
<SectionErrorBoundary name="contact-section">
<ContactCta
tag="Kontakt os"
text="Lad os diskutere din næste placering eller kampagne."
primaryButton={{
text: "Send besked",
href: "#",
}}
secondaryButton={{
text: "Ring nu",
href: "tel:+4500000000",
}}
textAnimation="fade"
/>
</SectionErrorBoundary>
</div>
);
}