fix: update how images are referenced, import them
This commit is contained in:
parent
8a89a500d2
commit
b7067374fc
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue