Commit Graph

8 Commits

Author SHA1 Message Date
arifal a92b4a8fd9 kyc user and upload partial update encrypt nik and picture 2026-04-27 21:48:24 +07:00
arifal d91e16b6ef feat(seo): add metadata, sitemap, robots, JSON-LD, dynamic OG image
- Centralize brand/keyword config in lib/site.ts (slogan, 22 keywords).
- Root layout: metadataBase, title template, OG/Twitter defaults, robots rules.
- Per-page metadata: home, trips list (filter-aware), trip detail, profile (noindex).
- Layout wrappers add metadata to client-component pages: login, register, create-trip.
- Trip detail: generateMetadata + JSON-LD Event + BreadcrumbList (price, availability, rating).
- Home page: JSON-LD Organization + WebSite + SearchAction (sitelink search).
- app/sitemap.ts: dynamic sitemap pulling OPEN/FULL trips from Prisma.
- app/robots.ts: disallow /api/, /profile, /create-trip; references sitemap.
- app/trips/[id]/opengraph-image.tsx: dynamic 1200x630 OG image per trip with
  cover photo, title, mountain, date, price, brand badge.
- Seeder: switch trip images from local SVG placeholders to real Unsplash CDN URLs.
- Drop 18 obsolete seed SVGs from public/images/seed/.

New env: NEXT_PUBLIC_SITE_URL (defaults to localhost:3000) — set to prod domain on deploy.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 02:14:08 +07:00
arifal fcdca34460 add payment, trust badge, handle race condition, fix booking schema 2026-04-20 23:57:31 +07:00
arifal ba5f64ae0e create review and profile 2026-04-20 00:25:05 +07:00
arifal 7159e9108f add end date and create logo and fix filter 2026-04-17 00:16:31 +07:00
arifal 82c1da9951 add responsive mobile tablet laptop and desktop 2026-04-16 16:49:32 +07:00
arifal d0480df31a add trip image 2026-04-16 16:26:29 +07:00
arifal 237caad488 auth, trips and join trips 2026-04-16 14:51:54 +07:00