prototype of comments

This commit is contained in:
biglyderv 2025-02-26 01:10:09 -05:00
parent 9cdf2326b8
commit 11147482d2
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
11 changed files with 216 additions and 5 deletions

9
views/replies.ejs Normal file
View file

@ -0,0 +1,9 @@
<div class='main'>
<h1 class="header-big">Replies</h1>
<%- include ('vblock.ejs', {link: opLink, icon: '/icon.svg', name: 'Original'}) %>
<%- include ('vblock.ejs', {link: `${page - 1}`, icon: '/icon.svg', name: 'Previous'}) %>
<%- include ('vblock.ejs', {link: `${page * 1 + 1}`, icon: '/icon.svg', name: 'Next'}) %>
</div>
<% for (let reply of replies) { %>
<%- include ('comment.ejs', reply.comment || {}) %>
<% } %>