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 lines
1.1 KiB

  1. import{I as u}from"./topic-teasers-VfYNbApx.js";import{$ as h}from"./iframe-CLehcUMy.js";import{c as e}from"./helpers-DemszZkW.js";import{c as g}from"./TopicTeaserComponent-G3okwgnM.js";const f=[{title:"Alles für Gründer",icon:"Foundation"},{title:"Alles Wichtige zum Brexit",icon:"Brexit"},{title:"Schwerpunkt&shy;thema Digitalisierung",icon:"Roboter"},{title:"Schwerpunkt&shy;thema Nachfolge",icon:"Uebergabe"},{title:"Alle wichtigen Infos zum Corona-Virus",icon:"Virus"},{title:"Alles für Auszubildende",icon:"Wissen"}],d=[{title:"Alles für Gründer",icon:"Foundation"},{title:"Schwerpunkt&shy;thema Digitalisierung",icon:"Roboter"},{title:"Schwerpunkt&shy;thema Nachfolge",icon:"Uebergabe"}],k=({headline:i="Unsere Themensammlung",type:o="single-topic",maxItems:s=6,data:r=o==="single-topic"?f:d})=>{const t=e("section",["topics","variant-subtle-primary"]);t.dataset.type=o==="single-topic"?"single":"list";const n=e("div",["container"],null,t);i&&i.length>0&&e("h2",[],i,n);const c=e("div",["row"],null,n);return r.map((l,a)=>{if(a<s){const p=e("div",["col"],null,c),m=g({...l,type:o});p.appendChild(m)}}),new u(h(t)),t};export{k as c};