use set instead

This commit is contained in:
ashley 2024-10-25 23:00:22 +00:00
parent fef0cc3edc
commit a931643afc

View file

@ -163,15 +163,14 @@ const features = [
const randomFeatures = features.sort(() => 0.5 - Math.random()).slice(0, 3); const randomFeatures = features.sort(() => 0.5 - Math.random()).slice(0, 3);
%> %>
<div class="features-container">
<% randomFeatures.forEach(feature => { %> <% randomFeatures.forEach(feature => { %>
<div class="feature"> <div class="feature-set">
<div class="feature-set-title"><%- feature.icon %> <div class="feature-set-title"><%- feature.icon %>
<%- feature.title %> </div> <%- feature.title %> </div>
<p><%- feature.description %></p> <p><%- feature.description %></p></div>
</div>
<% }) %> <% }) %>
</div>
<div class="adaptive-grid"> <div class="adaptive-grid">
<%- include('./partials/card', <%- include('./partials/card',