Skip to content

Commit

Permalink
fixing blur for images
Browse files Browse the repository at this point in the history
  • Loading branch information
swordfest committed Feb 26, 2024
1 parent 4189fd0 commit 9ba0e1f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ const nextConfig = {
port: '',
pathname: '/v3/image/**',
},
{
protocol: 'https',
hostname: 'mockup-api.teespring.com',
port: '',
pathname: '/v3/image/**',
},
],
},
}
Expand Down
4 changes: 2 additions & 2 deletions pages/support-us.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function Support() {
width={328}
height={328}
placeholder="blur"
blurDataURL="https://vangogh.teespring.com/v3/image/DFqA9cbp7_Wq95i0JwY5ul66ENI/800/800.jpg"
blurDataURL="https://mockup-api.teespring.com/v3/image/DFqA9cbp7_Wq95i0JwY5ul66ENI/800/10.jpg"
className=" w-fit lg:w-96 h-auto rounded-lg "
/>
<Image
Expand All @@ -43,7 +43,7 @@ export default function Support() {
width={328}
height={328}
placeholder="blur"
blurDataURL="https://vangogh.teespring.com/v3/image/r25YJ0ROGMCOU2lfd8vsVlXleP8/800/800.jpg"
blurDataURL="https://mockup-api.teespring.com/v3/image/DFqA9cbp7_Wq95i0JwY5ul66ENI/800/10.jpg"
className="relative w-fit lg:w-96 h-auto rounded-lg object-scale-down"
/>
</div>
Expand Down

0 comments on commit 9ba0e1f

Please sign in to comment.