caelum0x 6ee7ff4033 fix(ritgram): rebrand Gitgram->Ritgram everywhere user-visible, fix OG/sitemap base URL, real 404s
- sitemap.xml, robots.txt, og:url, og:image, twitter:image, metadataBase all
  resolve from NEXT_PUBLIC_SITE_URL with a https://ritgram.ereboslab.com
  default instead of the dead gitgram.app (NXDOMAIN).
- Page titles, OG copy, PWA manifest, offline.html, service-worker push
  notification title: Gitgram -> Ritgram. Left internal SW cache-name/tag
  strings (gitgram-static-, gitgram-sync, etc.) alone as low-risk code
  identifiers.
- /[owner]/page.tsx (top-level profile route) converted to an async Server
  Component that calls fetchProfile() + notFound() before any HTML streams,
  so a GET on any nonexistent username now returns a real 404 instead of a
  200 loading-shell (the same pattern [owner]/[name]/page.tsx already used
  one level down).
- apps/ritgram/backend: matching Gitgram->Ritgram string rename sweep across
  controllers/services/config comments and defaults (EMAIL_FROM,
  AITM_API_URL description, etc.) — no behavior change.
- apps/ritgram/mobile: matching user-visible string rename sweep.

tsc --noEmit clean on both web and backend.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-17 03:20:08 +03:00

41 lines
1.3 KiB
TypeScript

'use client'
import Link from 'next/link'
export default function AboutPage() {
return (
<div className="min-h-screen bg-background">
<div className="max-w-2xl mx-auto py-8 px-4">
<h1 className="text-2xl font-bold text-foreground mb-6">About Ritgram</h1>
<div className="space-y-6">
<div className="bg-surface rounded-lg p-6">
<h2 className="text-lg font-semibold text-foreground mb-4">Version</h2>
<p className="text-foreground/70">1.0.0</p>
</div>
<div className="bg-surface rounded-lg p-6">
<h2 className="text-lg font-semibold text-foreground mb-4">Legal</h2>
<div className="space-y-2">
<Link href="/settings/privacy-policy" className="block text-accent hover:underline">
Privacy Policy
</Link>
<Link href="/settings/terms" className="block text-accent hover:underline">
Terms of Service
</Link>
</div>
</div>
<div className="bg-surface rounded-lg p-6">
<h2 className="text-lg font-semibold text-foreground mb-4">Support</h2>
<Link href="/feedback/create" className="block text-accent hover:underline">
Send Feedback
</Link>
</div>
</div>
</div>
</div>
)
}