Skip to content

Commit 6a20417

Browse files
heysujalRelequestualbenjagm
authored
chore: Add Cookpad Case Study (#1176)
* add cookpad case study * Update data/case-studies.json Co-authored-by: Ben Hutton <[email protected]> * Fix image aspect ratio problem * Update Card.tsx --------- Co-authored-by: Ben Hutton <[email protected]> Co-authored-by: Benjamin Granados <[email protected]>
1 parent a656b92 commit 6a20417

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

components/Card.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ const CardBody = ({
3636
<div className='group relative h-full w-full rounded-lg border border-gray-200 bg-white p-6 px-12 shadow-3xl dark:shadow-2xl dark:shadow-slate-900 transition-colors ease-in-out hover:bg-slate-100 dark:bg-slate-800 hover:dark:bg-slate-900/30'>
3737
<div className='flex justify-center '>
3838
{image && (
39-
<img src={image} className='h-32 p-2' data-test='card-image' />
39+
<img
40+
src={image}
41+
className='h-32 p-2 object-contain'
42+
data-test='card-image'
43+
/>
4044
)}
4145
</div>
4246
<div className='flex flex-row items-start mb-6'>

data/case-studies.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,14 @@
6161
"lang": "URL1",
6262
"url": "/blog/posts/w3c-wot-case-study"
6363
}
64+
},
65+
{
66+
"title": "JSON Schema deduplicated complex logic and validation at Cookpad",
67+
"summary": "Learn how Cookpad used JSON Schema to reduce incomplete input of newly registered items from 10% to 0%.",
68+
"logo": "/img/logos/cookpad-logo.png",
69+
"links": {
70+
"lang": "URL1",
71+
"url": "/blog/posts/cookpad-case-study-en"
72+
}
6473
}
6574
]

public/img/logos/cookpad-logo.png

38 KB
Loading

0 commit comments

Comments
 (0)