|
| 1 | +import { Breadcrumb } from '@/components/layout/breadcrumb' |
| 2 | +import { PageContainer } from '@/components/layout/page-container' |
| 3 | +import { BreadcrumbSchema } from '@/components/seo/json-ld' |
| 4 | +import { ROUTES } from '@/lib/routes' |
| 5 | +import { createMetadata } from '@/lib/seo' |
| 6 | +import Link from 'next/link' |
| 7 | + |
| 8 | +export const metadata = createMetadata({ |
| 9 | + title: 'Privacy Policy', |
| 10 | + description: 'Privacy Policy for souls.directory — how we handle your data.', |
| 11 | + path: '/privacy', |
| 12 | + noSuffix: true, |
| 13 | +}) |
| 14 | + |
| 15 | +export default function PrivacyPage() { |
| 16 | + return ( |
| 17 | + <> |
| 18 | + <BreadcrumbSchema items={[{ name: 'Privacy Policy', url: '/privacy' }]} /> |
| 19 | + <main className="min-h-screen"> |
| 20 | + <PageContainer paddingY="hero"> |
| 21 | + <Breadcrumb items={[{ name: 'Privacy Policy' }]} className="mb-8" /> |
| 22 | + |
| 23 | + <header className="text-center mb-16"> |
| 24 | + <h1 className="text-2xl md:text-3xl font-medium text-text mb-4">Privacy Policy</h1> |
| 25 | + <p className="text-sm text-text-secondary">Last updated: March 16, 2026</p> |
| 26 | + </header> |
| 27 | + |
| 28 | + <article className="max-w-2xl mx-auto space-y-10 text-sm text-text-secondary leading-relaxed"> |
| 29 | + <section> |
| 30 | + <h2 className="text-lg font-medium text-text mb-3">What we collect</h2> |
| 31 | + <div className="space-y-4"> |
| 32 | + <div> |
| 33 | + <h3 className="text-sm font-medium text-text mb-1">Without an account</h3> |
| 34 | + <p> |
| 35 | + Privacy-friendly analytics (page views, referrers, browser/OS) via OpenPanel. No |
| 36 | + personal data is collected. No cookies are used for tracking. |
| 37 | + </p> |
| 38 | + </div> |
| 39 | + <div> |
| 40 | + <h3 className="text-sm font-medium text-text mb-1">With a GitHub account</h3> |
| 41 | + <ul className="list-disc list-inside space-y-1"> |
| 42 | + <li>GitHub username, email, and avatar (from GitHub OAuth)</li> |
| 43 | + <li>Souls you create, star, or comment on</li> |
| 44 | + <li>Profile information you choose to add (bio, website, social handles)</li> |
| 45 | + </ul> |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + </section> |
| 49 | + |
| 50 | + <section> |
| 51 | + <h2 className="text-lg font-medium text-text mb-3">How we use it</h2> |
| 52 | + <ul className="list-disc list-inside space-y-2"> |
| 53 | + <li>To provide the service (display your souls, profile, and activity)</li> |
| 54 | + <li>To understand how the site is used and improve it</li> |
| 55 | + <li>To prevent abuse and enforce our terms</li> |
| 56 | + </ul> |
| 57 | + </section> |
| 58 | + |
| 59 | + <section> |
| 60 | + <h2 className="text-lg font-medium text-text mb-3">What we don't do</h2> |
| 61 | + <ul className="list-disc list-inside space-y-2"> |
| 62 | + <li>We don't sell or share your data with third parties</li> |
| 63 | + <li>We don't use your data for advertising</li> |
| 64 | + <li>We don't track you across other websites</li> |
| 65 | + </ul> |
| 66 | + </section> |
| 67 | + |
| 68 | + <section> |
| 69 | + <h2 className="text-lg font-medium text-text mb-3">Where data is stored</h2> |
| 70 | + <p> |
| 71 | + Data is stored in Convex (database) and Vercel (hosting). Both are US-based |
| 72 | + services. Analytics are processed by OpenPanel. |
| 73 | + </p> |
| 74 | + </section> |
| 75 | + |
| 76 | + <section> |
| 77 | + <h2 className="text-lg font-medium text-text mb-3">Data retention</h2> |
| 78 | + <p> |
| 79 | + Your data is kept as long as your account is active. You can delete your account and |
| 80 | + associated data by contacting us on GitHub. |
| 81 | + </p> |
| 82 | + </section> |
| 83 | + |
| 84 | + <section> |
| 85 | + <h2 className="text-lg font-medium text-text mb-3">Third-party services</h2> |
| 86 | + <ul className="list-disc list-inside space-y-2"> |
| 87 | + <li> |
| 88 | + <strong className="text-text">GitHub</strong> — authentication (OAuth) |
| 89 | + </li> |
| 90 | + <li> |
| 91 | + <strong className="text-text">Convex</strong> — database and backend |
| 92 | + </li> |
| 93 | + <li> |
| 94 | + <strong className="text-text">Vercel</strong> — hosting and deployment |
| 95 | + </li> |
| 96 | + <li> |
| 97 | + <strong className="text-text">OpenPanel</strong> — privacy-friendly |
| 98 | + analytics |
| 99 | + </li> |
| 100 | + <li> |
| 101 | + <strong className="text-text">Sentry</strong> — error monitoring |
| 102 | + </li> |
| 103 | + </ul> |
| 104 | + </section> |
| 105 | + |
| 106 | + <section> |
| 107 | + <h2 className="text-lg font-medium text-text mb-3">Changes</h2> |
| 108 | + <p> |
| 109 | + We may update this policy. Significant changes will be noted with an updated date. |
| 110 | + </p> |
| 111 | + </section> |
| 112 | + |
| 113 | + <section className="pt-6 border-t border-border"> |
| 114 | + <p> |
| 115 | + Questions? Reach out on{' '} |
| 116 | + <a |
| 117 | + href="https://github.com/thedaviddias/souls-directory" |
| 118 | + target="_blank" |
| 119 | + rel="noopener noreferrer" |
| 120 | + className="text-text hover:underline" |
| 121 | + > |
| 122 | + GitHub |
| 123 | + </a> |
| 124 | + . See also our{' '} |
| 125 | + <Link href={ROUTES.terms} className="text-text hover:underline"> |
| 126 | + Terms of Service |
| 127 | + </Link> |
| 128 | + . |
| 129 | + </p> |
| 130 | + </section> |
| 131 | + </article> |
| 132 | + </PageContainer> |
| 133 | + </main> |
| 134 | + </> |
| 135 | + ) |
| 136 | +} |
0 commit comments