bilhej/frontend
Hermes Agent f1fa539495
Some checks failed
CI / Lint, type check, unit tests, coverage (push) Failing after 26m9s
CI / E2E browser tests (push) Failing after 13m8s
SEO: comprehensive search engine optimization for bilhej.se
Adds 7 SEO improvements across the full stack:

1. Enhanced index.html:
   - Open Graph tags (og:title, og:description, og:image, og:locale sv_SE)
   - Twitter Card tags (summary_large_image)
   - Canonical URL (https://bilhej.se/)
   - Meta keywords, author, robots, language tags
   - Structured data in JSON-LD (Organization, WebSite, Service, FAQPage)
   - FAQ structured data with 4 Q&A pairs (pris, anonymitet, hur funkar det)
   - Preconnect hints for analytics origin

2. robots.txt:
   - Disallow: auth pages, admin, orders, payment, guest pages
   - Allow: public pages (/, /om-oss, /kontakt, /integritetspolicy, /villkor)
   - Crawl-delay: 10s
   - Points to sitemap

3. sitemap.xml:
   - 6 public URLs with proper changefreq and priority
   - Home (1.0), Om (0.7), Kontakt (0.6), GDPR/Villkor (0.5)

4. useSeo composable:
   - Dynamic document.title, meta description/OG/Twitter on route change
   - Canonical URL updates per page
   - Reset fallback for unnamed routes

5. Route-level SEO data:
   - 16 routes with unique title, description, keywords
   - Covers all public pages + key auth pages

6. App.vue: wired useSeo with route.name watcher (immediate: true)

7. nginx.conf:
   - Security headers: X-Frame-Options DENY, X-Content-Type-Options,
     X-XSS-Protection, Referrer-Policy, Permissions-Policy, HSTS
   - Far-future cache (1y, immutable) for static assets
   - No-cache for robots.txt and sitemap.xml
   - Deny access to dotfiles
   - Stronger gzip config
2026-07-18 17:54:13 +00:00
..
e2e fix(e2e): use unique plate in QR code test to avoid admin row collision 2026-06-19 14:04:26 +00:00
public SEO: comprehensive search engine optimization for bilhej.se 2026-07-18 17:54:13 +00:00
src SEO: comprehensive search engine optimization for bilhej.se 2026-07-18 17:54:13 +00:00
.gitignore feat: add login page with Playwright E2E tests 2026-05-13 19:17:29 +02:00
.prettierrc feat: scaffold Vue 3 + Vite frontend with TypeScript, Router, Pinia, Vitest, ESLint, Prettier 2026-05-01 00:52:38 +02:00
eslint.config.ts feat: scaffold Vue 3 + Vite frontend with TypeScript, Router, Pinia, Vitest, ESLint, Prettier 2026-05-01 00:52:38 +02:00
index.html SEO: comprehensive search engine optimization for bilhej.se 2026-07-18 17:54:13 +00:00
package-lock.json feat(payment): Swish QR code and pre-filled payment link 2026-06-19 12:06:29 +00:00
package.json feat(payment): Swish QR code and pre-filled payment link 2026-06-19 12:06:29 +00:00
playwright.config.ts fix(e2e): retry transient CI failures and fix backend health check 2026-06-22 10:05:36 +00:00
README.md feat: scaffold Vue 3 + Vite frontend with TypeScript, Router, Pinia, Vitest, ESLint, Prettier 2026-05-01 00:52:38 +02:00
tsconfig.app.json fix: E2E pipeline — vite preview instead of nginx, ts build fixes 2026-05-19 18:53:52 +02:00
tsconfig.json feat: scaffold Vue 3 + Vite frontend with TypeScript, Router, Pinia, Vitest, ESLint, Prettier 2026-05-01 00:52:38 +02:00
tsconfig.node.json feat: scaffold Vue 3 + Vite frontend with TypeScript, Router, Pinia, Vitest, ESLint, Prettier 2026-05-01 00:52:38 +02:00
vite.config.ts feat(guest): guest checkout without login (Swish + QR) 2026-06-22 10:35:56 +00:00

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.