You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2 line
842 B

  1. import{P as v}from"./ParticipationTeasersData-D6HcWDw4.js";import{c as t}from"./helpers-DemszZkW.js";import{c as h}from"./ParticipationTeaserComponent-C7dMgdeQ.js";import{c as g}from"./ButtonComponent-C1nc5If8.js";import{c as w}from"./BadgeComponent-ACZHo2bV.js";const k=({headline:r="Aktuelle Beteiligungen",count:i=9,items:o=v,buttonLabel:l="Alle aktuellen Beteiligungen"})=>{const e=t("section",["participation-teasers","variant-subtle-primary"]),c=t("div",["container"],null,e),s=t("h2",[],r,c),p=t("div",["overflow-wrapper"],null,e),m=t("div",["container"],null,p),d=t("div",["row"],null,m);if(s.appendChild(w({count:i})),o.map((n,a)=>{if(a<3&&a<i){const u=t("div",["col"],null,d),f=h({...n,isListItem:!1});u.appendChild(f)}}),i>3){const n=t("div",["all-participations"],null,e),a=g({label:l});n.appendChild(a)}return e};export{k as c};