import Image from "next/image"; import Link from "next/link"; import { FaqAccordion } from "@/components/site/faq-accordion"; import { SiteHeader } from "@/components/site/header"; function StarRow({ half = false }) { return (
); } export function LandingPage({ locale, content }) { const { navigation, hero, stats, courses, teachers, testimonials, blogPosts, faqItems, cta, footer, shared } = content; return (
{hero.badge}

{hero.titleStart}
{hero.titleAccent}

{hero.description}

{hero.primaryCta} {hero.secondaryCta}
Students
{stats.map((stat) => (

{stat.value}

{stat.label}

))}

{shared.coursesTitle}

{shared.coursesIntro}

{courses.map((course, index) => (
{index === 1 ?
{shared.popular}
: null}
{course.level}

{course.title}

{course.summary}

{course.price} / {shared.perLevel}
{shared.selectCourse}
))}

{shared.teachersTitle}

{shared.teachersIntro}

{shared.viewAllTeachers}
{teachers.map((teacher) => (
{teacher.name}

{teacher.name}

{teacher.flag}

{teacher.title}

{teacher.description}

))}

{shared.testimonialsTitle}

{shared.testimonialsIntro}

{testimonials.map((item) => (

{item.text}

{item.name}
{item.name}
{item.role}
))}

{shared.blogTitle}

{shared.blogIntro}

{shared.readAllArticles}
{blogPosts.map((post) => (
{post.title}
{post.tag}

{post.title}

{post.excerpt}

{post.date}
))}

{shared.faqTitle}

{cta.title}

{cta.description}

{cta.button}

DeutschAkademie Engel

{footer.description}

{footer.socials.map((social) => ( ))}

{footer.exploreTitle}

    {footer.links.map((link) => (
  • {link.label}
  • ))}

{footer.contactTitle}

  • {footer.location}
  • {footer.phone}
  • {footer.email}

{footer.copyright}

{footer.privacyLabel} {footer.termsLabel}
); }