PageSourceSearch

https://www.ushahidi.com/component---src-templates-case-studies-js-c838158650c4cab270f0.js

js ushahidi.com collected 2026-10-01 09:03:19 UTC 5,604 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkushahidi=self.webpackChunkushahidi||[]).push([[278],{1392:function(v,o,t){var e=t(7294);o.Z=s=>{let{card:i}=s;const{icon_image:d,card_header:f,card_body_text:E,card_class_extra:g}=i;return e.createElement(e.Fragment,null,e.createElement("div",{className:"icon-card "+g},e.createElement("img",{src:d,alt:"",role:"presentation",className:"block w-1/2 py-4 -mt-24"}),e.createElement("h3",{className:"font-bold"},f),e.createElement("p",{className:"!text-gray-500"},E)))}},9876:function(v,o,t){t.d(o,{D:function(){return E},S:function(){return N}});var e=t(7294),s=t(7959),i=t(7500),d=t(1335),f=r=>{let{caseStudy:a}=r;const{frontmatter:{title:l,subtitle:n,date:m,featured_image:c},fields:{url:u}}=a;return e.createElement("div",{className:"flex flex-col flex-1 bg-white rounded-lg shadow-lg"},e.createElement("div",{className:"relative h-64"},e.createElement("div",{className:"absolute inset-0"},e.createElement("img",{className:"object-cover w-full h-full rounded-t-lg",src:c,alt:l,role:"presentation"}))),e.createElement("div",{className:"flex flex-col p-8 text-left "},m&&e.createElement("div",{className:"flex items-center w-full text-left"},e.createElement("span",{className:"pt-4 text-gray-500 lg:pt-0"},m)),e.createElement("h3",{className:"mt-6 text-lg font-bold text-gray-900"},l),e.createElement("p",{className:"mt-3 line-clamp-3"},n)),e.createElement("div",{className:"flex flex-col p-8 pt-0 lg:items-center lg:flex-row"},e.createElement("div",{className:"flex group"},e.createElement(i.rU,{to:u,className:"flex flex-row mr-2 text-sm font-semibold text-black no-underline transition group-hover:text-black"},"Read Post",e.createElement(d.Z,{className:"h-5 ml-2 transition text-primary group-hover:translate-x-1"})))))},E=r=>{let{content:a}=r;return e.createElement(e.Fragment,null,a&&a.map((l=>{const{uuid:n}=l.frontmatter;return e.createElement(f,{key:(0,s.zm)(n),caseStudy:l})})))},g=r=>{let{post:a}=r;const{title:l,date:n,featured_image:m,categories:c,author:u}=a?.frontmatter,{url:x}=a.fields,{name:h,image_path:b}=u.frontmatter;return e.createElement(e.Fragment,null,e.createElement("div",{className:"grid grid-cols-1 bg-white divide-gray-200 rounded-lg shadow-lg"},e.createElement("div",{className:"relative h-64"},e.createElement("div",{className:"absolute inset-0"},e.createElement("img",{className:"object-cover w-full h-full rounded-t-lg",src:m,alt:"",role:"presentation"}))),e.createElement("div",{className:"flex flex-col justify-between"},e.createElement("div",{className:"flex flex-col p-4 text-left lg:px-8"},e.createElement("div",{className:"flex flex-row items-center overflow-y-scroll h-14"},c&&c.map(((y,w)=>e.createElement("span",{className:"mr-2 category-tag",key:(0,s.zm)(y)},y)))),e.createElement("h3",{className:"text-lg font-bold text-gray-900"},l),e.createElement("div",{className:"line-clamp-4"},a.excerpt)),e.createElement("div",{className:"flex flex-col p-4 lg:p-8 pt-0 !border-0 lg:items-center lg:flex-row"},u&&e.createElement(e.Fragment,null,e.createElement("div",{className:"flex flex-col justify-between w-full text-left lg:items-end lg:flex-row"},e.createElement("div",{className:"flex flex-row items-center gap-2"},b&&e.createElement("img",{className:"object-cover w-10 h-10 rounded-full",src:b,alt:"",role:"presentation"}),e.createElement("div",{className:"my-4 lg:my-0"},h&&e.createElement(e.Fragment,null,e.createElement("span",{className:"text-sm font-bold"},h)," ",e.createElement("br",null)),n&&e.createElement("span",{className:"text-sm text-gray-500"},n))))),e.createElement("div",{className:"flex group"},e.createElement(i.rU,{to:x,className:"flex flex-row mr-2 text-sm font-semibold text-black no-underline transition group-hover:text-black"},"Read Post",e.createElement(d.Z,{className:"h-5 ml-2 transition text-primary group-hover:translate-x-1"})))))))},p=r=>{let{children:a}=r;return e.createElement(e.Fragment,null,e.createElement("h1",null,"BlankCard"))},N=r=>{let{content:a}=r;return e.createElement(e.Fragment,null,a&&a.map((l=>l?e.createElement(g,{key:(0,s.zm)(l.frontmatter.uuid),post:l}):e.createElement(p,null))))}},9086:function(v,o,t){t.r(o),t.d(o,{default:function(){return N}});var e=t(7294),s=t(4179),i=t(4717),d=t(2499),f=t(9876),E=t(1392),g=t(7959),p=r=>{let{content:a}=r;const{_cms_label:l,heading:n,impact_report_path:m,cards:c,bg_color:u}=a;return e.createElement("section",{className:"cms-editor-link "+u+"-section","data-cms-editor-link":"cloudcannon:#"+l},e.createElement("div",{className:"container text-center"},e.createElement("h2",null,n),e.createElement("div",{className:"grid my-8 mt-20 gap-x-8 gap-y-16 md:grid-cols-3"},c&&c.map((x=>e.createElement(E.Z,{card:x,key:(0,g.zm)(x.icon_image)})))),e.createElement("a",{href:m,target:"_blank",rel:"noreferrer",className:"mt-0 btn btn-primary impact-report-btn"},"Download Our 10-Year Impact Report")))},N=r=>{let{data:{page:a}}=r;const{frontmatter:{title:l,hero:n,featured_case_studies:m,global_impact:c}}=a;return e.createElement(s.H,{title:l},e.createElement(d.Z,{content:n}),e.createElement("section",{className:"cms-editor-link","data-cms-editor-link":"cloudcannon:#featured_case_studies"},e.createElement("div",{className:"container"},e.createElement("h2",{className:"mb-8 text-center"},"Featured Case Studies"),e.createElement("div",{className:"grid gap-8 md:grid-cols-2"},e.createElement(f.D,{content:m})))),e.createElement(p,{content:c}),e.createElement("section",null,e.createElement("div",{className:"container"},e.createElement("h2",{className:"text-center"}
1,"All Case Studies"),e.createElement(i.Z,{indexName:"Case Studies"}))))}}}]);

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.