From 3da30ecdcb66de2a34418ee262ceef41c546a92d Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 6 Mar 2022 14:39:35 +0000 Subject: Fix: fixes #1 --- htdocs/public/index.ejs | 489 ++++++++++++++++++++++++------------------------ 1 file changed, 244 insertions(+), 245 deletions(-) (limited to 'htdocs/public') diff --git a/htdocs/public/index.ejs b/htdocs/public/index.ejs index 775b01a..1ff6fe1 100644 --- a/htdocs/public/index.ejs +++ b/htdocs/public/index.ejs @@ -1,245 +1,244 @@ -<% global.title = lang.main.page; %> -<%- include(`${private}/header.ejs`) %> - -
-
-
-

<%- lang.main.intro.title %>

-

— - <% - items = lang.main.intro.tagline - - let item = items[Math.floor(Math.random() * items.length)] - %> - <%- item %> - —

-

<%- lang.main.intro.subtitle %>

-
-
- - - -
- -
-
- -

<%- lang.main.elements.projects.title %>

-

<%- lang.main.elements.projects.description %>

- <%- lang.main.elements.projects.action %> → -
-
- -

<%- lang.main.elements.contact.title %>

-

<%- lang.main.elements.contact.description %>

- <%- lang.main.elements.contact.action %> ↓ -
-
- -

<%- lang.main.elements.about.title %>

-

<%- lang.main.elements.about.description %>

- <%- lang.main.elements.about.action %> ↓ -
- -
- <%- lang.main.elements.projects.action %> → -
-
- <%- lang.main.elements.contact.action %> ↓ -
-
- <%- lang.main.elements.about.action %> ↓ -
-
- -
-
-

<%- lang.main.history.title %> ...

- <% - items = { - "1": { - "title": "... " + lang.main.history.items[0].title, - "description": lang.main.history.items[0].description - }, - "2": { - "title": "... " + lang.main.history.items[1].title, - "description": lang.main.history.items[1].description - }, - "3": { - "title": "... " + lang.main.history.items[2].title, - "description": lang.main.history.items[2].description - }, - "4": { - "title": "... " + lang.main.history.items[3].title, - "description": lang.main.history.items[3].description - }, - "5": { - "title": "... " + lang.main.history.items[4].title, - "description": lang.main.history.items[4].description - }, - "6": { - "title": "... " + lang.main.history.items[5].title, - "description": lang.main.history.items[5].description - }, - "7": { - "title": "... " + lang.main.history.items[6].title, - "description": lang.main.history.items[6].description - }, - "8": { - "title": "... " + lang.main.history.items[7].title, - "description": lang.main.history.items[7].description - }, - "9": { - "title": "... " + lang.main.history.items[8].title, - "description": lang.main.history.items[8].description - }, - "10": { - "title": "... " + lang.main.history.items[9].title, - "description": lang.main.history.items[9].description - }, - "11": { - "title": "... " + lang.main.history.items[10].title, - "description": lang.main.history.items[10].description - }, - "12": { - "title": "... " + lang.main.history.items[11].title, - "description": lang.main.history.items[11].description - } - } - %> -

<%- items['' + (new Date().getMonth() + 1)].title %>

-

(<%- items['' + (new Date().getMonth() + 1)].description %>)

-
- - -
- -
-

<%- lang.main.contact.title %>

- -
- -
- -
-

<%- lang.main.about.title %>

-
-
-

<%- lang.main.about.languages.title %>

-

<%- lang.main.about.languages.description %>

-
-
-

<%- lang.main.about.experiments.title %>

-

<%- lang.main.about.experiments.description %>

-
-
-

<%- lang.main.about.archives.title %>

-

<%- lang.main.about.archives.description %>

- <%- lang.main.about.archives.action %> → -
-
-

<%- lang.main.about.general.title %>

-

<%- lang.main.about.general.description %>

- <%- lang.main.about.general.action %> → -
-
-

<%- lang.main.about.history.title %>

-

<%- lang.main.about.history.description.replace("%1", new Date().getFullYear() - 2013) %>

-
-
-

<%- lang.main.about.privacy.title %>

-

<%- lang.main.about.privacy.description %>

-
-
-
- -
- - - -<%- include(`${private}/footer.ejs`) %> +<% global.title = lang.main.page; %> +<%- include(`${private}/header.ejs`) %> + +
+
+
+

<%- lang.main.intro.title %>

+

— + <% + items = lang.main.intro.tagline + + let item = items[Math.floor(Math.random() * items.length)] + %> + <%- item %> + —

+

<%- lang.main.intro.subtitle %>

+
+
+ + + +
+ +
+
+ +

<%- lang.main.elements.projects.title %>

+

<%- lang.main.elements.projects.description %>

+ <%- lang.main.elements.projects.action %> → +
+
+ +

<%- lang.main.elements.contact.title %>

+

<%- lang.main.elements.contact.description %>

+ <%- lang.main.elements.contact.action %> ↓ +
+
+ +

<%- lang.main.elements.about.title %>

+

<%- lang.main.elements.about.description %>

+ <%- lang.main.elements.about.action %> ↓ +
+ +
+ <%- lang.main.elements.projects.action %> → +
+
+ <%- lang.main.elements.contact.action %> ↓ +
+
+ <%- lang.main.elements.about.action %> ↓ +
+
+ +
+
+

<%- lang.main.history.title %> ...

