import React from 'react';
import { ArrowLeft, FileText, Shield, Landmark, Flag, RotateCcw } from 'lucide-react';
// The canonical legal documents are the static pages emitted at build time by
// vite-plugin-seo from seo/legal.js (/terms, /privacy, /legal-notice + Spanish
// versions). This in-app view is a hub with the plain-language summary and
// links, so the SPA route (#legal) and the crawlable pages never drift: the
// full text lives in exactly one place.
const LAST_UPDATED = '2026-08-29';
const SUPPORT_EMAIL = 'info@openshorts.app';
const DOCS = [
{
icon: FileText,
title: 'Terms of Service',
desc: 'What you can do with the service, your content rights, billing, EU withdrawal, and acceptable use.',
href: '/terms',
es: '/terminos',
},
{
icon: Shield,
title: 'Privacy Policy',
desc: 'What we store, for how long, which providers touch it, and your GDPR rights. No third-party trackers.',
href: '/privacy',
es: '/privacidad',
},
{
icon: Landmark,
title: 'Legal Notice',
desc: 'Who operates openshorts.app: TONVI TECH SL, Málaga, Spain (LSSI-CE art. 10).',
href: '/legal-notice',
es: '/aviso-legal',
},
{
icon: RotateCcw,
title: 'Refund Policy',
desc: 'Charged in the last 14 days and have not used the service since? We refund it in full, no reason needed.',
href: '/refunds',
es: '/reembolsos',
},
{
icon: Flag,
title: 'Report Illegal Content',
desc: 'How to report infringing or illegal content, what we do with a notice, and how to challenge a removal (DSA arts. 16-17).',
href: '/report-content',
es: '/reportar-contenido',
},
];
export default function Legal() {
const handleBack = () => {
window.location.hash = '';
};
return (
Terms & Privacy
Last updated: {LAST_UPDATED}
The short version:
- Your videos and clips are yours. We never use your content to train AI models.
- You must have the rights to every video you upload or link, and you are the publisher of what you post.
- No third-party trackers. Analytics is self-hosted; free-plan clips are deleted after 7 days.
- Cancel anytime from your account. Charged in the last 14 days and never used it? Full refund. EU consumers keep their 14-day withdrawal right on top of that.
- Delete everything anytime. Account → Delete account erases your projects, clips and keys on the spot. No email to us, no waiting.
The full documents (English, with Spanish versions that prevail for consumers in Spain):
openshorts.app is operated by TONVI TECH SL (CIF B-19780394), Calle Puerta del Mar 18,
29005 Málaga, Spain. Questions:{' '}
{SUPPORT_EMAIL}
. Self-hosted instances are operated by their administrators under the MIT License; these
documents govern the hosted service only.
);
}