From fa8574e1a01860975c8b9f444d5bf550e2bffd3f Mon Sep 17 00:00:00 2001 From: Surjith S M Date: Wed, 4 Jan 2023 19:04:27 +0530 Subject: [PATCH] change hero image to Picture. fixes #5 --- src/components/hero.astro | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/components/hero.astro b/src/components/hero.astro index 7769c9f..397128d 100644 --- a/src/components/hero.astro +++ b/src/components/hero.astro @@ -1,15 +1,18 @@ --- -import { Image } from "@astrojs/image/components"; +import { Picture } from "@astrojs/image/components"; import heroImage from "assets/hero.png"; import Link from "@components/ui/link.astro"; import { Icon } from "astro-icon"; --- -
+