Add public privacy and terms pages for TikTok Login Kit
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
eceefbe7cb
commit
432b1cec9e
26
frontend/src/app/privacy/page.tsx
Normal file
26
frontend/src/app/privacy/page.tsx
Normal file
@ -0,0 +1,26 @@
|
||||
export default function PrivacyPage() {
|
||||
return (
|
||||
<main className="mx-auto max-w-2xl px-6 py-12 text-slate-200">
|
||||
<h1 className="mb-4 text-2xl font-semibold text-white">Privacy Policy</h1>
|
||||
<p className="mb-4 text-sm text-slate-400">Last updated: August 14, 2026</p>
|
||||
<div className="space-y-4 text-sm leading-relaxed text-slate-300">
|
||||
<p>
|
||||
dylive.nomadro.com ("we", "our") operates a live monitoring and video publishing tool for
|
||||
authorized operators only.
|
||||
</p>
|
||||
<p>
|
||||
When you connect your TikTok account, we store OAuth tokens solely to upload videos you explicitly schedule or
|
||||
approve. We do not sell personal data.
|
||||
</p>
|
||||
<p>
|
||||
Data we may process: TikTok account identifiers, display name, OAuth access and refresh tokens, and uploaded
|
||||
video metadata required to complete publishing.
|
||||
</p>
|
||||
<p>
|
||||
You may revoke access at any time in TikTok account settings or by removing the connected account in our app.
|
||||
</p>
|
||||
<p>For questions, contact the site administrator.</p>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
23
frontend/src/app/terms/page.tsx
Normal file
23
frontend/src/app/terms/page.tsx
Normal file
@ -0,0 +1,23 @@
|
||||
export default function TermsPage() {
|
||||
return (
|
||||
<main className="mx-auto max-w-2xl px-6 py-12 text-slate-200">
|
||||
<h1 className="mb-4 text-2xl font-semibold text-white">Terms of Service</h1>
|
||||
<p className="mb-4 text-sm text-slate-400">Last updated: August 14, 2026</p>
|
||||
<div className="space-y-4 text-sm leading-relaxed text-slate-300">
|
||||
<p>
|
||||
By using dylive.nomadro.com, you agree to use this service only for lawful content publishing and monitoring
|
||||
that complies with TikTok's platform policies.
|
||||
</p>
|
||||
<p>
|
||||
You are responsible for the videos uploaded through your connected TikTok account, including rights to use the
|
||||
underlying content.
|
||||
</p>
|
||||
<p>
|
||||
We provide the service as-is and may suspend access for abuse, policy violations, or security issues.
|
||||
</p>
|
||||
<p>You must keep your account credentials secure and notify us of unauthorized use.</p>
|
||||
<p>For questions, contact the site administrator.</p>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import type { NextRequest } from "next/server";
|
||||
|
||||
const PUBLIC = ["/login"];
|
||||
const PUBLIC = ["/login", "/privacy", "/terms"];
|
||||
|
||||
export function middleware(request: NextRequest) {
|
||||
const { pathname } = request.nextUrl;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user