'use client' import { Badge } from '@thedaviddias/design-system/badge' import { Button } from '@thedaviddias/design-system/button' import { Github, Shield } from 'lucide-react' import { Card } from '@/components/ui/card' import { analytics } from '@/lib/analytics' interface SecuritySectionProps { hasGitHubAuth: boolean } /** * Renders the security and authentication settings section */ export function SecuritySection({ hasGitHubAuth }: SecuritySectionProps) { return (

Security & Authentication

Authentication Method
{hasGitHubAuth ? 'Secure GitHub OAuth' : 'Email-based authentication'}
{hasGitHubAuth ? 'OAuth' : 'Email'}
{!hasGitHubAuth && (

Enhance Your Security

Connect your GitHub account for improved security and additional features.

)}
) }