From e4d9afdd68982fdbaf947d15232cebefabda2c7b Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Sat, 16 Nov 2024 02:32:58 -0600 Subject: [PATCH 1/4] pong: remove unused css file --- src/pong.css | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/pong.css diff --git a/src/pong.css b/src/pong.css deleted file mode 100644 index 2229931..0000000 --- a/src/pong.css +++ /dev/null @@ -1,23 +0,0 @@ -html, body { - height: 100%; - margin: 0; -} - -body { - background: black; - display: flex; - align-items: center; - justify-content: center; -} - -.button { - background: blue; - color: white; - padding: 15px 20px; - font-size: 32px; - font-family: Arial, Helvetica, sans-serif; - text-transform: uppercase; - cursor: pointer; - position: relative; -} - -- 2.45.2 From 8252f38bb7e94a632a340e875cd1eda09294f58c Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Sat, 16 Nov 2024 02:38:15 -0600 Subject: [PATCH 2/4] core: move home page css to root and rename --- src/home.css => default.css | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/home.css => default.css (100%) diff --git a/src/home.css b/default.css similarity index 100% rename from src/home.css rename to default.css -- 2.45.2 From f725b4e9224c58b045fb264d0746f71c2e5c719b Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Sat, 16 Nov 2024 02:45:38 -0600 Subject: [PATCH 3/4] core: propagate changes throughout files --- Dockerfile | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1925dec..5e82aa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,9 @@ RUN npm run build WORKDIR /usr/share/nginx/html COPY index.html . +COPY default.css . RUN mkdir -p /usr/share/nginx/html/public -COPY src/*.css ./public RUN cp /app/build/* ./public diff --git a/index.html b/index.html index c9297d7..a399945 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ Trianta - +