From a931643afce765efaa618ffce8b694ce478cdb76 Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 25 Oct 2024 23:00:22 +0000 Subject: [PATCH] use set instead --- html/landing.ejs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/html/landing.ejs b/html/landing.ejs index bafac31a..3313897d 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -163,15 +163,14 @@ const features = [ const randomFeatures = features.sort(() => 0.5 - Math.random()).slice(0, 3); %> -
<% randomFeatures.forEach(feature => { %> -
-
<%- feature.icon %> +
+ +
<%- feature.icon %> <%- feature.title %>
-

<%- feature.description %>

-
- <% }) %> -
+

<%- feature.description %>

+ + <% }) %>
<%- include('./partials/card',