We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4223919 commit 6f45e1dCopy full SHA for 6f45e1d
src/assets/icons/ABCD.png src/assets/images/ABCD.pngsrc/assets/icons/ABCD.png renamed to src/assets/images/ABCD.png
src/components/about/HeroSection.astro
@@ -1,4 +1,5 @@
1
---
2
+import LogoImage from "@/assets/images/ABCD.png";
3
import { Image } from "astro:assets";
4
5
interface Props {
@@ -10,7 +11,7 @@ const { appName } = Astro.props;
10
11
12
<section class="hero-section">
13
<div class="hero-content">
- <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"} />
15
16
<h1 class="hero-title">Learning Made <span class="text-highlight">Magical!</span></h1>
17
<p class="hero-text">
0 commit comments