feat: Migrate landing page to Vue 3 + TypeScript

- Replace static HTML with Vue 3 SPA (Vite + TypeScript)
- Add GalaxyCanvas component (interactive particle animation)
- Component-based sections (HeroSection, SectionBlock, FooterView)
- Add nginx.conf with SPA routing + security headers
- Update compose.yaml to mount nginx config
- Build output in html/ directory
This commit is contained in:
2026-06-16 17:42:23 +02:00
parent f7353ed111
commit fb7d7c5b2d
20 changed files with 1670 additions and 444 deletions
+28
View File
@@ -0,0 +1,28 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Security headers
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
# Gzip
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml text/javascript image/svg+xml;
gzip_min_length 256;
# Static assets with cache
location /assets/ {
expires 1y;
add_header Cache-Control "public, immutable";
}
# SPA fallback
location / {
try_files $uri $uri/ /index.html;
}
}