diff options
author | Minteck <contact@minteck.org> | 2021-12-04 10:58:59 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2021-12-04 10:58:59 +0100 |
commit | e618c3f52c1c4ae161650679cda24eecbba579bb (patch) | |
tree | a160a9f18847be1be73fb1c2ac2bc25b1e756e27 /htdocs/public/projects/index.ejs | |
parent | bce13ee94deb2a4914784bb4268dc1d7bc0f11ed (diff) | |
download | wolfeye-js-e618c3f52c1c4ae161650679cda24eecbba579bb.tar.gz wolfeye-js-e618c3f52c1c4ae161650679cda24eecbba579bb.tar.bz2 wolfeye-js-e618c3f52c1c4ae161650679cda24eecbba579bb.zip |
Code is now more cute!
Diffstat (limited to 'htdocs/public/projects/index.ejs')
-rw-r--r-- | htdocs/public/projects/index.ejs | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/htdocs/public/projects/index.ejs b/htdocs/public/projects/index.ejs deleted file mode 100644 index 88749f9..0000000 --- a/htdocs/public/projects/index.ejs +++ /dev/null @@ -1,35 +0,0 @@ -<% global.title = "Projects"; %> -<%- include(`${private}/header.ejs`) %> - -<a href="/">← Go back home</a> - -<hr class="rnbwsquare-separator rnbwsquare-outer"> - -<h1>Projects</h1> -<p>This is the page where all my active projects are, it is regularly updated from the projects I created on <a - href="https://source.minteck.org" target="_blank">source.minteck.org</a>. For projects I don't maintain - anymore, refer to the <a href="/archive">Archives</a> page.</p> - -<div class="grid-3 projects"> - <% for (let project of JSON.parse(fs.readFileSync(serverRoot + "/global/gitea.json").toString()).sort((a, b) => a.update - b.update).reverse()) { %> - <div class="project"> - <img class="project-icon" src="<%- project.icon ?? "/assets/icons/project.svg" %>"> - <h2 class="project-name"><%- project.name %></h2> - <p class="project-description"><%- project.description %></p> - <p class="project-buttons"> - <% if (project.website !== null) { %> - <a href="<%- project.website %>" target="_blank" class="big-button big-button-bg3 big-button-pt1">Website - </a><a - href="https://source.minteck.org/<%- project.id %>" target="_blank" - class="big-button big-button-bg3 big-button-pt2">View</a> - <% } else { %> - <a - href="https://source.minteck.org/<%- project.id %>" target="_blank" - class="big-button big-button-bg3">View</a> - <% } %> - </p> - </div> - <% } %> -</div> - -<%- include(`${private}/footer.ejs`) %>
\ No newline at end of file |