From 8f6ad1690f490ab129d595b314e7bb2288e10dfb Mon Sep 17 00:00:00 2001 From: KabirSamsi Date: Tue, 15 Feb 2022 10:45:22 -0800 Subject: [PATCH] Moved Developer Profile Page to "About" Page Moved the developer profile blocks, alongside any necessary stylesheets and formatting HTML tags, from the "Error Reports" page to the "About Saberchat" page. --- views/index.ejs | 54 +++++++++++++++++++++++++++++++++++++++++ views/reports/index.ejs | 53 ---------------------------------------- 2 files changed, 54 insertions(+), 53 deletions(-) diff --git a/views/index.ejs b/views/index.ejs index b5bba651..c8c82645 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -1,6 +1,7 @@ <%- include('./partials/headStart') %> + @@ -72,6 +73,59 @@ + +
+
+ + <% const developers = [["Kabir Samsi", "kabirs@alsionschool.org", "pP2gALC", "Team Lead"], ["Alexander Zhou", "alexanderz@alsionschool.org", "GZiDjGU", "Technology Lead"], ["Siddharth Chavan", "siddharthc@alsionschool.org", "AydPXHS", "Engineering Lead"], ["Dmitry Pleshkov", "dmitry@alsionschool.org", "yJalLUC", "Systems Lead"], ["Vibhav Darsha", "vibhavec@alsionschool.org", "rcuEKOf", "Marketing Lead"]]; %> +
+
+
+
+

Developers

+
+
+

+ Kabir Samsi, Alexander Zhou, Siddharth Chavan, Dmitry Pleshkov and Vibhav Darsha are high school seniors at Alsion Montessori High School. They developed Saberchat over the 2020 + Summer Break in an effort to improve the their school's community by connecting its communication forums. +

+ + <% developers.forEach(developer => { %> + <%=developer[0]%> (<%=developer[3]%>) +

<%=developer[1]%>

+ <% }); %> + +
+
+
+ +
+
+
+
+
Photo of <%= developers[0][0] %>
+
Photo of <%= developers[1][0] %>
+
+ <% let counter = 0; %> + <% for (let i = 2; i < developers.length; i += 3) { %> +
+
Photo of <%= developers[i][0] %>
+ + <% if (i + 1 < developers.length) { %> +
Photo of <%= developers[i + 1][0] %>
+ <% } %> + + <% if (i + 2 < developers.length) { %> +
Photo of <%= developers[i + 2][0] %>
+ <% } %> +
+ <% } %> +
+
+
+
+
+