Skip to content

Commit

Permalink
chore: Add Cookpad Case Study (#1176)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Dec 21, 2024
1 parent a656b92 commit 6a20417
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ const CardBody = ({
<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'>
<div className='flex justify-center '>
{image && (
<img src={image} className='h-32 p-2' data-test='card-image' />
<img
src={image}
className='h-32 p-2 object-contain'
data-test='card-image'
/>
)}
</div>
<div className='flex flex-row items-start mb-6'>
Expand Down
9 changes: 9 additions & 0 deletions data/case-studies.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,14 @@
"lang": "URL1",
"url": "/blog/posts/w3c-wot-case-study"
}
},
{
"title": "JSON Schema deduplicated complex logic and validation at Cookpad",
"summary": "Learn how Cookpad used JSON Schema to reduce incomplete input of newly registered items from 10% to 0%.",
"logo": "/img/logos/cookpad-logo.png",
"links": {
"lang": "URL1",
"url": "/blog/posts/cookpad-case-study-en"
}
}
]
Binary file added public/img/logos/cookpad-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6a20417

Please sign in to comment.