Files
e-tib.com/.next/server/chunks/ssr/_ed7052e7._.js
2026-05-07 10:43:20 +02:00

5 lines
16 KiB
JavaScript

;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="7c44bb0b-5090-ab99-43bd-316df785b0b6")}catch(e){}}();
module.exports=[521331,a=>{"use strict";var b=a.i(998511),c=a.i(892858);function d({prev:a,next:d,isPrevRandom:e,isNextRandom:f,locale:g}){return a||d?(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 w-full mt-16",children:[a?(0,b.jsxs)(c.default,{href:`/${g}/blog/${a.slug}`,className:"group relative h-64 md:h-80 overflow-hidden block",children:[a.frontmatter.featuredImage?(0,b.jsx)("div",{className:"absolute inset-0 z-0 bg-cover transition-transform duration-1000 group-hover:scale-105",style:{backgroundImage:`url(${a.frontmatter.featuredImage.split("?")[0]})`,backgroundPosition:`${a.frontmatter.focalX??50}% ${a.frontmatter.focalY??50}%`}}):(0,b.jsx)("div",{className:"absolute inset-0 bg-neutral-100"}),(0,b.jsx)("div",{className:"absolute inset-0 bg-black/60 group-hover:bg-black/50 transition-colors duration-300"}),(0,b.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-center p-8 md:p-12 text-white z-10",children:[(0,b.jsx)("span",{className:"text-sm font-bold uppercase tracking-wider mb-2 text-white/90",children:e?"de"===g?"Weiterer Artikel":"More Article":"de"===g?"Vorheriger Beitrag":"Previous Post"}),(0,b.jsx)("h3",{className:"text-xl md:text-2xl font-bold leading-tight group-hover:underline decoration-2 underline-offset-4",children:a.frontmatter.title})]}),(0,b.jsx)("div",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-white/70 group-hover:text-white group-hover:-translate-x-2 transition-all duration-300",children:(0,b.jsx)("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})})]}):(0,b.jsx)("div",{className:"hidden md:block bg-neutral-50"}),d?(0,b.jsxs)(c.default,{href:`/${g}/blog/${d.slug}`,className:"group relative h-64 md:h-80 overflow-hidden block",children:[d.frontmatter.featuredImage?(0,b.jsx)("div",{className:"absolute inset-0 z-0 bg-cover transition-transform duration-1000 group-hover:scale-105",style:{backgroundImage:`url(${d.frontmatter.featuredImage.split("?")[0]})`,backgroundPosition:`${d.frontmatter.focalX??50}% ${d.frontmatter.focalY??50}%`}}):(0,b.jsx)("div",{className:"absolute inset-0 bg-neutral-100"}),(0,b.jsx)("div",{className:"absolute inset-0 bg-black/60 group-hover:bg-black/50 transition-colors duration-300"}),(0,b.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-center items-end text-right p-8 md:p-12 text-white z-10",children:[(0,b.jsx)("span",{className:"text-sm font-bold uppercase tracking-wider mb-2 text-white/90",children:f?"de"===g?"Weiterer Artikel":"More Article":"de"===g?"Nächster Beitrag":"Next Post"}),(0,b.jsx)("h3",{className:"text-xl md:text-2xl font-bold leading-tight group-hover:underline decoration-2 underline-offset-4",children:d.frontmatter.title})]}),(0,b.jsx)("div",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-white/30 group-hover:text-white group-hover:translate-x-2 transition-all duration-300",children:(0,b.jsx)("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}):(0,b.jsx)("div",{className:"hidden md:block bg-neutral-50"})]}):null}a.s(["default",()=>d])},210032,a=>{"use strict";var b=a.i(998511),c=a.i(892858);function d({locale:a}){let d="de"===a;return(0,b.jsxs)("div",{className:"my-16 p-10 md:p-16 bg-neutral-dark rounded-[2rem] shadow-2xl relative overflow-hidden group",children:[(0,b.jsx)("div",{className:"absolute inset-0 opacity-10 pointer-events-none",children:(0,b.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-[radial-gradient(#3b82f6_1px,transparent_1px)] [background-size:40px_40px]"})}),(0,b.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-primary/20 rounded-full blur-3xl -mr-32 -mt-32 transition-transform group-hover:scale-110 duration-1000"}),(0,b.jsxs)("div",{className:"relative z-10",children:[(0,b.jsx)("div",{className:"inline-block px-4 py-1 bg-accent/20 text-accent text-xs font-bold uppercase tracking-[0.2em] rounded-full mb-8",children:d?"Lösungen":"Solutions"}),(0,b.jsxs)("h3",{className:"text-2xl md:text-4xl font-bold text-white mb-8 leading-tight",children:[d?"Bereit für die":"Ready for the",(0,b.jsx)("span",{className:"text-accent block",children:d?"Energiewende?":"Energy Transition?"})]}),(0,b.jsx)("p",{className:"text-xl text-white/90 mb-10 leading-relaxed max-w-2xl",children:d?"Von der Planung von Wind- und Solarparks bis zur Lieferung hochwertiger Energiekabel erwecken wir Ihre Projekte zum Leben.":"From wind and solar park planning to delivering high-quality energy cables, we bring your projects to life."}),(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-12",children:[d?"Strategischer Hub für schnelle Lieferung":"Strategic hub for fast delivery",d?"Nachhaltige Kabelinfrastruktur":"Sustainable cable infrastructure",d?"Expertenberatung für Großprojekte":"Expert consulting for large-scale projects",d?"Zertifizierte Qualität nach EU-Standards":"Certified quality according to EU standards"].map((a,c)=>(0,b.jsxs)("div",{className:"flex items-center gap-4 text-white/90",children:[(0,b.jsx)("div",{className:"w-6 h-6 rounded-full bg-accent/20 flex items-center justify-center flex-shrink-0",children:(0,b.jsx)("svg",{className:"w-3 h-3 text-accent",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),(0,b.jsx)("span",{className:"text-sm font-medium",children:a})]},c))}),(0,b.jsxs)("div",{className:"flex flex-col sm:flex-row gap-6 items-start sm:items-center pt-8 border-t border-white/10",children:[(0,b.jsxs)(c.default,{href:`/${a}/contact`,className:"inline-flex items-center gap-3 px-8 py-4 bg-primary text-white font-bold rounded-full hover:bg-primary/90 transition-all shadow-xl hover:shadow-primary/20 transform hover:-translate-y-1 group/btn",children:[d?"Projekt anfragen":"Inquire Project",(0,b.jsx)("svg",{className:"w-5 h-5 transition-transform group-hover/btn:translate-x-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]}),(0,b.jsx)("p",{className:"text-white/80 text-sm font-medium",children:d?"Kostenlose Erstberatung für Ihr Vorhaben.":"Free initial consultation for your project."})]})]})]})}a.s(["default",()=>d])},234967,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/blog/TableOfContents.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/blog/TableOfContents.tsx <module evaluation>","default")},630187,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/blog/TableOfContents.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/blog/TableOfContents.tsx","default")},308135,a=>{"use strict";a.i(234967);var b=a.i(630187);a.n(b)},128840,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/analytics/BlogEngagementTracker.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/analytics/BlogEngagementTracker.tsx <module evaluation>","default")},679007,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/analytics/BlogEngagementTracker.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/analytics/BlogEngagementTracker.tsx","default")},229902,a=>{"use strict";a.i(128840);var b=a.i(679007);a.n(b)},613762,a=>a.a(async(b,c)=>{try{var d=a.i(998511);a.i(612641);var e=a.i(909547),f=a.i(206417),g=a.i(630035),h=a.i(709144),i=a.i(892858),j=a.i(122490),k=a.i(521331),l=a.i(210032),m=a.i(308135);a.i(280896);var n=a.i(277870),o=a.i(838742),p=a.i(229902),q=a.i(403492),r=b([q]);async function s({params:a}){let{locale:b,slug:c}=await a,d=await (0,h.getPostBySlug)(c,b);if(!d)return{};let e=d.frontmatter.excerpt||"";return{title:d.frontmatter.title,description:e,alternates:{canonical:`${g.SITE_URL}/${b}/blog/${d.slug}`},openGraph:{title:`${d.frontmatter.title} | E-TIB`,description:e,type:"article",publishedTime:d.frontmatter.date,authors:["E-TIB"],url:`${g.SITE_URL}/${b}/blog/${d.slug}`},twitter:{card:"summary_large_image",title:`${d.frontmatter.title} | E-TIB`,description:e}}}async function t({params:a}){let{locale:b,slug:c}=await a;(0,o.setRequestLocale)(b);let r=await (0,h.getPostBySlug)(c,b);r||(0,e.notFound)();let{prev:s,next:t,isPrevRandom:u,isNextRandom:v}=await (0,h.getAdjacentPosts)(r.slug,b),w=(0,h.getHeadings)(r.content),x=(0,h.getReadingTime)(r.content);return(0,d.jsxs)("article",{className:"bg-white min-h-screen font-sans selection:bg-primary/10 selection:text-primary",children:[(0,d.jsx)(p.default,{title:r.frontmatter.title,slug:c,category:r.frontmatter.category,readingTime:x}),r.frontmatter.featuredImage?(0,d.jsxs)("div",{className:"relative w-full h-[70vh] min-h-[500px] overflow-hidden group",children:[(0,d.jsx)("div",{className:"absolute inset-0 transition-transform duration-[3s] ease-out scale-110 group-hover:scale-100",children:(0,d.jsx)(j.default,{src:r.frontmatter.featuredImage.split("?")[0],alt:r.frontmatter.title,fill:!0,priority:!0,quality:100,className:"object-cover",sizes:"100vw",style:{objectPosition:`${r.frontmatter.focalX??50}% ${r.frontmatter.focalY??50}%`}})}),(0,d.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-neutral-dark/90 via-neutral-dark/40 to-transparent"}),(0,d.jsx)("div",{className:"absolute inset-0 flex flex-col justify-end pb-16 md:pb-24",children:(0,d.jsx)("div",{className:"container mx-auto px-4",children:(0,d.jsxs)("div",{className:"max-w-4xl",children:[r.frontmatter.category&&(0,d.jsx)("div",{className:"overflow-hidden mb-6",children:(0,d.jsx)("span",{className:"inline-block px-4 py-1.5 bg-accent text-neutral-dark text-xs font-bold uppercase tracking-[0.2em] rounded-sm",children:r.frontmatter.category})}),(0,d.jsx)(n.Heading,{level:1,className:"text-white mb-8 drop-shadow-2xl",children:r.frontmatter.title}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-6 text-white/80 text-sm md:text-base font-medium",children:[(0,d.jsx)("time",{dateTime:r.frontmatter.date,suppressHydrationWarning:!0,children:new Date(r.frontmatter.date).toLocaleDateString(b||"de",{year:"numeric",month:"long",day:"numeric"})}),(0,d.jsx)("span",{className:"w-1 h-1 bg-white/30 rounded-full"}),(0,d.jsxs)("span",{children:[x," min read"]}),(new Date(r.frontmatter.date)>new Date||!1===r.frontmatter.public)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"w-1 h-1 bg-white/30 rounded-full"}),(0,d.jsx)("span",{className:"px-2 py-0.5 border border-white/40 text-white/80 rounded uppercase tracking-widest text-[10px] md:text-xs font-bold",children:"Draft Preview"})]})]})]})})})]}):(0,d.jsx)("header",{className:"pt-32 pb-16 bg-neutral-50 border-b border-neutral-100",children:(0,d.jsxs)("div",{className:"container mx-auto px-4 max-w-4xl",children:[r.frontmatter.category&&(0,d.jsx)("div",{className:"mb-6",children:(0,d.jsx)("span",{className:"inline-block px-4 py-1.5 bg-primary/10 text-primary text-xs font-bold uppercase tracking-[0.2em] rounded-sm",children:r.frontmatter.category})}),(0,d.jsx)(n.Heading,{level:1,className:"mb-8",children:r.frontmatter.title}),(0,d.jsxs)("div",{className:"flex items-center gap-6 text-text-primary/80 font-medium",children:[(0,d.jsx)("time",{dateTime:r.frontmatter.date,suppressHydrationWarning:!0,children:new Date(r.frontmatter.date).toLocaleDateString(b||"de",{year:"numeric",month:"long",day:"numeric"})}),(0,d.jsx)("span",{className:"w-1 h-1 bg-neutral-400 rounded-full"}),(0,d.jsxs)("span",{children:[x," min read"]}),(new Date(r.frontmatter.date)>new Date||!1===r.frontmatter.public)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"w-1 h-1 bg-neutral-300 rounded-full"}),(0,d.jsx)("span",{className:"px-2 py-0.5 border border-orange-500/50 text-orange-600 rounded uppercase tracking-widest text-[10px] md:text-xs font-bold",children:"Draft Preview"})]})]})]})}),(0,d.jsx)("div",{className:"container mx-auto px-4 py-16 md:py-24",children:(0,d.jsxs)("div",{className:"sticky-narrative-container",children:[(0,d.jsxs)("div",{className:"sticky-narrative-content",children:[r.frontmatter.excerpt&&(0,d.jsx)("div",{className:"mb-16",children:(0,d.jsx)("p",{className:"text-xl md:text-2xl text-text-primary leading-relaxed font-medium border-l-4 border-primary pl-8 py-2 italic",children:r.frontmatter.excerpt})}),(0,d.jsx)("div",{className:"prose prose-lg md:prose-xl max-w-none prose-headings:font-bold prose-headings:text-text-primary prose-p:text-text-secondary prose-p:leading-relaxed prose-a:text-primary prose-a:no-underline hover:prose-a:underline prose-img:rounded-2xl prose-img:shadow-2xl prose-blockquote:border-primary prose-blockquote:bg-primary/5 prose-blockquote:rounded-r-2xl prose-strong:text-primary",children:(0,d.jsx)(q.MDXRemote,{source:r.content})}),(0,d.jsx)("div",{className:"mt-24 animate-slight-fade-in-from-bottom",children:(0,d.jsx)(l.default,{locale:b})}),(0,d.jsx)("div",{className:"mt-16",children:(0,d.jsx)(k.default,{prev:s,next:t,isPrevRandom:u,isNextRandom:v,locale:b})}),(0,d.jsx)("div",{className:"mt-16 pt-10 border-t border-neutral-100",children:(0,d.jsxs)(i.default,{href:`/${b}/blog`,className:"inline-flex items-center gap-3 text-text-secondary hover:text-primary font-bold text-sm uppercase tracking-widest transition-all group",children:[(0,d.jsx)("svg",{className:"w-5 h-5 transition-transform group-hover:-translate-x-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})}),"de"===b?"Zurück zur Übersicht":"Back to Overview"]})})]}),(0,d.jsx)("aside",{className:"sticky-narrative-sidebar hidden lg:block",children:(0,d.jsx)("div",{className:"space-y-12 lg:sticky lg:top-32",children:(0,d.jsx)(m.default,{headings:w,locale:b})})})]})}),(0,d.jsx)(f.default,{id:`jsonld-${c}`,data:{"@context":"https://schema.org","@type":"BlogPosting",headline:r.frontmatter.title,datePublished:r.frontmatter.date,dateModified:r.frontmatter.date,image:r.frontmatter.featuredImage?`${g.SITE_URL}${r.frontmatter.featuredImage}`:void 0,author:{"@type":"Organization",name:"E-TIB",url:g.SITE_URL,logo:`${g.SITE_URL}/logo-blue.svg`},publisher:{"@type":"Organization",name:"E-TIB",logo:{"@type":"ImageObject",url:`${g.SITE_URL}/logo-blue.svg`}},description:r.frontmatter.excerpt,mainEntityOfPage:{"@type":"WebPage","@id":`${g.SITE_URL}/${b}/blog/${c}`},articleSection:r.frontmatter.category,wordCount:r.content.split(/\s+/).length,timeRequired:`PT${x}M`}}),(0,d.jsx)(f.default,{id:`breadcrumb-${c}`,data:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Blog",item:`${g.SITE_URL}/${b}/blog`},{"@type":"ListItem",position:2,name:r.frontmatter.title,item:`${g.SITE_URL}/${b}/blog/${c}`}]}})]})}[q]=r.then?(await r)():r,a.s(["default",()=>t,"generateMetadata",()=>s]),c()}catch(a){c(a)}},!1)];
//# debugId=7c44bb0b-5090-ab99-43bd-316df785b0b6
//# sourceMappingURL=_ed7052e7._.js.map