PageSourceSearch

https://fonds.lv/build/assets/Index-DbQ7Guqf.js

js fonds.lv collected 2026-10-01 12:28:06 UTC 4,255 bytes, 1 lines download raw bytes

1import{P as C}from"./PublicLayout-CrF0O-Xg.js";import I from"./Tile-OcqGRWaW.js";import{T as L}from"./TileTransparentButton-W4MQsupk.js";import{_ as P}from"./ArrowOutline-BlnyArpk.js";import{i as A,Z as O,r as a,c as _,w as d,a as c,b as e,g as h,o,n as p,f as n,F as b,j as y,t as v}from"./app-BFBm0Bhp.js";import{T as V}from"./TileWhiteButton-CQnqhm_G.js";import E from"./Banner-DJY-QY1j.js";import H from"./WithMargins-2s5ttyK6.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ApplicationLogo-BDZZhcqx.js";import"./NavLink-XJ1F9B8R.js";import"./ChevronDownOutline-I8s4miqi.js";import"./PaymentForm-b0DK4QxV.js";import"./InputError-gS6WMAxM.js";import"./InputLabel-COeR7jGs.js";import"./TextInput-BleaLv5g.js";import"./Modal-BCYUwSCy.js";import"./PrimaryButton-DQRXstZk.js";import"./Checkbox-D14ZYmw-.js";import"./LogoYoutube-DPs_gR_f.js";const N={name:"Index",components:{Head:O,WithMargins:H,Banner:E,TileButton:V,ArrowOutline:P,TileTransparentButton:L,Tile:I,PublicLayout:C,Link:A},props:{banner:{type:Object,default:[]},categories:{type:Object,default:[]}},data(){return{sectionIndex:null,locale:this.$page.props.appLocale,colorSets:["text-secondary border-secondary","text-custom-blue border-custom-blue","text-primary, border-primary","text-tertiary border-tertiary","text-accent border-accent","text-custom-gray border-custom-gray","text-typography border-typography"],gradientSets:["bg-gradient-to-br from-secondary to-[#860034]","bg-gradient-to-br from-custom-blue to-[#114081]","bg-gradient-to-br from-primary to-[#000025]","bg-gradient-to-br from-tertiary to-[#490000]","bg-gradient-to-br from-accent to-[#803C00]","bg-gradient-to-br from-custom-gray to-[#7d7e7e]","bg-gradient-to-br from-typography to-[#007591]"]}},methods:{getTitleClass(r){return this.colorSets[r%this.colorSets.length]},categoryGradient(r){return this.gradientSets[r%this.gradientSets.length]},scrollToSection(r){this.sectionIndex=r;const u=document.getElementById("category-"+r);u&&u.scrollIntoView({behavior:"smooth"})}}},W={class:"space-y-10 xl:space-y-20"},F=["onClick"],G={class:"w-3/4"},z={class:"text-white text-[24pt] 2xl:text-[32pt] leading-none font-metaPro"},D={class:"pb-2 absolute bottom-0 right-6"},Z={class:"space-y-16"},q=["id"],J={class:"grid md:grid-cols-2 gap-5"},K={key:0,class:"cursor-pointer"},Q={class:"-mt-6 md:-mt-10 transition-all duration-200 ease-in-out group-hover:-mr-4"};function R(r,u,i,U,l,g){const x=a("Head"),w=a("Banner"),f=a("ArrowOutline"),k=a("Tile"),S=a("Link"),T=a("WithMargins"),B=a("PublicLayout");return o(),_(B,null,{default:d(()=>[c(x,{title:"Projects"}),e("div",W,[c(T,{class:"space-y-10 xl:space-y-20"},{default:d(()=>[i.banner?(o(),_(w,{key:0,post:i.banner,type:"projects",via:"#004286",viaStart:"30%",to:"transparent",toStart:"55%",transparentStart:"60%",showCategory:!1},null,8,["post"])):h("",!0),e("div",{class:p(["grid grid-cols-12 gap-y-5 gap-x-5",{"mt-20":!i.banner}])},[(o(!0),n(b,null,y(i.categories,(m,s)=>(o(),n("div",{key:s,class:p(["cursor-pointer w-full col-span-12 sm:col-span-6 xl:col-span-3 p-4 h-44 relative group",g.categoryGradient(s)]),onClick:t=>g.scrollToSection(s)},[e("div",G,[e("span",z,v(m.name[l.locale]),1)]),e("div",D,[e("div",{class:p(["mt-auto transition-all duration-200 ease-in-out",{"group-hover:-mr-4":l.sectionIndex!==s}])},[c(f,{isActive:l.sectionIndex===s,class:"ml-auto w-20"},null,8,["isActive"])],2)])],10,F))),128))],2),e("div",Z,[(o(!0),n(b,null,y(i.categories,(m,s)=>(o(),n("div",{id:"category-"+s,class:"space-y-10"},[e("div",{class:p(["text-[32pt] md:text-[40pt] font-metaProBold border-b-2",g.getTitleClass(s)])},v(m.name[l.locale]),3),e("div",J,[(o(!0),n(b,null,y(m.projects,t=>(o(),n("div",null,[t!=null&&t.id?(o(),n("div",K,[t!=null&&t.id?(o(),_(S,{key:0,class:"cursor-pointer col-span-6 md:col-span-5",href:r.route("projects.show",{project:t.id})},{default:d(()=>[c(k,{post:t,showExcerpt:!1,textPosition:"bottom-0 w-2/3",classes:"mix-blend-multiply h-60 md:h-96",href:r.route("projects.show",{project:t.id})},{button:d(()=>[e("div",Q,[c(f,{class:"w-16 md:w-24 ml-auto mr-5"})])]),_:1},8,["post","href"])]),_:2},1032,["href"])):h("",!0)])):h("",!0)]))),256))])],8,q))),256))])]),_:1})])]),_:1})}const ht=M(N,[["render",R]]);
1export{ht 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.