- 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>
39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
'use client'
|
|
|
|
export default function TermsPage() {
|
|
return (
|
|
<div className="min-h-screen bg-background">
|
|
<div className="max-w-4xl mx-auto py-8 px-4">
|
|
<h1 className="text-3xl font-bold text-foreground mb-6">Terms of Service</h1>
|
|
<div className="prose prose-invert max-w-none space-y-6">
|
|
<section>
|
|
<h2 className="text-2xl font-semibold text-foreground mb-4">1. Acceptance of Terms</h2>
|
|
<p className="text-foreground/70">
|
|
By accessing and using Ritgram, you accept and agree to be bound by the terms and provision of this agreement.
|
|
</p>
|
|
</section>
|
|
<section>
|
|
<h2 className="text-2xl font-semibold text-foreground mb-4">2. Use License</h2>
|
|
<p className="text-foreground/70">
|
|
Permission is granted to temporarily use Ritgram for personal, non-commercial transitory viewing only.
|
|
</p>
|
|
</section>
|
|
<section>
|
|
<h2 className="text-2xl font-semibold text-foreground mb-4">3. User Content</h2>
|
|
<p className="text-foreground/70">
|
|
You are responsible for all content you post on Ritgram. You grant us a license to use, modify, and display your content.
|
|
</p>
|
|
</section>
|
|
<section>
|
|
<h2 className="text-2xl font-semibold text-foreground mb-4">4. Prohibited Uses</h2>
|
|
<p className="text-foreground/70">
|
|
You may not use Ritgram in any way that is unlawful, harmful, or violates any applicable laws or regulations.
|
|
</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|