diff --git a/public/hero.jpg b/public/hero.jpg new file mode 100644 index 0000000..a42ffcb Binary files /dev/null and b/public/hero.jpg differ diff --git a/public/hero.webp b/public/hero.webp deleted file mode 100644 index 5c2014a..0000000 Binary files a/public/hero.webp and /dev/null differ diff --git a/src/pages/[...slug].astro b/src/pages/[...slug].astro index 737396f..6783425 100644 --- a/src/pages/[...slug].astro +++ b/src/pages/[...slug].astro @@ -27,14 +27,7 @@ const { Content } = await page.render() { image && (
- +
) } diff --git a/src/pages/index.astro b/src/pages/index.astro index 2be1ac8..4dca1ed 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -12,14 +12,7 @@ import siteConfig from '@/site-config' by antfu.me.- +
Based on first principles thinking, and you can also see from the picture diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index c7d2dc9..887e03e 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -38,14 +38,7 @@ function getDate(date: string) { { image && (
- +
) } diff --git a/src/site-config.ts b/src/site-config.ts index 47a1426..53b8775 100644 --- a/src/site-config.ts +++ b/src/site-config.ts @@ -4,7 +4,7 @@ export const siteConfig = { subtitle: 'Vitesse theme for Astro, supports Vue and UnoCSS.', description: 'A Minimal, SEO-friendly portfolio and blog theme for Astro.', image: { - src: '/hero.webp', + src: '/hero.jpg', alt: 'Website Main Image', }, email: 'kaivanwong@outlook.com',