feat: Add EU compliance pages and EU hosting marketing
Some checks failed
Deploy to Production / Deploy to Server (push) Failing after 20s
Some checks failed
Deploy to Production / Deploy to Server (push) Failing after 20s
- Add footer links for Impressum, Privacy Policy, Terms of Service - Create legal pages: /impressum, /privacy, /terms (Austrian/EU compliant) - Add EU hosting badge highlighting GDPR compliance and EU data residency - Add Express routes for legal pages with caching headers - All pages use consistent dark theme design matching landing page
This commit is contained in:
parent
03dd6c17df
commit
5ef8f34133
4 changed files with 616 additions and 0 deletions
16
src/index.ts
16
src/index.ts
|
|
@ -186,6 +186,22 @@ app.get("/docs", (_req, res) => {
|
|||
res.sendFile(path.join(__dirname, "../public/docs.html"));
|
||||
});
|
||||
|
||||
// Legal pages (clean URLs)
|
||||
app.get("/impressum", (_req, res) => {
|
||||
res.setHeader('Cache-Control', 'public, max-age=86400');
|
||||
res.sendFile(path.join(__dirname, "../public/impressum.html"));
|
||||
});
|
||||
|
||||
app.get("/privacy", (_req, res) => {
|
||||
res.setHeader('Cache-Control', 'public, max-age=86400');
|
||||
res.sendFile(path.join(__dirname, "../public/privacy.html"));
|
||||
});
|
||||
|
||||
app.get("/terms", (_req, res) => {
|
||||
res.setHeader('Cache-Control', 'public, max-age=86400');
|
||||
res.sendFile(path.join(__dirname, "../public/terms.html"));
|
||||
});
|
||||
|
||||
// API root
|
||||
app.get("/api", (_req, res) => {
|
||||
res.json({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue