Skip to content

Commit 6f45e1d

Browse files
committed
move images to images folder
1 parent 4223919 commit 6f45e1d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/about/HeroSection.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
import LogoImage from "@/assets/images/ABCD.png";
23
import { Image } from "astro:assets";
34
45
interface Props {
@@ -10,7 +11,7 @@ const { appName } = Astro.props;
1011

1112
<section class="hero-section">
1213
<div class="hero-content">
13-
<Image src={import("/assets/images/ABCD.png")} alt="Logo" width={400} height={300} loading="eager" />
14+
<Image src={LogoImage} alt="Logo" width={400} height={300} loading="eager" class={"hero-logo"} />
1415

1516
<h1 class="hero-title">Learning Made <span class="text-highlight">Magical!</span></h1>
1617
<p class="hero-text">

0 commit comments

Comments
 (0)