From ffd5532027f0ac6a75e8cc1560aa345a9908cf5a Mon Sep 17 00:00:00 2001 From: Joanna May Date: Sat, 17 Aug 2024 01:57:06 -0500 Subject: [PATCH] fix: try using public hero images --- {src/assets => public}/hero/hero_dark.png | Bin {src/assets => public}/hero/hero_light.png | Bin src/pages/index.astro | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename {src/assets => public}/hero/hero_dark.png (100%) rename {src/assets => public}/hero/hero_light.png (100%) diff --git a/src/assets/hero/hero_dark.png b/public/hero/hero_dark.png similarity index 100% rename from src/assets/hero/hero_dark.png rename to public/hero/hero_dark.png diff --git a/src/assets/hero/hero_light.png b/public/hero/hero_light.png similarity index 100% rename from src/assets/hero/hero_light.png rename to public/hero/hero_light.png diff --git a/src/pages/index.astro b/src/pages/index.astro index e10506b..efb8554 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -13,13 +13,13 @@ import GithubCard from "~/components/github_card/github-card.astro"; tagline: "A comprehensive guide to building better software, faster.", image: { dark: { - src: "../src/assets/hero/hero_dark.png", + src: "/hero/hero_dark.png", width: 1080, height: 860, format: "png", }, light: { - src: "../src/assets/hero/hero_light.png", + src: "/hero/hero_light.png", width: 1080, height: 860, format: "png",