summaryrefslogtreecommitdiff
path: root/htdocs
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-04 15:05:22 +0100
committerMinteck <contact@minteck.org>2021-12-04 15:05:22 +0100
commit4e943440d5999ba73c9c24e1a2e0695330aa92bb (patch)
tree09ca6e0d4e01b1537550bb715dd6e1768ccb6207 /htdocs
parentdbbc2d3692acaf0c3e54647a0b5fc4d03f5d79c3 (diff)
downloadrainbow-4e943440d5999ba73c9c24e1a2e0695330aa92bb.tar.gz
rainbow-4e943440d5999ba73c9c24e1a2e0695330aa92bb.tar.bz2
rainbow-4e943440d5999ba73c9c24e1a2e0695330aa92bb.zip
i18n French
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/private/header.ejs2
-rw-r--r--htdocs/private/version.txt2
-rw-r--r--htdocs/public/archive/index.ejs2
-rw-r--r--htdocs/public/assets/css/main.css2
-rw-r--r--htdocs/public/legal/index.ejs4
-rw-r--r--htdocs/public/me/index.ejs45
-rw-r--r--htdocs/public/metranslator/index.ejs2
7 files changed, 48 insertions, 11 deletions
diff --git a/htdocs/private/header.ejs b/htdocs/private/header.ejs
index 94ecb87..2137a05 100644
--- a/htdocs/private/header.ejs
+++ b/htdocs/private/header.ejs
@@ -11,4 +11,4 @@
<link rel="stylesheet" href="/assets/css/main.css">
</head>
<body>
-<main> \ No newline at end of file
+<main style="overflow-x: hidden;"> \ No newline at end of file
diff --git a/htdocs/private/version.txt b/htdocs/private/version.txt
index 80af6f9..1eebb2a 100644
--- a/htdocs/private/version.txt
+++ b/htdocs/private/version.txt
@@ -1 +1 @@
-9.1.2 \ No newline at end of file
+9.1.3 \ No newline at end of file
diff --git a/htdocs/public/archive/index.ejs b/htdocs/public/archive/index.ejs
index 24af393..8d5ca25 100644
--- a/htdocs/public/archive/index.ejs
+++ b/htdocs/public/archive/index.ejs
@@ -1,7 +1,7 @@
<% global.title = lang.archives.title; %>
<%- include(`${private}/header.ejs`) %>
-<a href="/">← Go back home</a>
+<a href="/<%- slang %>">← <%- lang.global.back %></a>
<hr class="rnbwsquare-separator rnbwsquare-outer">
diff --git a/htdocs/public/assets/css/main.css b/htdocs/public/assets/css/main.css
index 2618049..ce2d306 100644
--- a/htdocs/public/assets/css/main.css
+++ b/htdocs/public/assets/css/main.css
@@ -24,7 +24,7 @@ main {
display: none;
}
-@media (max-width: 700px) {
+@media (max-width: 900px) {
.grid-3:not(.dont-break-me) {
grid-template-columns: 1fr 1fr;
grid-gap: 10px;
diff --git a/htdocs/public/legal/index.ejs b/htdocs/public/legal/index.ejs
index 6888391..7f73be8 100644
--- a/htdocs/public/legal/index.ejs
+++ b/htdocs/public/legal/index.ejs
@@ -1,7 +1,7 @@
<% global.title = lang.legal.page; %>
<%- include(`${private}/header.ejs`) %>
-<a href="/">← <%- lang.global.back %></a>
+<a href="/<%- slang %>">← <%- lang.global.back %></a>
<hr class="rnbwsquare-separator rnbwsquare-outer">
@@ -109,7 +109,7 @@ t57Xl7Bb4NLwkD8v+gZillka+3NaYKbaQc9arUMiOWVrKKbAL+60YzlQKe2uHArX
<ul>
<li>111, quai du Président Roosevelt<br>
92130 ISSY-LES-MOULINEAUX<br>
- and domiciled for the purposes hereof<br>
+ <%- lang.legal.notices.content.homed %><br>
1 avenue Nelson Mandela<br>
94745 ARCUEIL
</li>
diff --git a/htdocs/public/me/index.ejs b/htdocs/public/me/index.ejs
index 36feb43..93f59a9 100644
--- a/htdocs/public/me/index.ejs
+++ b/htdocs/public/me/index.ejs
@@ -1,20 +1,57 @@
<% global.title = lang.me.title; %>
<%- include(`${private}/header.ejs`) %>
-<a href="/">← <%- lang.global.back %></a>
+<a href="/<%- slang %>">← <%- lang.global.back %></a>
<hr class="rnbwsquare-separator rnbwsquare-outer">
<br>
-<% data = child_process.execSync("curl https://jae.fi/me").toString(); %>
+<%
+
+ 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;" src="https://www.gravatar.com/avatar/48f67e8c212de600986cb32146f9a15b?s=96&d=identicon">
+ <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;">Minteck | Mia</h1>
- <p style="margin: 0;opacity:.5;">Software Developer, Sysadmin, Furry</p>
+ <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`) %> \ No newline at end of file
diff --git a/htdocs/public/metranslator/index.ejs b/htdocs/public/metranslator/index.ejs
index 1433c81..3fd8baf 100644
--- a/htdocs/public/metranslator/index.ejs
+++ b/htdocs/public/metranslator/index.ejs
@@ -1,7 +1,7 @@
<% global.title = lang.metranslator.title; %>
<%- include(`${private}/header.ejs`) %>
-<a href="/">← <%- lang.global.back %></a>
+<a href="/<%- slang %>">← <%- lang.global.back %></a>
<hr class="rnbwsquare-separator rnbwsquare-outer">