From db5cde7ff6ca71c8d76878cc8b6d2d830c0beb0c Mon Sep 17 00:00:00 2001 From: g-but <41178744+g-but@users.noreply.github.com> Date: Wed, 28 Jan 2026 15:58:49 +0100 Subject: [PATCH] chore: remove empty/orphaned files - Remove empty stub files (mdx-provider.tsx, events.ts, route.d.ts) - Remove orphaned components/auth/ folder (EmailVerificationBanner never imported) Co-Authored-By: Claude Opus 4.5 --- app/blog/mdx-provider.tsx | 0 app/bots/swiss-german-teacher/data/events.ts | 0 app/types/route.d.ts | 0 components/auth/EmailVerificationBanner.tsx | 53 -------------------- components/auth/index.ts | 1 - 5 files changed, 54 deletions(-) delete mode 100644 app/blog/mdx-provider.tsx delete mode 100644 app/bots/swiss-german-teacher/data/events.ts delete mode 100644 app/types/route.d.ts delete mode 100644 components/auth/EmailVerificationBanner.tsx delete mode 100644 components/auth/index.ts diff --git a/app/blog/mdx-provider.tsx b/app/blog/mdx-provider.tsx deleted file mode 100644 index e69de29..0000000 diff --git a/app/bots/swiss-german-teacher/data/events.ts b/app/bots/swiss-german-teacher/data/events.ts deleted file mode 100644 index e69de29..0000000 diff --git a/app/types/route.d.ts b/app/types/route.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/components/auth/EmailVerificationBanner.tsx b/components/auth/EmailVerificationBanner.tsx deleted file mode 100644 index d087f48..0000000 --- a/components/auth/EmailVerificationBanner.tsx +++ /dev/null @@ -1,53 +0,0 @@ -'use client'; - -import Link from 'next/link'; -import { useAuth } from '@/lib/auth'; -import { ROUTES } from '@/lib/routes'; - -/** - * Email Verification Banner - * - * Shows a banner prompting unverified users to verify their email. - * Only renders if user is logged in but email is not verified. - */ -export function EmailVerificationBanner() { - const { user, loading, isEmailVerified } = useAuth(); - - // Don't show if loading, not logged in, or already verified - if (loading || !user || isEmailVerified) { - return null; - } - - return ( -
-
-
-
- - - - - Please verify your email address to access all features. - -
- - Verify now - -
-
-
- ); -} diff --git a/components/auth/index.ts b/components/auth/index.ts deleted file mode 100644 index cd6de15..0000000 --- a/components/auth/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { EmailVerificationBanner } from './EmailVerificationBanner';