PageSourceSearch

https://foerder-consult.de/assets/BlogPost-DL53s-U-.js

js foerder-consult.de collected 2026-10-06 20:42:56 UTC 6,777 bytes, 1 lines download raw bytes

1import{j as e}from"./motion-CPTsCoBv.js";import{r as x}from"./vendor-CffrGP6S.js";import{s as p,N as h,S as v,F as f,a as c,A as j}from"./index-6Yb0bfN3.js";import g from"./FooterSection-COjPr7D1.js";import{c as b,L as l}from"./router-BFuUi11d.js";import{b as r}from"./blogArticles-BKaB59Xh.js";import{A as d}from"./arrow-left-D3nw5gYq.js";import{E as y}from"./eye-CcZhPk0l.js";import{A as N}from"./arrow-right-B8XcmYNm.js";import"./ui-DoNskkHx.js";function C(){const{slug:a}=b(),t=r.findIndex(i=>i.slug===a),s=t>=0?r[t]:null,o=t>0?r[t-1]:null,n=t<r.length-1?r[t+1]:null,[m,u]=x.useState(null);return x.useEffect(()=>{a&&p.rpc("increment_blog_view",{post_slug:a}).then(({data:i})=>{typeof i=="number"&&u(i)})},[a]),s?e.jsxs("div",{className:"overflow-x-hidden",children:[e.jsx(v,{title:`${s.title} | Förder-Consult DE`,description:s.excerpt.slice(0,155),canonical:`/blog/${s.slug}`,type:"article",ogImage:typeof s.image=="string"?s.image:void 0,jsonLd:[{"@context":"https://schema.org","@type":"BlogPosting",headline:s.title,datePublished:s.date,dateModified:s.date,description:s.excerpt,image:typeof s.image=="string"?[s.image]:void 0,inLanguage:"de-DE",author:{"@type":"Organization",name:"Förder-Consult DE",url:"https://foerder-consult.de"},publisher:{"@type":"Organization",name:"Förder-Consult DE",url:"https://foerder-consult.de",logo:{"@type":"ImageObject",url:"https://foerder-consult.de/favicon.ico"}},mainEntityOfPage:`https://foerder-consult.de/blog/${s.slug}`},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Start",item:"https://foerder-consult.de/"},{"@type":"ListItem",position:2,name:"Blog",item:"https://foerder-consult.de/blog"},{"@type":"ListItem",position:3,name:s.title,item:`https://foerder-consult.de/blog/${s.slug}`}]}]}),e.jsx(h,{}),e.jsx(f,{}),e.jsxs("main",{id:"main-content",children:[e.jsx("section",{className:"pt-32 pb-12",style:{background:"hsl(var(--cream))"},children:e.jsx("div",{className:"container mx-auto px-6 max-w-5xl",children:e.jsxs(c,{children:[e.jsxs(l,{to:"/blog",className:"inline-flex items-center gap-2 text-sm font-semibold mb-8 hover:opacity-70 transition-opacity",style:{color:"hsl(var(--navy))"},children:[e.jsx(d,{className:"w-4 h-4"})," Zurück zum Blog"]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-10 items-center",children:[e.jsxs("div",{children:[s.isNew&&e.jsx("span",{className:"inline-block px-3 py-1 rounded-lg text-xs font-bold mb-4",style:{background:"hsl(var(--gold))",color:"hsl(var(--navy))"},children:"Neuer Artikel"}),e.jsx("h1",{className:"text-3xl sm:text-4xl lg:text-[2.75rem] font-bold mb-4 tracking-tight",style:{color:"hsl(var(--navy))",lineHeight:1.12},children:s.title}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("p",{className:"text-sm",style:{color:"hsl(var(--muted-foreground))"},children:s.date}),m!==null&&e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs font-medium",style:{color:"hsl(var(--muted-foreground))"},children:[e.jsx(y,{className:"w-3.5 h-3.5"}),m.toLocaleString("de-DE")," Aufrufe"]})]})]}),e.jsx("div",{className:"rounded-[20px] overflow-hidden shadow-lg",style:{background:"hsl(var(--warm-white))"},children:e.jsx("img",{src:s.image,alt:s.title,className:"w-full h-auto object-cover",style:{maxHeight:"420px",minHeight:"260px"}})})]})]})})}),e.jsx("section",{className:"py-16 bg-white",children:e.jsx("div",{className:"container mx-auto px-6 max-w-3xl",children:e.jsx(c,{children:s.contentHtml?e.jsx("div",{className:"blog-article-content",dangerouslySetInnerHTML:{__html:s.contentHtml}}):e.jsx("div",{className:"text-lg leading-relaxed",style:{color:"hsl(var(--muted-foreground))"},children:e.jsx("p",{children:s.excerpt})})})})}),(o||n)&&e.jsx("section",{className:"py-12 border-t",style:{background:"hsl(var(--warm-white))",borderColor:"hsla(220,15%,88%,0.5)"},children:e.jsx("div",{className:"container mx-auto px-6 max-w-5xl",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[o?e.jsxs(l,{to:`/blog/${o.slug}`,className:"group flex items-center gap-4 p-5 rounded-[20px] transition-all duration-300 hover:shadow-md",style:{background:"white"},children:[e.jsx(d,{className:"w-5 h-5 flex-shrink-0 transition-transform group-hover:-translate-x-1",style:{color:"hsl(var(--gold))"}}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"text-xs font-semibold block mb-1",style:{color:"hsl(var(--muted-foreground))"},children:"Vorheriger Artikel"}),e.jsx("span",{className:"text-sm font-bold block truncate",style:{color:"hsl(var(--navy))"},children:o.title})]})]}):e.jsx("div",{}),n?e.jsxs(l,{to:`/blog/${n.slug}`,className:"group flex items-center gap-4 p-5 rounded-[20px] transition-all duration-300 hover:shadow-md text-right md:justify-end",style:{background:"white"},children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"text-xs font-semibold block mb-1",style:{color:"hsl(var(--muted-foreground))"},children:"Nächster Artikel"}),e.jsx("span",{className:"text-sm font-bold block truncate",style:{color:"hsl(var(--navy))"},children:n.title})]}),e.jsx(N,{className:"w-5 h-5 flex-shrink-0 transition-transform group-hover:translate-x-1",style:{color:"hsl(var(--gold))"}})]}):e.jsx("div",{})]})})}),e.jsx("section",{className:"py-20",style:{background:"hsl(var(--cream))"},children:e.jsx("div",{className:"container mx-auto px-6 text-center",children:e.jsxs(c,{children:[e.jsx("h2",{className:"text-2xl sm:text-3xl font-bold mb-4",style:{color:"hsl(var(--navy))"},children:"Bereit, deine Förderung zu sichern?"}),e.jsx("p",{className:"text-sm mb-8 max-w-lg mx-auto",style:{color:"hsl(var(--muted-foreground))"},children:"Lass uns gemeinsam deine Fördermöglichkeiten prüfen, kostenlos und unverbindlich."}),e.jsxs(l,{to:"/kontakt",className:"inline-flex items-center gap-2 px-8 py-3.5 rounded-full font-bold text-sm transition-all duration-300 active:scale-95 hover:shadow-lg",style:{background:"hsl(var(--gold))",color:"hsl(var(--navy))"},children:["Jetzt Erstgespräch vereinbaren ",e.jsx(j,{className:"w-4 h-4"})]})]})})})]}),e.jsx(g,{})]}):e.jsxs("div",{className:"overflow-x-hidden",children:[e.jsx(h,{}),e.jsx("main",{id:"main-content",children:e.jsx("section",{className:"pt-32 pb-20 min-h-screen",style:{background:"hsl(var(--cream))"},children:e.jsxs("div",{className:"container mx-auto px-6 text-center",children:[e.jsx("h1",{className:"text-3xl font-bold mb-4",style:{color:"hsl(var(--navy))"},children:"Artikel nicht gefunden"}),e.jsxs(l,{to:"/blog",className:"inline-flex items-center gap-2 text-sm font-semibold hover:opacity-70",style:{color:"hsl(var(--navy))"},children:[e.jsx(d,{className:"w-4 h-4"})," Zurück zum Blog"]})]})})}),e.jsx(g,{})]})}
1export{C as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.