From b7e09cf4c32886986c918fb1b1c5e972d905b203 Mon Sep 17 00:00:00 2001 From: kashan-ahmad Date: Fri, 17 Nov 2023 18:49:45 +0500 Subject: [PATCH] refactor: replaced the Image component with Picture component Picture is no longer experimental and offers semantic HTML renders --- src/components/hero.astro | 4 ++-- src/pages/about.astro | 4 ++-- src/pages/blog.astro | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/hero.astro b/src/components/hero.astro index 3f69b9d..cf85c33 100644 --- a/src/components/hero.astro +++ b/src/components/hero.astro @@ -1,5 +1,5 @@ --- -import { Image } from "astro:assets"; +import { Picture } from "astro:assets"; import heroImage from "assets/hero.png"; import Link from "@components/ui/link.astro"; import { Icon } from "astro-icon"; @@ -8,7 +8,7 @@ import { Icon } from "astro-icon";