mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 12:37:50 +01:00
use set instead
This commit is contained in:
parent
fef0cc3edc
commit
a931643afc
1 changed files with 6 additions and 7 deletions
|
@ -163,15 +163,14 @@ const features = [
|
|||
const randomFeatures = features.sort(() => 0.5 - Math.random()).slice(0, 3);
|
||||
%>
|
||||
|
||||
<div class="features-container">
|
||||
<% randomFeatures.forEach(feature => { %>
|
||||
<div class="feature">
|
||||
<div class="feature-set-title"><%- feature.icon %>
|
||||
<div class="feature-set">
|
||||
|
||||
<div class="feature-set-title"><%- feature.icon %>
|
||||
<%- feature.title %> </div>
|
||||
<p><%- feature.description %></p>
|
||||
</div>
|
||||
<% }) %>
|
||||
</div>
|
||||
<p><%- feature.description %></p></div>
|
||||
|
||||
<% }) %>
|
||||
|
||||
<div class="adaptive-grid">
|
||||
<%- include('./partials/card',
|
||||
|
|
Loading…
Reference in a new issue