feat: update hero image

This commit is contained in:
kaivanwong 2024-05-16 11:53:04 +08:00
parent 7a5d2484d1
commit 4db5cc72a8
5 changed files with 7130 additions and 4 deletions

7126
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
public/hero.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -13,9 +13,9 @@ import siteConfig from '@/site-config'
</p> </p>
<p> <p>
<img <img
width="640" width="100%"
height="360" height="auto"
src="/hero.jpg" src="/hero.webp"
loading="lazy" loading="lazy"
decoding="async" decoding="async"
alt="Hero Image" alt="Hero Image"

View file

@ -4,7 +4,7 @@ export const siteConfig = {
subtitle: 'Vitesse theme for Astro, supports Vue and UnoCSS.', subtitle: 'Vitesse theme for Astro, supports Vue and UnoCSS.',
description: 'A Minimal, SEO-friendly portfolio and blog theme for Astro.', description: 'A Minimal, SEO-friendly portfolio and blog theme for Astro.',
image: { image: {
src: '/hero.jpg', src: '/hero.webp',
alt: 'Website Main Image', alt: 'Website Main Image',
}, },
email: 'kaivanwong@outlook.com', email: 'kaivanwong@outlook.com',