diff --git a/client/nginx.conf b/client/nginx.conf index e2315f3..49252f1 100644 --- a/client/nginx.conf +++ b/client/nginx.conf @@ -7,9 +7,6 @@ events { } http { include /etc/nginx/mime.types; - types { - application/javascript mjs; - } log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' @@ -29,10 +26,6 @@ http { alias /app/assets/styling; } - location /js { - alias /app/lib; - } - location /posts { alias /app/gen/; } diff --git a/client/public/index.html b/client/public/index.html index 9925e9d..06b9db5 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -8,8 +8,6 @@ Raymon Zutekouw - -

Hi there, good to see you on my website. - My name is Raymon Zutekouw (born on 29-08-2002) + My name is Raymon Zutekouw; Self-thaught programmer by heart.

@@ -48,6 +46,5 @@

- diff --git a/client/public/index.mjs b/client/public/index.mjs deleted file mode 100644 index 38a0082..0000000 --- a/client/public/index.mjs +++ /dev/null @@ -1,4 +0,0 @@ -import { age } from "./lib/me.mjs" - -const age_span = document.getElementById("age") -age_span.textContent = age().toString() diff --git a/client/public/lib/me.mjs b/client/public/lib/me.mjs deleted file mode 100644 index 2f9f9b1..0000000 --- a/client/public/lib/me.mjs +++ /dev/null @@ -1,17 +0,0 @@ -export function age() { - let birthdate = new Date("29 August 2002") - let now = new Date() - - let age = now.getFullYear() - birthdate.getFullYear() - - if (now.getMonth() < birthdate.getMonth()) - age-- - - if ( - birthdate.getMonth() === now.getMonth() && - now.getDate() < birthdate.getDate() - ) - age-- - - return age -}