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';
|
import './Purposes.scss';
|
||||||
---
|
---
|
||||||
|
|
||||||
<section id="purposes" class="feature-grid">
|
<section id="purposes" class="feature-grid">
|
||||||
<div class="purpose-development">
|
<div class="purpose-development">
|
||||||
<div>
|
<div>
|
||||||
<img src="/src/assets/icon-development.png" />
|
<img src={developmentImg.src} />
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-group">
|
<div class="feature-group">
|
||||||
<h2>
|
<h2>
|
||||||
|
@ -21,7 +24,7 @@ import './Purposes.scss';
|
||||||
</div>
|
</div>
|
||||||
<div class="purpose-pioneering">
|
<div class="purpose-pioneering">
|
||||||
<div>
|
<div>
|
||||||
<img src="/src/assets/icon-pioneering.png" />
|
<img src={pioneeringImg.src}/>
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-group">
|
<div class="feature-group">
|
||||||
<h2>
|
<h2>
|
||||||
|
@ -37,7 +40,7 @@ import './Purposes.scss';
|
||||||
</div>
|
</div>
|
||||||
<div class="purpose-growth">
|
<div class="purpose-growth">
|
||||||
<div>
|
<div>
|
||||||
<img src="/src/assets/icon-growth.png" />
|
<img src={growthImg.src} />
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-group">
|
<div class="feature-group">
|
||||||
<h2>
|
<h2>
|
||||||
|
|
Loading…
Reference in New Issue