diff --git a/public/Dockerfile b/dockerfile similarity index 86% rename from public/Dockerfile rename to dockerfile index 3547023..73b866c 100644 --- a/public/Dockerfile +++ b/dockerfile @@ -14,4 +14,4 @@ EXPOSE 3000 USER node -CMD ["node", "server.js"] +CMD ["node", "server.js"] \ No newline at end of file diff --git a/public/package.json b/package.json similarity index 99% rename from public/package.json rename to package.json index 808609a..634a052 100644 --- a/public/package.json +++ b/package.json @@ -10,4 +10,4 @@ "better-sqlite3": "^11.7.0", "express": "^4.21.0" } -} +} \ No newline at end of file diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..fced1dd --- /dev/null +++ b/public/index.html @@ -0,0 +1,503 @@ + + + + + +Révfülöp · Nyaraló Naptár + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/server.js b/server.js similarity index 94% rename from public/server.js rename to server.js index 7616f97..19d839b 100644 --- a/public/server.js +++ b/server.js @@ -14,11 +14,9 @@ const SESSION_SECRET = process.env.SESSION_SECRET || crypto.randomBytes(32).toSt // Family members config (can be overridden via FAMILY_MEMBERS env var as JSON) const DEFAULT_MEMBERS = [ - { id: "orsi", name: "Orsi", color: "#E07A5F" }, - { id: "papa", name: "Papa", color: "#3D405B" }, - { id: "mama", name: "Mama", color: "#81B29A" }, - { id: "tesa", name: "Tesa", color: "#F2CC8F" }, - { id: "balint", name: "Bálint", color: "#7B9EA8" }, + { id: "orsi", name: "Orsi", color: "#a15dd8" }, + { id: "lili", name: "Lili", color: "#ffe70c" }, + { id: "mama", name: "Mama", color: "#513eff" }, ]; let FAMILY_MEMBERS; @@ -157,4 +155,4 @@ app.listen(PORT, '0.0.0.0', () => { console.log(`Révfülöp Calendar running on port ${PORT}`); console.log(`Auth: ${AUTH_ENABLED ? 'ENABLED (simple password)' : 'DISABLED (public access)'}`); console.log(`Members: ${FAMILY_MEMBERS.map(m => m.name).join(', ')}`); -}); +}); \ No newline at end of file