diff options
author | Minteck <contact@minteck.org> | 2022-02-18 13:28:42 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-02-18 13:28:42 +0100 |
commit | 2c9bbf18f9dcbc3fa91d5d74136abd59b64d0b9a (patch) | |
tree | 9b0597224a3cfabfaed03a993686e7713da4bd24 /htdocs/public/me/index.ejs | |
parent | d39b57a42eb36dd1ee2caed900f7785e5747cea4 (diff) | |
download | rainbow-2c9bbf18f9dcbc3fa91d5d74136abd59b64d0b9a.tar.gz rainbow-2c9bbf18f9dcbc3fa91d5d74136abd59b64d0b9a.tar.bz2 rainbow-2c9bbf18f9dcbc3fa91d5d74136abd59b64d0b9a.zip |
Remove .bin from repo
Diffstat (limited to 'htdocs/public/me/index.ejs')
-rw-r--r-- | htdocs/public/me/index.ejs | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/htdocs/public/me/index.ejs b/htdocs/public/me/index.ejs index 33c30b5..629d4b2 100644 --- a/htdocs/public/me/index.ejs +++ b/htdocs/public/me/index.ejs @@ -1,57 +1,57 @@ -<% global.title = lang.me.title; %> -<%- include(`${private}/header.ejs`) %> - -<a href="/<%- slang %>">← <%- lang.global.back %></a> - -<hr class="rnbwsquare-separator rnbwsquare-outer"> -<br> -<% - - me = JSON.parse(child_process.execSync("curl https://pronouns.page/api/profile/get/Minteck").toString()); - - if (me.profiles[slang]) { - profile = me.profiles[slang]; - nlang = slang; - } else { - profile = me.profiles.en; - nlang = "en"; - } - -%> - -<div style="display:grid;grid-template-columns: 96px 1fr;" class="container"> - <img style="border-radius: 999px;" width="96px" src="<%- me.avatar %>"> - <div style="margin-left: 20px;display: flex;align-items: center;"> - <div> - <h1 style="margin: 0;">Mia "Minteck" Dash %></h1> - <p style="margin: 0;opacity:.5;"><%- lang.me.description %> | France<br><a href="https://<%- nlang %>.pronouns.page/@Minteck" target="_blank"><%- lang.me.external %> pronouns.page</a></p> - </div> - </div> -</div> - -<div class="container" style="display: grid; grid-template-columns: 1fr 1fr 1fr; grid-column-gap: 20px;"> - <div> - <h2 style="text-align: center;"><%- lang.me.items[0] %></h2> - <ul> - <% for (url of Object.keys(profile.pronouns)) { if (profile.pronouns[url] >= 0) { %> - <li><%- url.split("/")[url.split("/").length - 1].replace("&", "/") %></li> - <% }} %> - </ul> - </div> - <div> - <h2 style="text-align: center;"><%- lang.me.items[1] %></h2> - <ul> - <% for (name of Object.keys(profile.names)) { if (profile.names[name] >= 0) { %> - <li><%- name %></li> - <% }} %> - </ul> - </div> - <div> - <h2 style="text-align: center;"><%- lang.me.items[2] %></h2> - <% for (group of Object.keys(profile.words)) { for (word of Object.keys(profile.words[group])) { if (profile.words[group][word] >= 0) { %> - <li <% if (profile.words[group][word] === 1) { %>style="font-weight: bold;"<% } %> <% if (profile.words[group][word] === 3) { %>style="opacity: .25;"<% } %> <% if (profile.words[group][word] === 2) { %>style="font-style: italic;"<% } %>><%- word %></li> - <% }}} %> - </div> -</div> - -<%- include(`${private}/footer.ejs`) %> +<% global.title = lang.me.title; %>
+<%- include(`${private}/header.ejs`) %>
+
+<a href="/<%- slang %>">← <%- lang.global.back %></a>
+
+<hr class="rnbwsquare-separator rnbwsquare-outer">
+<br>
+<%
+
+ me = JSON.parse(child_process.execSync("curl https://pronouns.page/api/profile/get/Minteck").toString());
+
+ if (me.profiles[slang]) {
+ profile = me.profiles[slang];
+ nlang = slang;
+ } else {
+ profile = me.profiles.en;
+ nlang = "en";
+ }
+
+%>
+
+<div style="display:grid;grid-template-columns: 96px 1fr;" class="container">
+ <img style="border-radius: 999px;" width="96px" src="<%- me.avatar %>">
+ <div style="margin-left: 20px;display: flex;align-items: center;">
+ <div>
+ <h1 style="margin: 0;">Mia "Minteck" Dash %></h1>
+ <p style="margin: 0;opacity:.5;"><%- lang.me.description %> | France<br><a href="https://<%- nlang %>.pronouns.page/@Minteck" target="_blank"><%- lang.me.external %> pronouns.page</a></p>
+ </div>
+ </div>
+</div>
+
+<div class="container" style="display: grid; grid-template-columns: 1fr 1fr 1fr; grid-column-gap: 20px;">
+ <div>
+ <h2 style="text-align: center;"><%- lang.me.items[0] %></h2>
+ <ul>
+ <% for (url of Object.keys(profile.pronouns)) { if (profile.pronouns[url] >= 0) { %>
+ <li><%- url.split("/")[url.split("/").length - 1].replace("&", "/") %></li>
+ <% }} %>
+ </ul>
+ </div>
+ <div>
+ <h2 style="text-align: center;"><%- lang.me.items[1] %></h2>
+ <ul>
+ <% for (name of Object.keys(profile.names)) { if (profile.names[name] >= 0) { %>
+ <li><%- name %></li>
+ <% }} %>
+ </ul>
+ </div>
+ <div>
+ <h2 style="text-align: center;"><%- lang.me.items[2] %></h2>
+ <% for (group of Object.keys(profile.words)) { for (word of Object.keys(profile.words[group])) { if (profile.words[group][word] >= 0) { %>
+ <li <% if (profile.words[group][word] === 1) { %>style="font-weight: bold;"<% } %> <% if (profile.words[group][word] === 3) { %>style="opacity: .25;"<% } %> <% if (profile.words[group][word] === 2) { %>style="font-style: italic;"<% } %>><%- word %></li>
+ <% }}} %>
+ </div>
+</div>
+
+<%- include(`${private}/footer.ejs`) %>
|