1import{t as e}from"./jsx-runtime-CY_MMzgk.js";import{n as t,t as n}from"./book-open-BoplDMnb.js";import{t as r}from"./star-BhDVkeTA.js";import{d as i,g as a,m as o,s,u as c}from"./index-KiXXdCSs.js";var l=e();function u({title:e,intro:u,ebooks:d,heroImage:f}){let{lang:p,t:m}=c();return(0,l.jsxs)(`div`,{children:[(0,l.jsxs)(`section`,{className:`relative h-[42vh] min-h-[320px] w-full overflow-hidden`,children:[(0,l.jsx)(`img`,{src:f,alt:``,className:`absolute inset-0 h-full w-full object-cover`}),(0,l.jsx)(`div`,{className:`absolute inset-0 gradient-hero-overlay`}),(0,l.jsxs)(`div`,{className:`relative mx-auto flex h-full max-w-7xl flex-col justify-end px-4 pb-10 text-primary-foreground`,children:[(0,l.jsxs)(`span`,{className:`mb-3 inline-flex w-fit items-center gap-2 rounded-full bg-white/15 px-3 py-1 text-xs font-medium uppercase tracking-wider backdrop-blur`,children:[(0,l.jsx)(n,{className:`h-3.5 w-3.5`}),` eBooks`]}),(0,l.jsx)(`h1`,{className:`font-serif text-4xl font-bold leading-tight md:text-5xl`,children:e}),(0,l.jsx)(`p`,{className:`mt-3 max-w-3xl text-white/90 md:text-lg`,children:u})]})]}),(0,l.jsxs)(`section`,{className:`mx-auto max-w-7xl px-4 py-16`,children:[(0,l.jsx)(`div`,{className:`grid gap-7 md:grid-cols-2 lg:grid-cols-3`,children:d.map(e=>(0,l.jsxs)(`article`,{className:`group flex flex-col overflow-hidden rounded-xl border border-border bg-card shadow-card-soft transition hover:-translate-y-1 hover:shadow-ocean`,children:[(0,l.jsx)(`div`,{className:`relative aspect-[4/3] overflow-hidden gradient-ocean`,children:(0,l.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center p-8`,children:(0,l.jsxs)(`div`,{className:`rotate-[-4deg] rounded-md bg-white/95 px-5 py-8 text-center shadow-2xl transition group-hover:rotate-0`,children:[(0,l.jsx)(n,{className:`mx-auto mb-3 h-7 w-7 text-primary`}),(0,l.jsx)(`p`,{className:`font-serif text-base font-bold leading-tight text-foreground`,children:e.title}),(0,l.jsx)(`p`,{className:`mt-2 text-[10px] uppercase tracking-widest text-muted-foreground`,children:`eBook PDF`})]})})}),(0,l.jsxs)(`div`,{className:`flex flex-1 flex-col p-6`,children:[(0,l.jsx)(`div`,{className:`mb-2 flex items-center gap-1 text-coral`,children:[...[,,,,,]].map((e,t)=>(0,l.jsx)(r,{className:`h-3.5 w-3.5 fill-current`},t))}),(0,l.jsx)(`h3`,{className:`font-serif text-lg font-bold leading-snug`,children:e.title}),(0,l.jsx)(`p`,{className:`mt-2 flex-1 text-sm text-muted-foreground`,children:e.desc}),(0,l.jsx)(`div`,{className:`mt-4 flex items-center justify-between border-t border-border pt-4`,children:(0,l.jsxs)(`div`,{children:[(0,l.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:e.pages}),(0,l.jsx)(`p`,{className:`font-bold text-primary`,children:e.price})]})}),e.to?(0,l.jsxs)(a,{to:e.to,className:`mt-4 inline-flex items-center justify-center gap-2 rounded-lg bg-primary px-4 py-2.5 text-sm font-semibold text-primary-foreground transition hover:opacity-90`,children:[m.cta.more,` `,(0,l.jsx)(t,{className:`h-4 w-4`})]}):(0,l.jsxs)(`a`,{href:o,target:`_blank`,rel:`noreferrer`,className:`mt-4 inline-flex items-center justify-center gap-2 rounded-lg bg-primary px-4 py-2.5 text-sm font-semibold text-primary-foreground transition hover:opacity-90`,children:[m.cta.more,` `,(0,l.jsx)(t,{className:`h-4 w-4`})]}),e.orderUrl&&(0,l.jsxs)(`a`,{href:e.orderUrl,target:`_blank`,rel:`noreferrer`,className:`mt-2 inline-flex items-center justify-center gap-2 rounded-lg bg-coral px-4 py-2.5 text-sm font-semibold text-white shadow-ocean transition hover:opacity-90`,children:[m.cta.commander,` `,(0,l.jsx)(t,{className:`h-4 w-4`})]})]})]},e.title))}),(0,l.jsx)(`div`,{className:`mt-16 overflow-hidden rounded-2xl gradient-ocean p-8 text-primary-foreground shadow-ocean md:p-12`,children:(0,l.jsxs)(`div`,{className:`grid items-center gap-6 md:grid-cols-[1fr_auto]`,children:[(0,l.jsxs)(`div`,{children:[(0,l.jsx)(`h2`,{className:`font-serif text-2xl font-bold md:text-3xl`,children:m.cta.advisor}),(0,l.jsx)(`p`,{className:`mt-2 max-w-xl text-white/85`,children:p===`fr`?`Un doute sur le bon ouvrage ? Notre équipe d'instructeurs vous oriente gratuitement.`:p===`en`?`Not sure which book is right for you? Our instructor team guides you for free.`:`à¹à¸¡à¹à¹à¸à¹à¹à¸à¸§à¹à¸²à¸«à¸à¸±à¸à¸ªà¸·à¸à¹à¸¥à¹à¸¡à¹à¸«à¸à¹à¸«à¸¡à¸²à¸°à¸à¸±à¸à¸à¸¸à¸? à¸à¸µà¸¡à¸à¸£à¸¹à¸ªà¸à¸à¸à¸à¸à¹à¸£à¸²à¸à¸°à¹à¸«à¹à¸à¸³à¹à¸à¸°à¸à¸³à¸à¸£à¸µ`})]}),(0,l.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row`,children:[(0,l.jsxs)(`a`,{href:o,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center justify-center gap-2 rounded-lg bg-white px-6 py-3 font-semibold text-primary transition hover:bg-white/90`,children:[(0,l.jsx)(s,{className:`h-5 w-5`}),` `,m.cta.advisor]}),(0,l.jsx)(`a`,{href:i[p],target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center justify-center gap-2 rounded-lg border border-white/40 bg-white/10 px-6 py-3 font-semibold transition hover:bg-white/20`,children:m.cta.contactLink})]})]})})]})]})}export{u as t};
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.