+ <% + items = { + "1": { + "title": "... " + lang.main.history.items[0].title, + "description": lang.main.history.items[0].description + }, + "2": { + "title": "... " + lang.main.history.items[1].title, + "description": lang.main.history.items[1].description + }, + "3": { + "title": "... " + lang.main.history.items[2].title, + "description": lang.main.history.items[2].description + }, + "4": { + "title": "... " + lang.main.history.items[3].title, + "description": lang.main.history.items[3].description + }, + "5": { + "title": "... " + lang.main.history.items[4].title, + "description": lang.main.history.items[4].description + }, + "6": { + "title": "... " + lang.main.history.items[5].title, + "description": lang.main.history.items[5].description + }, + "7": { + "title": "... " + lang.main.history.items[6].title, + "description": lang.main.history.items[6].description + }, + "8": { + "title": "... " + lang.main.history.items[7].title, + "description": lang.main.history.items[7].description + }, + "9": { + "title": "... " + lang.main.history.items[8].title, + "description": lang.main.history.items[8].description + }, + "10": { + "title": "... " + lang.main.history.items[9].title, + "description": lang.main.history.items[9].description + }, + "11": { + "title": "... " + lang.main.history.items[10].title, + "description": lang.main.history.items[10].description + }, + "12": { + "title": "... " + lang.main.history.items[11].title, + "description": lang.main.history.items[11].description + } + } + %> +

<%- items['' + (new Date().getMonth() + 1)].title %>

+

(<%- items['' + (new Date().getMonth() + 1)].description %>)

+
+ + +
+ +
+

<%- lang.main.contact.title %>

+ +
+ +
+ +
+

<%- lang.main.about.title %>

+
+
+

<%- lang.main.about.languages.title %>

+

<%- lang.main.about.languages.description %>

+
+
+

<%- lang.main.about.experiments.title %>

+

<%- lang.main.about.experiments.description %>

+
+
+

<%- lang.main.about.archives.title %>

+

<%- lang.main.about.archives.description %>

+ <%- lang.main.about.archives.action %> → +
+
+

<%- lang.main.about.general.title %>

+

<%- lang.main.about.general.description %>

+ <%- lang.main.about.general.action %> → +
+
+

<%- lang.main.about.history.title %>

+

<%- lang.main.about.history.description.replace("%1", new Date().getFullYear() - 2013) %>

+
+
+

<%- lang.main.about.privacy.title %>

+

<%- lang.main.about.privacy.description %>

+
+
+
+ +
+ + + +<%- include(`${private}/footer.ejs`) %> -- cgit From ddba96098e7926f6d289f50de27e855d3bb0a435 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 26 Mar 2022 16:32:01 +0000 Subject: Update htdocs/private/version.txt, htdocs/public/me/index.ejs --- htdocs/public/me/index.ejs | 114 ++++++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 57 deletions(-) (limited to 'htdocs/public') diff --git a/htdocs/public/me/index.ejs b/htdocs/public/me/index.ejs index 629d4b2..91518ff 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`) %> - -← <%- lang.global.back %> - -
-
-<% - - 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"; - } - -%> - -
- -
-
-

Mia "Minteck" Dash %>

-

<%- lang.me.description %> | France
<%- lang.me.external %> pronouns.page

-
-
-
- -
-
-

<%- lang.me.items[0] %>

-
    - <% for (url of Object.keys(profile.pronouns)) { if (profile.pronouns[url] >= 0) { %> -
  • <%- url.split("/")[url.split("/").length - 1].replace("&", "/") %>
  • - <% }} %> -
-
-
-

<%- lang.me.items[1] %>

-
    - <% for (name of Object.keys(profile.names)) { if (profile.names[name] >= 0) { %> -
  • <%- name %>
  • - <% }} %> -
-
-
-

<%- lang.me.items[2] %>

- <% for (group of Object.keys(profile.words)) { for (word of Object.keys(profile.words[group])) { if (profile.words[group][word] >= 0) { %> -
  • style="font-weight: bold;"<% } %> <% if (profile.words[group][word] === 3) { %>style="opacity: .25;"<% } %> <% if (profile.words[group][word] === 2) { %>style="font-style: italic;"<% } %>><%- word %>
  • - <% }}} %> -
    -
    - -<%- include(`${private}/footer.ejs`) %> +<% global.title = lang.me.title; %> +<%- include(`${private}/header.ejs`) %> + +← <%- lang.global.back %> + +
    +
    +<% + + 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"; + } + +%> + +
    + +
    +
    +

    Mia "Scoots" Dash, aka Minteck %>

    +

    <%- lang.me.description %> | France
    <%- lang.me.external %> pronouns.page

    +
    +
    +
    + +
    +
    +

    <%- lang.me.items[0] %>

    +
      + <% for (url of Object.keys(profile.pronouns)) { if (profile.pronouns[url] >= 0) { %> +
    • <%- url.split("/")[url.split("/").length - 1].replace("&", "/") %>
    • + <% }} %> +
    +
    +
    +

    <%- lang.me.items[1] %>

    +
      + <% for (name of Object.keys(profile.names)) { if (profile.names[name] >= 0) { %> +
    • <%- name %>
    • + <% }} %> +
    +
    +
    +

    <%- lang.me.items[2] %>

    + <% for (group of Object.keys(profile.words)) { for (word of Object.keys(profile.words[group])) { if (profile.words[group][word] >= 0) { %> +
  • style="font-weight: bold;"<% } %> <% if (profile.words[group][word] === 3) { %>style="opacity: .25;"<% } %> <% if (profile.words[group][word] === 2) { %>style="font-style: italic;"<% } %>><%- word %>
  • + <% }}} %> +
    +
    + +<%- include(`${private}/footer.ejs`) %> -- cgit