Skip to content

Commit

Permalink
cambio a imagen hd
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignaherrero committed May 3, 2022
1 parent bdd874d commit 6a7944e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/posts/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ export default function Posts({
post: {
author: { name, picture },
metas: { title, description, image, type, site_name },
featured_media: { large },
featured_media,
content,
bibliography,
published,
},
}) {
const sizeImages = Object.getOwnPropertyNames(featured_media);
return (
<>
<Head>
Expand All @@ -34,7 +35,7 @@ export default function Posts({
<section className="mb-32 text-gray-800">
<div className="flex justify-center">
<Image
src={large}
src={featured_media[sizeImages[5]]}
alt=""
width="921px"
height="613px"
Expand Down

1 comment on commit 6a7944e

@vercel
Copy link

@vercel vercel bot commented on 6a7944e May 3, 2022

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:

challenge-atomik – ./

challenge-atomik-git-main-nacho93.vercel.app
challenge-atomik-nacho93.vercel.app
challenge-atomik.vercel.app

Please sign in to comment.