Skip to content

Commit

Permalink
✨ Update uses page (#1163)
Browse files Browse the repository at this point in the history
* ✨ Update uses image

* ✨ Update uses items
  • Loading branch information
carloscuesta committed Apr 13, 2023
1 parent 5fbb039 commit c96237c
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 7 deletions.
28 changes: 24 additions & 4 deletions src/__tests__/uses/__snapshots__/uses.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,25 @@ exports[`uses page should match uses page 1`] = `
<div>
<img
alt="Carlos Cuesta workspace setup"
className="max-w-full rounded-md"
data-nimg="1"
decoding="async"
height={1134}
height={1232}
loading="lazy"
onError={[Function]}
onLoad={[Function]}
src="/_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Fcarloscuesta%2Fimage%2Fupload%2Fv1659775881%2Fcarloscuesta-setup_z1azyb.jpg&w=3840&q=100"
srcSet="/_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Fcarloscuesta%2Fimage%2Fupload%2Fv1659775881%2Fcarloscuesta-setup_z1azyb.jpg&w=2048&q=100 1x, /_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Fcarloscuesta%2Fimage%2Fupload%2Fv1659775881%2Fcarloscuesta-setup_z1azyb.jpg&w=3840&q=100 2x"
src="/_next/image?url=%2Fimg.jpg&w=3840&q=100"
srcSet="/_next/image?url=%2Fimg.jpg&w=1920&q=100 1x, /_next/image?url=%2Fimg.jpg&w=3840&q=100 2x"
style={
{
"backgroundImage": "url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 1500 1232'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='data:image/png;base64,imagedata'/%3E%3C/svg%3E")",
"backgroundPosition": "50% 50%",
"backgroundRepeat": "no-repeat",
"backgroundSize": "cover",
"color": "transparent",
}
}
width={2016}
width={1500}
/>
<Section
items={
Expand Down Expand Up @@ -116,6 +121,21 @@ exports[`uses page should match uses page 1`] = `
"link": "https://www.elgato.com/wave-mic-arm-lp",
"title": "Elgato Wave Mic Arm LP",
},
{
"category": "Charger",
"link": "https://www.belkin.com/es/cargador-inal%C3%A1mbrico-3-en-1-de-15-w-con-tecnolog%C3%ADa-magsafe-oficial/P-WIZ016.html",
"title": "Belkin BoostCharge Pro",
},
{
"category": "Lighting",
"link": "https://eu.govee.com/collections/tv-gaming-lights/products/govee-rgbicww-wifi-bluetooth-flow-plus-light-bars",
"title": "Govee Flow Plus Light Bars",
},
{
"category": "Clock",
"link": "https://www.mi.com/product/mi-smart-clock/",
"title": "Mi Smart Clock",
},
]
}
subTitle="Home office equipment"
Expand Down
23 changes: 20 additions & 3 deletions src/pages/uses/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ const Uses = () => (

<div>
<Image
src="https://res.cloudinary.com/carloscuesta/image/upload/v1659775881/carloscuesta-setup_z1azyb.jpg"
src={require('./setup.jpg')}
alt="Carlos Cuesta workspace setup"
width={2016}
height={1134}
className="max-w-full rounded-md"
placeholder="blur"
width={1500}
height={1232}
quality={100}
/>

Expand Down Expand Up @@ -107,6 +109,21 @@ const Uses = () => (
title: 'Elgato Wave Mic Arm LP',
link: 'https://www.elgato.com/wave-mic-arm-lp',
},
{
category: 'Charger',
title: 'Belkin BoostCharge Pro',
link: 'https://www.belkin.com/es/cargador-inal%C3%A1mbrico-3-en-1-de-15-w-con-tecnolog%C3%ADa-magsafe-oficial/P-WIZ016.html',
},
{
category: 'Lighting',
title: 'Govee Flow Plus Light Bars',
link: 'https://eu.govee.com/collections/tv-gaming-lights/products/govee-rgbicww-wifi-bluetooth-flow-plus-light-bars',
},
{
category: 'Clock',
title: 'Mi Smart Clock',
link: 'https://www.mi.com/product/mi-smart-clock/',
},
]}
subTitle="Home office equipment"
title="Gear"
Expand Down
Binary file added src/pages/uses/setup.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit c96237c

@vercel
Copy link

@vercel vercel bot commented on c96237c Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

carloscuesta – ./

carloscuesta.me
carloscuesta-carloscuesta.vercel.app
carloscuesta-git-master-carloscuesta.vercel.app

Please sign in to comment.