16 lines
670 B
TypeScript
16 lines
670 B
TypeScript
import { CtaBand } from "@/components/ui/CtaBand";
|
||
import { site } from "@/lib/site";
|
||
import { trainings as trainingsDe, type TrainingsContent } from "@/content/trainings";
|
||
|
||
/**
|
||
* Kontakt band „Sprechen wir über dein Team.“ – same primary CTA as the hero.
|
||
* Phone prominent: the number sits in the CTA micro line, in addition to the
|
||
* large „Ruf an“ tel link that <ContactLinks/> renders on the right.
|
||
*/
|
||
export function TrainingsBand({ content = trainingsDe }: { content?: TrainingsContent }) {
|
||
const { h2, cta, micro } = content.band;
|
||
return <CtaBand h2={h2} cta={cta} micro={`${micro} · ${site.phoneDisplay}`} />;
|
||
}
|
||
|
||
export default TrainingsBand;
|