fix: update how images are referenced, import them
This commit is contained in:
parent
98bc60e19d
commit
768371ea25
|
@ -1,11 +1,14 @@
|
||||||
---
|
---
|
||||||
|
import privateImg from "/src/assets/icon-private.png";
|
||||||
|
import personalImg from "/src/assets/icon-personal.png";
|
||||||
|
import gatewayImg from "/src/assets/icon-gateway.png";
|
||||||
import './Features.scss';
|
import './Features.scss';
|
||||||
---
|
---
|
||||||
|
|
||||||
<section id="features" class="feature-grid">
|
<section id="features" class="feature-grid">
|
||||||
<div class="feature-private">
|
<div class="feature-private">
|
||||||
<div>
|
<div>
|
||||||
<img src="/src/assets/icon-private.png" />
|
<img src={privateImg.src} />
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-group">
|
<div class="feature-group">
|
||||||
<h2>
|
<h2>
|
||||||
|
@ -21,7 +24,7 @@ import './Features.scss';
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-personal">
|
<div class="feature-personal">
|
||||||
<div>
|
<div>
|
||||||
<img src="/src/assets/icon-personal.png" />
|
<img src={personalImg.src} />
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-group">
|
<div class="feature-group">
|
||||||
<h2>
|
<h2>
|
||||||
|
@ -37,7 +40,7 @@ import './Features.scss';
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-gateway">
|
<div class="feature-gateway">
|
||||||
<div>
|
<div>
|
||||||
<img src="/src/assets/icon-gateway.png" />
|
<img src={gatewayImg.src} />
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-group">
|
<div class="feature-group">
|
||||||
<h2>
|
<h2>
|
||||||
|
|
Loading…
Reference in New Issue