PageSourceSearch

https://agriventures.co/_nuxt/CLCjjdf_.js

js agriventures.co collected 2026-10-04 22:22:25 UTC 12,288 bytes, 1 lines download raw bytes

1import{_ as L}from"./DZFNOx-2.js";import{B as T,a as I,R as H,S as y,j as N,D as O,u as _,c as r,g as i,b as t,e as g,d as s,L as k,M as C,t as v,w as p,C as $,_ as R,m as q,h as o,l as D,i as E,P as F}from"./BR99EonN.js";import{u as P}from"./BMOnHZak.js";import{u as J}from"./BU8ctpVN.js";const U={class:"min-h-screen bg-neutral-50"},W={class:"section-padding bg-white"},G={class:"container-brand"},Y={key:0,class:"space-y-8"},Q={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"},K={key:1,class:"text-center py-16"},X={class:"text-neutral-600 max-w-md mx-auto mb-6"},Z={key:2,class:"text-center py-16"},tt={key:3,class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"},et={class:"relative h-48 overflow-hidden bg-neutral-200"},at=["src","alt"],st={key:1,class:"w-full h-full flex items-center justify-center text-neutral-400"},ot={class:"p-6"},rt={class:"text-xl font-bold text-neutral-950 mb-3 line-clamp-2 group-hover:text-brand-500 transition-colors duration-300"},nt={class:"text-neutral-600 leading-relaxed mb-6 line-clamp-4"},it={class:"relative section-padding bg-brand-500 text-white overflow-hidden"},lt={class:"container-brand relative z-10"},dt={class:"max-w-4xl mx-auto text-center space-y-8"},ct={class:"flex flex-col sm:flex-row gap-4 justify-center items-center"},ut=T({__name:"index",async setup(gt){let l,m;const S=I(),f=H(),d=y("caseStudies",()=>[]),h=y("availableTags",()=>[]),x=$(()=>S.query.tag||null),{data:j,pending:b,error:w,refresh:V}=([l,m]=N(()=>q("/api/case-studies",{query:{tag:x}},"$TIGQqgFAzA")),l=await l,m(),l);O(j,n=>{n&&(d.value=n.posts,h.value=n.availableTags||[])},{immediate:!0});const A=n=>{n?f.push({query:{tag:n}}):f.push({query:{}})},B=async()=>{try{await V()}catch{}},{getOptimizedImageUrl:z}=P(),{trackEvent:c}=J();return _({title:"Case Studies | AgriVentures - Success Stories & Impact",meta:[{name:"description",content:"Discover real success stories and impactful projects from our network of agricultural innovators and partners. Learn from their achievements and growth."},{name:"keywords",content:"AgriVentures case studies, agricultural success stories, farming innovation, agritech impact, food technology projects, agricultural funding success"},{property:"og:title",content:"Case Studies | AgriVentures - Success Stories & Impact"},{property:"og:description",content:"Discover real success stories and impactful projects from our network of agricultural innovators and partners."},{property:"og:image",content:"https://agriventures.co/og-image.jpg"},{property:"og:type",content:"website"},{property:"og:url",content:"https://agriventures.co/case-studies"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:"Case Studies | AgriVentures - Success Stories & Impact"},{name:"twitter:description",content:"Discover real success stories and impactful projects from our network of agricultural innovators and partners."},{name:"twitter:image",content:"https://agriventures.co/og-image.jpg"}],link:[{rel:"canonical",href:"https://agriventures.co/case-studies"}]}),_({script:[{type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"CollectionPage","@id":"https://agriventures.co/case-studies",name:"AgriVentures Case Studies",description:"Real success stories and impactful projects from our network of agricultural innovators and partners, showcasing growth and achievements in agricultural funding and innovation.",url:"https://agriventures.co/case-studies",author:{"@type":"Organization",name:"AgriVentures"},publisher:{"@type":"Organization",name:"AgriVentures",logo:{"@type":"ImageObject",url:"https://agriventures.co/logo.png"}},mainEntityOfPage:{"@type":"WebPage","@id":"https://agriventures.co/case-studies"}})}]}),(n,e)=>{const M=L,u=R;return o(),r("div",U,[e[13]||(e[13]=i('<section class="relative bg-brand-500 text-white section-padding overflow-hidden" data-v-9c92f46a><div class="absolute inset-0 overflow-hidden" data-v-9c92f46a><div class="absolute -top-10 -right-10 w-80 h-80 bg-white/5 rounded-full animate-float-slow" data-v-9c92f46a></div><div class="absolute top-1/3 -left-20 w-60 h-60 bg-secondary/10 rounded-full animate-float-medium" data-v-9c92f46a></div><div class="absolute bottom-20 right-1/4 w-40 h-40 bg-white/5 rounded-full animate-float-fast" data-v-9c92f46a></div></div><div class="container-brand relative z-10" data-v-9c92f46a><div class="max-w-4xl mx-auto text-center" data-v-9c92f46a><div class="inline-flex items-center px-6 py-3 bg-white/10 backdrop-blur-sm rounded-full text-sm font-medium mb-8" data-v-9c92f46a><svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-9c92f46a><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" data-v-9c92f46a></path></svg> Success Stories </div><h1 class="text-4xl lg:text-6xl font-bold leading-tight mb-6" data-v-9c92f46a> Case Studies </h1><p class="text-xl lg:text-2xl text-neutral-100 leading-relaxed max-w-3xl mx-auto" data-v-9c92f46a> Discover real success stories and impactful projects from our network of agricultural innovators and partners. </p></div></div></section>',1)),t("section",W,[t("div",G,[g(M,{"available-tags":s(h),"selected-tag":s(x),"is-loading":s(b),onTagSelected:A},null,8,["available-tags","selected-tag","is-loading"]),s(b)?(o(),r("div",Y,[e[3]||(e[3]=i('<div class="text-center" data-v-9c92f46a><div class="inline-flex items-center px-6 py-3 bg-brand-500/10 text-brand-500 rounded-full text-sm font-medium mb-8" data-v-9c92f46a><svg class="animate-spin w-4 h-4 mr-2" fill="none" viewBox="0 0 24 24" data-v-9c92f46a><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" data-v-9c92f46a></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" data-v-9c92f46a></path></svg> Loading Case Studies </div></div>',1)),t("div",Q,[(o(),r(k,null,C(6,a=>t("div",{key:`skeleton-${a}`,class:"bg-white rounded-2xl overflow-hidden shadow-lg border border-neutral-100 animate-pulse"},[...e[2]||(e[2]=[i('<div class="h-48 bg-neutral-200" data-v-9c92f46a></div><div class="p-6 space-y-4" data-v-9c92f46a><div class="h-6 bg-neutral-200 rounded w-3/4" data-v-9c92f46a></div><div class="space-y-2" data-v-9c92f46a><div class="h-4 bg-neutral-200 rounded" data-v-9c92f46a></div><div class="h-4 bg-neutral-200 rounded w-5/6" data-v-9c92f46a></div><div class="h-4 bg-neutral-200 rounded w-2/3" data-v-9c92f46a></div></div><div class="h-10 bg-neutral-200 rounded w-1/2 mt-6" data-v-9c92f46a></div></div>',2)])])),64))])])):s(w)?(o(),r("div",K,[e[4]||(e[4]=t("div",{class:"w-16 h-16 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-6"},[t("svg",{class:"w-8 h-8 text-red-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})])],-1)),e[5]||(e[5]=t("h3",{class:"text-2xl font-bold text-neutral-950 mb-4"},"Unable to Load Case Studies",-1)),t("p",X,v(s(w)),1),t("button",{onClick:B,class:"px-6 py-3 bg-brand-500 hover:bg-brand-600 text-white font-bold rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105"}," Try Again ")])):s(d).length===0?(o(),r("div",Z,[...e[6]||(e[6]=[i('<div class="w-16 h-16 bg-brand-500/10 rounded-full flex items-center justify-center mx-auto mb-6" data-v-9c92f46a><svg class="w-8 h-8 text-brand-500" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-9c92f46a><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" data-v-9c92f46a></path></svg></div><h3 class="text-2xl font-bold text-neutral-950 mb-4" data-v-9c92f46a>No Case Studies Yet</h3><p class="text-neutral-600 max-w-md mx-auto" data-v-9c92f46a> We haven&#39;t published any case studies yet. Check back soon for inspiring success stories from the AgriVentures network. </p>',3)])])):(o(),r("div",tt,[(o(!0),r(k,null,C(s(d),a=>(o(),D(u,{key:a._id,to:`/case-studies/${a.slug}`,class:"group bg-white rounded-2xl overflow-hidden shadow-lg border border-neutral-100 hover:shadow-xl hover:border-brand-500/20 transition-all duration-300 transform hover:scale-[1.02] cursor-pointer block",onClick:vt=>s(c)("select_content",{content_type:"case_study",item_id:a.slug,item_name:a.title})},{default:p(()=>[t("div",et,[a.featuredImage?(o(),r("img",{key:0,src:s(z)(a.featuredImage,400,300),alt:a.title,class:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"},null,8,at)):(o(),r("div",st,[...e[7]||(e[7]=[t("svg",{class:"w-16 h-16",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})],-1)])]))]),t("div",ot,[t("h2",rt,v(a.title),1),t("p",nt,v(a.excerpt),1),e[8]||(e[8]=t("div",{class:"inline-flex items-center px-6 py-3 bg-brand-500 group-hover:bg-secondary text-white font-bold rounded-xl shadow-lg transition-all duration-300"},[t("span",{class:"mr-2"},"Read the story"),t("svg",{class:"w-4 h-4 transition-transform duration-300 group-hover:translate-x-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})])],-1))])]),_:2},1032,["to","onClick"]))),128))]))])]),t("section",it,[e[12]||(e[12]=t("div",{class:"absolute inset-0"},[t("div",{class:"absolute top-10 right-10 w-64 h-64 bg-white/5 rounded-full animate-float-slow"}),t("div",{class:"absolute bottom-10 left-10 w-48 h-48 bg-secondary/10 rounded-full animate-float-medium"})],-1)),t("div",lt,[t("div",dt,[e[11]||(e[11]=i('<div class="inline-flex items-center px-6 py-3 bg-white/10 backdrop-blur-sm rounded-full text-sm font-medium" data-v-9c92f46a><span class="w-2 h-2 bg-success-400 rounded-full mr-3 animate-pulse" data-v-9c92f46a></span> Ready to Join Them? </div><h2 class="text-3xl lg:text-5xl font-bold leading-tight" data-v-9c92f46a><span class="relative inline-block" data-v-9c92f46a><span class="text-light" data-v-9c92f46a>Create Your Success Story</span><svg class="absolute -bottom-2 left-0 w-full h-3" viewBox="0 0 200 12" fill="none" data-v-9c92f46a><path d="M2 9c49.7-5.9 99.3-5.9 149 0 16.3 1.9 32.7 1.9 49 0" stroke="currentColor" stroke-width="3" stroke-linecap="round" class="text-light animate-draw-line" data-v-9c92f46a></path></svg></span></h2><p class="text-xl text-neutral-100 leading-relaxed max-w-2xl mx-auto" data-v-9c92f46a> Join our network of successful agricultural innovators and access funding opportunities to grow your business. </p>',3)),t("div",ct,[g(u,{to:"/pricings",class:"px-8 py-4 bg-secondary hover:bg-secondary/90 text-white font-bold text-lg rounded-2xl shadow-2xl hover:shadow-secondary/25 transform hover:scale-105 transition-all duration-300 group flex items-center",onClick:e[0]||(e[0]=a=>s(c)("select_content",{content_type:"cta",item_id:"case_studies_explore_opportunities",content_id:"/pricings"}))},{default:p(()=>[...e[9]||(e[9]=[t("span",{class:"mr-3"},"Explore Opportunities",-1),t("svg",{class:"w-5 h-5 group-hover:translate-x-1 transition-transform duration-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1)])]),_:1}),g(u,{to:"/about",class:"px-8 py-4 border-2 border-white text-white hover:bg-white hover:text-brand-500 font-bold text-lg rounded-2xl transition-all duration-300 transform hover:scale-105",onClick:e[1]||(e[1]=a=>s(c)("select_content",{content_type:"cta",item_id:"case_studies_learn_more_about",content_id:"/about"}))},{default:p(()=>[...e[10]||(e[10]=[E(" Learn More About Us ",-1)])]),_:1})])])])])])}}}),xt=F(ut,[["__scopeId","data-v-9c92f46a"]]);export{xt 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.