feat: add terms, privacy pages, email notification preferences, and sign-in consent (#107)

- /terms — Terms of Service for editor + pascal.app platform
- /privacy — Privacy Policy (data collection, third parties, user rights)
- Email notification toggle in Settings (new column + migration)
- Sign-in consent text linking to terms/privacy
- Effective date: February 20, 2026

Co-authored-by: Anton Pascal <anton-pascal@users.noreply.github.com>
This commit is contained in:
Anton
2026-02-20 04:02:08 +00:00
committed by GitHub
co-authored by Anton Pascal
parent f4f9f8a220
commit 2dcb80554c
8 changed files with 464 additions and 2 deletions
+2
View File
@@ -19,6 +19,8 @@ export const users = pgTable(
githubUrl: t.text('github_url'),
/** X/Twitter profile URL */
xUrl: t.text('x_url'),
/** Whether the user wants to receive email notifications about new features and updates */
emailNotifications: t.boolean('email_notifications').notNull().default(true),
role: userRoles('role').notNull().default('user'),
banned: t.boolean('banned').notNull().default(false),
banReason: t.text('ban_reason'),