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