Commit Graph
9 Commits
Author SHA1 Message Date
lobo eab7a9edcf Call backend now with answer 2026-03-31 19:44:13 +02:00
lobo 1bb549c4df Update nginx.conf
Build, Test & Push Frontend / quality-check (push) Successful in 6s
Build, Test & Push Frontend / docker (push) Successful in 28s
2026-03-28 12:33:34 +01:00
lobo 2e63b7cfcc README.md aktualisiert
Build, Test & Push Frontend / quality-check (push) Successful in 5s
Build, Test & Push Frontend / docker (push) Successful in 36s
2026-03-28 10:49:50 +01:00
lobo a3c90d4628 Changed wokflow
Build, Test & Push Frontend / quality-check (push) Successful in 9s
Build, Test & Push Frontend / docker (push) Failing after 10s
2026-03-28 10:41:20 +01:00
lobo a8e12ad14c Update LandingPage.jsx 2026-03-28 10:10:46 +01:00
lobo 490fa2fa93 Add Dockerfile, nginx config and publish CI
Add a multi-stage Dockerfile to build the React app (node:24-alpine, npm ci, npm run build) and serve the compiled /app/dist via nginx:alpine. Include nginx.conf that routes unknown paths to /index.html so React Router works in a SPA. Add a CI workflow (.forgejo/workflows/docker-publish.yml) to build and push the Docker image to Codeberg Container Registry on pushes to main (requires CODEBERG_TOKEN repository secret and tags the image as codeberg.org/${{ github.repository }}:latest).
2026-03-28 10:10:09 +01:00
lobo d9c3f40c4a Add pages, update App layout and i18n
Introduce LandingPage, LoginPage and ImprintPage components and replace the previous inline placeholders in App.jsx. Update App layout and header (branding, language toggle, dark mode toggle, route wiring) and use new i18n keys (IMPRINT and LOGIN) in en/de locales. Add client-side validation and UI for the login form. Remove unused assets/icons (public/icons.svg, src/assets/hero.png, vite.svg, vue.svg). Small logging/message tweaks and various Tailwind styling refinements.
2026-03-28 10:02:59 +01:00
lobo c8f1d66cd2 Add i18n, routing and dark-mode support
Introduce internationalization and basic routing: add i18n initialization (src/i18n.js), translation files (public/i18n/en.json, de.json), and wire i18n into the app (import in main.jsx). Update App.jsx to use react-router (BrowserRouter, Routes) and react-i18next (useTranslation), provide simple Landing/Login/Imprint pages, a language toggle and a dark-mode toggle. Add dependencies in package.json (i18next, i18next-http-backend, react-i18next, react-router-dom) and small Tailwind style tweak (custom-variant for dark) in src/style.css.
2026-03-28 09:29:39 +01:00
lobo cf7f136e15 added first default implementation 2026-03-21 10:47:53 +01:00