diff --git a/build.js b/build.js index 616d21b8e3810200e7f02cf40f077146dc598f8b..90650d3d8b1c8ae8a7b80f1bb376a1b030da8ced 100644 --- a/build.js +++ b/build.js @@ -3,7 +3,14 @@ "use strict"; const build_conf = { - protected_dirs: ["assets", "style", "news-articles", "game-articles", "software-articles"], + protected_dirs: [ + "assets", + "style", + "news-articles", + "game-articles", + "software-articles", + "letsencrypt", + ], }; const fs = require("fs"); diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000000000000000000000000000000000..d1ff4d22736a63cf45faf1280472d0447e198379 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: "3.9" +services: + web: + build: . + ports: + - "80:80" + volumes: + - ./public:/usr/share/nginx/html diff --git a/public/letsencrypt b/public/letsencrypt new file mode 160000 index 0000000000000000000000000000000000000000..adb7e5e62f4c96be678c5af3e55a82ddcc717590 --- /dev/null +++ b/public/letsencrypt @@ -0,0 +1 @@ +Subproject commit adb7e5e62f4c96be678c5af3e55a82ddcc717590 diff --git a/public/main.js b/public/main.js index a556592927452bd0e75c31d779e636909cab59b0..8999e724602a0d6bf047a277e71adac174e09842 100644 --- a/public/main.js +++ b/public/main.js @@ -289,6 +289,7 @@ class HomePage { tag: "div", class: "page-header", contents: [ + {tag:"h1",contents:"AAA"}, { tag: "div", class: "big-logo page-contents-center", diff --git a/src/homepage.js b/src/homepage.js index 74d591e97009544389e2543fe0d2f75f652cf4cc..333fc88966aa5edf50f8e5b5e27cbfd0216da978 100644 --- a/src/homepage.js +++ b/src/homepage.js @@ -18,6 +18,7 @@ class HomePage { tag: "div", class: "page-header", contents: [ + {tag:"h1",contents:"AAA"}, { tag: "div", class: "big-logo page-contents-center",