Skip to content

Commit

Permalink
perf(404): add srcset
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Dec 10, 2019
1 parent a54e96c commit a694bca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/error/404.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
sizes="100vw"
alt
class="cld-responsive error__img img-fluid"
src="https://res.cloudinary.com/pocketpasta/image/upload/c_scale,dpr_auto,w_auto,f_auto,q_auto:low/v1575402067/anna-pascale-GoqEgxAgQw0-unsplash_qq2jte.jpg"
data-src="https://res.cloudinary.com/pocketpasta/image/upload/c_scale,dpr_auto,w_auto,f_auto,q_auto:low/v1575402067/anna-pascale-GoqEgxAgQw0-unsplash_qq2jte.jpg"
srcset="
https://res.cloudinary.com/pocketpasta/image/upload/f_auto%2Cq_70%2Cw_256/v1575402067/anna-pascale-GoqEgxAgQw0-unsplash_qq2jte.jpg 256w,
https://res.cloudinary.com/pocketpasta/image/upload/f_auto%2Cq_70%2Cw_512/v1575402067/anna-pascale-GoqEgxAgQw0-unsplash_qq2jte.jpg 512w,
https://res.cloudinary.com/pocketpasta/image/upload/f_auto%2Cq_70%2Cw_768/v1575402067/anna-pascale-GoqEgxAgQw0-unsplash_qq2jte.jpg 768w,
https://res.cloudinary.com/pocketpasta/image/upload/f_auto%2Cq_70%2Cw_1024/v1575402067/anna-pascale-GoqEgxAgQw0-unsplash_qq2jte.jpg 1024w,
https://res.cloudinary.com/pocketpasta/image/upload/f_auto%2Cq_70%2Cw_1280/v1575402067/anna-pascale-GoqEgxAgQw0-unsplash_qq2jte.jpg 1280w
"
/>
<div id="message" class="card bg-light card-body">
<h2>404</h2>
Expand Down

1 comment on commit a694bca

@vercel
Copy link

@vercel vercel bot commented on a694bca Dec 10, 2019

Choose a reason for hiding this comment

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

Please sign in to comment.