diff options
author | Minteck <minteck@phoenixnet.tech> | 2021-11-03 15:19:32 +0100 |
---|---|---|
committer | Minteck <minteck@phoenixnet.tech> | 2021-11-03 15:19:32 +0100 |
commit | 92f889fe2e8662b8f66329ec1d32961942812605 (patch) | |
tree | 104e00069998406208b835664002b69daa55c81a /htdocs/public/projects/index.ejs | |
parent | 6b0d3fec160ae88aede4c53ca39ed37570838703 (diff) | |
download | wolfeye-js-92f889fe2e8662b8f66329ec1d32961942812605.tar.gz wolfeye-js-92f889fe2e8662b8f66329ec1d32961942812605.tar.bz2 wolfeye-js-92f889fe2e8662b8f66329ec1d32961942812605.zip |
Finally fix Gitea
Diffstat (limited to 'htdocs/public/projects/index.ejs')
-rw-r--r-- | htdocs/public/projects/index.ejs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/htdocs/public/projects/index.ejs b/htdocs/public/projects/index.ejs new file mode 100644 index 0000000..4dd2431 --- /dev/null +++ b/htdocs/public/projects/index.ejs @@ -0,0 +1,34 @@ +<% 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 legal documents are posted. All the content is signed using a GPG key, it's very important + that you check for the validity of the legal content you see on this website, as it may have been compromised.</p> + +<div class="grid-3"> + <% for (let project of JSON.parse(fs.readFileSync("./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 |