fix: update how images are referenced, import them

This commit is contained in:
Derrick Hammer 2023-08-13 19:46:24 -04:00
parent 8a89a500d2
commit b7067374fc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 6 additions and 3 deletions

View File

@ -1,11 +1,14 @@
---
import developmentImg from "/src/assets/icon-development.png";
import pioneeringImg from "/src/assets/icon-pioneering.png";
import growthImg from "/src/assets/icon-growth.png";
import './Purposes.scss';
---
<section id="purposes" class="feature-grid">
<div class="purpose-development">
<div>
<img src="/src/assets/icon-development.png" />
<img src={developmentImg.src} />
</div>
<div class="feature-group">
<h2>
@ -21,7 +24,7 @@ import './Purposes.scss';
</div>
<div class="purpose-pioneering">
<div>
<img src="/src/assets/icon-pioneering.png" />
<img src={pioneeringImg.src}/>
</div>
<div class="feature-group">
<h2>
@ -37,7 +40,7 @@ import './Purposes.scss';
</div>
<div class="purpose-growth">
<div>
<img src="/src/assets/icon-growth.png" />
<img src={growthImg.src} />
</div>
<div class="feature-group">
<h2>