PageSourceSearch

https://www.beonwave.ai/assets/Clanky-CfpSzqEG.js

js beonwave.ai collected 2026-10-05 14:39:12 UTC 5,471 bytes, 1 lines download raw bytes

1import{a as w,j as e}from"./query-DdjojTYk.js";import{r as u,L as p}from"./react-vendor-D-ogo_dS.js";import{u as A,v as C,w as _,x as I,S,b as L,n as h,d as g,e as M,y as $,k as z,A as B,F as R,z as n}from"./index-t8Jak1B7.js";import{f as E,c as O,e as T}from"./cs-9uBBtZ3a.js";import{U as D}from"./user-CUkr5Cvb.js";import"./supabase-BOEUwMIl.js";import"./ui-vendor-BIyKPPMw.js";import"./helmet-CvguLoMj.js";const j={title:{cs:"Články o AI | Be On Wave",en:"AI Articles | Be On Wave"},description:{cs:"Přečtěte si naše články o praktickém využití AI v podnikání, regulovaných odvětvích a firemních procesech.",en:"Read our articles about practical AI use in business, regulated industries, and corporate processes."}};function Z(){const{language:a}=A(),{data:r,isLoading:v}=C(a),{data:c}=_(),[o,d]=u.useState(null),m=w(),i={cs:{title:"Články",subtitle:"Novinky a poznatky ze světa AI v podnikání",metaTitle:"Články o AI | Be On Wave",metaDescription:"Přečtěte si naše články o praktickém využití AI v podnikání, regulovaných odvětvích a firemních procesech.",allCategories:"Vše",readMore:"Číst více",noArticles:"Zatím nemáme žádné články",loading:"Načítám články..."},en:{title:"Articles",subtitle:"News and insights from the world of AI in business",metaTitle:"AI Articles | Be On Wave",metaDescription:"Read our articles about practical AI use in business, regulated industries, and corporate processes.",allCategories:"All",readMore:"Read more",noArticles:"No articles yet",loading:"Loading articles..."}}[a],f=a==="cs"?O:T,l=o?r==null?void 0:r.filter(s=>s.service_id===o):r,N=s=>{const t=document.createElement("div");return t.innerHTML=s,t.textContent||t.innerText||""},y=u.useCallback(s=>{I(m,s,a)},[m,a]),b=()=>e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:[...Array(6)].map((s,t)=>e.jsxs(g,{className:"overflow-hidden",children:[e.jsx(n,{className:"aspect-video"}),e.jsxs("div",{className:"p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(n,{className:"h-4 w-24"}),e.jsx(n,{className:"h-5 w-16 rounded-full"})]}),e.jsx(n,{className:"h-6 w-full"}),e.jsx(n,{className:"h-4 w-3/4"}),e.jsx(n,{className:"h-4 w-full"}),e.jsx(n,{className:"h-4 w-2/3"}),e.jsx(n,{className:"h-4 w-20"})]})]},t))});return e.jsxs(e.Fragment,{children:[e.jsx(S,{title:j.title,description:j.description,jsonLd:L([{name:"Domů",path:"/"},{name:"Články",path:"/clanky"}])}),e.jsxs("div",{className:"min-h-dvh",children:[e.jsx("section",{className:"py-16 md:py-24",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4 text-foreground/85",children:i.title}),e.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:i.subtitle})]})}),e.jsx("section",{className:"py-8",children:e.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx(h,{variant:o===null?"default":"outline",size:"sm",onClick:()=>d(null),children:i.allCategories}),c==null?void 0:c.map(s=>e.jsx(h,{variant:o===s.id?"default":"outline",size:"sm",onClick:()=>d(s.id),children:a==="cs"?s.name_cs:s.name_en},s.id))]})})}),e.jsx("section",{className:"py-16",children:e.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:v?e.jsx(b,{}):(l==null?void 0:l.length)===0?e.jsx("div",{className:"text-center py-12",children:e.jsx("p",{className:"text-muted-foreground",children:i.noArticles})}):e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:l==null?void 0:l.map(s=>{var x;const t=s.translation;return t?e.jsxs(g,{className:"overflow-hidden group hover:shadow-lg transition-shadow",onMouseEnter:()=>y(s.slug),children:[s.featured_image&&e.jsx("div",{className:"aspect-video overflow-hidden",children:e.jsx("img",{src:s.featured_image,alt:t.title,loading:"lazy",className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-300 ${s.featured_image_position==="top"?"object-top":s.featured_image_position==="bottom"?"object-bottom":"object-center"}`})}),e.jsxs(M,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mb-3",children:[s.published_at&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx($,{className:"h-4 w-4"}),E(new Date(s.published_at),"d. MMMM yyyy",{locale:f})]}),s.service&&e.jsx(z,{variant:"secondary",children:a==="cs"?s.service.name_cs:s.service.name_en})]}),e.jsx("h2",{className:"text-xl font-semibold mb-2 group-hover:text-primary transition-colors",children:e.jsx(p,{to:`/clanky/${s.slug}`,children:t.title})}),t.subtitle&&e.jsx("p",{className:"text-muted-foreground mb-3",children:t.subtitle}),t.perex&&e.jsx("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-3",children:N(t.perex)}),((x=s.authors)==null?void 0:x.length)>0&&e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-4",children:[e.jsx(D,{className:"h-4 w-4"}),s.authors.map(k=>
1k.name).join(", ")]}),e.jsxs(p,{to:`/clanky/${s.slug}`,className:"inline-flex items-center text-primary font-medium hover:underline","aria-label":`${i.readMore}: ${t.title}`,children:[a==="cs"?`Číst článek: ${t.title}`:`Read article: ${t.title}`,e.jsx(B,{className:"h-4 w-4 ml-1 shrink-0"})]})]})]},s.id):null})})})}),e.jsx(R,{})]})]})}export{Z 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.