Skip to content

Commit 75ffa43

Browse files
committed
unoptimize images
1 parent 2f224b9 commit 75ffa43

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

site/next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const nextConfig: NextConfig = {
44
output: 'export',
55
basePath: '/tab-samurai',
66
assetPrefix: '/tab-samurai/',
7+
images: {
8+
unoptimized: true,
9+
},
710
};
811

912
export default nextConfig;

site/src/components/sections/Hero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const Hero = () => {
5050
component={NextLink}
5151
href='https://chromewebstore.google.com/'
5252
sx={{ display: 'flex', gap: '10px' }}>
53-
<Image src='./chrome_webstore.jpg' loading='eager' alt='Chrome WebStore logo' width={20} height={20} />
53+
<Image src='./chrome_webstore.jpg' loading='eager' alt='Chrome WebStore logo' width={20} height={20} unoptimized />
5454
Install on the Chrome WebStore
5555
</Button>
5656

@@ -62,7 +62,7 @@ export const Hero = () => {
6262
component={NextLink}
6363
href='https://github.com/mstephen19/tab-samurai'
6464
sx={{ display: 'flex', gap: '10px' }}>
65-
<Image src='./github.svg' loading='eager' alt='Chrome WebStore logo' width={20} height={20} />
65+
<Image src='./github.svg' loading='eager' alt='Chrome WebStore logo' width={20} height={20} unoptimized />
6666
See on Github
6767
</Button>
6868
</Box>

0 commit comments

Comments
 (0)