|
| 1 | +export interface LegalSection { |
| 2 | + heading: string; |
| 3 | + content: string | string[]; |
| 4 | +} |
| 5 | + |
| 6 | +export interface LegalDocument { |
| 7 | + title: string; |
| 8 | + effectiveDate: string; |
| 9 | + sections: LegalSection[]; |
| 10 | + contact: string; |
| 11 | +} |
| 12 | + |
| 13 | +export const privacyPolicy: LegalDocument = { |
| 14 | + title: "HTMLPlayer Privacy Policy", |
| 15 | + effectiveDate: "9/23/2025", |
| 16 | + sections: [ |
| 17 | + { |
| 18 | + heading: "1. Introduction", |
| 19 | + content: `HTMLPlayer respects your privacy. Since the App is primarily client-side, |
| 20 | +we do not collect personal data unless you interact with external services |
| 21 | +(e.g., Discord integration).`, |
| 22 | + }, |
| 23 | + { |
| 24 | + heading: "2. Data Collection", |
| 25 | + content: [ |
| 26 | + "The App does not collect personal information by default.", |
| 27 | + "Optional Discord integration may send limited information (username, current activity) to Discord's servers for the purpose of updating your music activity.", |
| 28 | + ], |
| 29 | + }, |
| 30 | + { |
| 31 | + heading: "3. Cookies and Tracking", |
| 32 | + content: "HTMLPlayer does not use cookies or trackers for analytics or advertising.", |
| 33 | + }, |
| 34 | + { |
| 35 | + heading: "4. Third-Party Services", |
| 36 | + content: `Discord integration is managed via OAuth; your authorization is handled by |
| 37 | +Discord directly. HTMLPlayer does not store Discord credentials or share |
| 38 | +data outside the Discord API.`, |
| 39 | + }, |
| 40 | + { |
| 41 | + heading: "5. Security", |
| 42 | + content: `All client-side operations run in your browser; no server-side storage of |
| 43 | +music or personal data occurs. We take no responsibility for security |
| 44 | +vulnerabilities in your browser or Discord.`, |
| 45 | + }, |
| 46 | + { |
| 47 | + heading: "6. Data Sharing", |
| 48 | + content: "HTMLPlayer does not sell, trade, or share personal information with third parties, except through authorized use of Discord features.", |
| 49 | + }, |
| 50 | + { |
| 51 | + heading: "7. Updates to Privacy Policy", |
| 52 | + content: "We may update this Privacy Policy as HTMLPlayer evolves. Continued use indicates acceptance of the latest policy.", |
| 53 | + }, |
| 54 | + { |
| 55 | + heading: "8. Contact", |
| 56 | + content: "For privacy questions, contact: nellowtcs@gmail.com", |
| 57 | + }, |
| 58 | + ], |
| 59 | + contact: "nellowtcs@gmail.com", |
| 60 | +}; |
| 61 | + |
| 62 | +export const termsOfService: LegalDocument = { |
| 63 | + title: "HTMLPlayer Terms of Service (TOS)", |
| 64 | + effectiveDate: "9/23/2025", |
| 65 | + sections: [ |
| 66 | + { |
| 67 | + heading: "1. Acceptance of Terms", |
| 68 | + content: "By using HTMLPlayer (the \"App\"), you agree to these Terms of Service. If you do not agree, do not use the App.", |
| 69 | + }, |
| 70 | + { |
| 71 | + heading: "2. Use of the App", |
| 72 | + content: [ |
| 73 | + "HTMLPlayer is a free, open-source music player.", |
| 74 | + "All core functionality runs client-side in your browser; we do not collect usage data except when explicitly interacting with external services like Discord.", |
| 75 | + "You may use the App for personal, non-commercial purposes.", |
| 76 | + ], |
| 77 | + }, |
| 78 | + { |
| 79 | + heading: "3. Intellectual Property", |
| 80 | + content: `HTMLPlayer and its source code are licensed under the |
| 81 | +MIT License. You may copy, modify, or redistribute the App according to the MIT License terms.`, |
| 82 | + }, |
| 83 | + { |
| 84 | + heading: "4. Discord Integration", |
| 85 | + content: `The App may optionally integrate with Discord to display music activity. |
| 86 | +Access to Discord features requires you to authorize HTMLPlayer via |
| 87 | +Discord OAuth. HTMLPlayer does not store your Discord credentials.`, |
| 88 | + }, |
| 89 | + { |
| 90 | + heading: "5. Beta Disclaimer", |
| 91 | + content: "HTMLPlayer is currently in beta. Features may be unstable or incomplete. Use at your own risk.", |
| 92 | + }, |
| 93 | + { |
| 94 | + heading: "6. No Warranty", |
| 95 | + content: `The App is provided "as-is" without warranty of any kind, either express |
| 96 | +or implied. The developers are not liable for any damages arising from the |
| 97 | +use or inability to use HTMLPlayer.`, |
| 98 | + }, |
| 99 | + { |
| 100 | + heading: "7. Limitation of Liability", |
| 101 | + content: "You use HTMLPlayer entirely at your own risk. Developers are not responsible for any loss, data corruption, or other issues resulting from your use of the App.", |
| 102 | + }, |
| 103 | + { |
| 104 | + heading: "8. Modifications to Terms", |
| 105 | + content: "We may update these Terms at any time. Continued use constitutes acceptance of the updated Terms.", |
| 106 | + }, |
| 107 | + { |
| 108 | + heading: "9. Contact", |
| 109 | + content: "For questions about these Terms, contact: nellowtcs@gmail.com", |
| 110 | + }, |
| 111 | + ], |
| 112 | + contact: "nellowtcs@gmail.com", |
| 113 | +}; |
0 commit comments