2 lines
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
|
import{_ as p}from"./Typography.vue.13ba1ade.js";import u from"./Section.f5b9263f.js";import{a as x,o as i,c as f,G as g,L as h,f as n,S as o,e as l,M as _,N as $,t as r}from"./entry.a42f0781.js";const y=["title"],k=["title"],b=["title"],S=x({__name:"GradientCard",props:{topic:null,content:null},setup(a){const c=["text-gradient-pink","text-gradient-blue","text-gradient-green","text-gradient-rose","text-gradient-purple","text-gradient-yello"];return(t,w)=>{const d=p,m=u;return i(),f(m,null,{default:g(()=>[h(d,{topic:t.$t(a.topic)},null,8,["topic"]),n("div",{class:o(["grid-row gap-10 pt-20 md:grid-cols-2",`lg:grid-cols-${a.content.length}`])},[(i(!0),l(_,null,$(a.content,(e,s)=>(i(),l("div",{key:s,class:o(["h-full w-full flex flex-col items-center justify-center animated animated-fade-in-up animated-faster",`animated-delay-${s*100}ms`])},[n("h2",{title:t.$t(e.title),class:o(["text-h3 md:text-h2 md:text-7xl w-full text-center font-bold text-transparent",c[s]])},r(t.$t(e.title)),11,y),n("h5",{title:t.$t(e.subtext),class:"text-h4 text-h5 mt-3 text-center"},r(t.$t(e.subtext)),9,k),n("p",{title:t.$t(e.description),class:"text-h6 mt-1 text-center"},r(t.$t(e.description)),9,b)],2))),128))],2)]),_:1})}}});export{S as _};
|