Add language and theme selection to the user settings menu

Integrates dropdown menus for theme (light/dark) and language selection into the header component, persisting choices in localStorage. Updates LoginModal title with SAPIENS logo.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/9tQ591o
This commit is contained in:
kimjaehyeon0101
2025-09-29 22:12:58 +00:00
parent 0cf21ec59d
commit b9b5733c05
3 changed files with 208 additions and 37 deletions

View File

@ -68,7 +68,14 @@ export default function LoginModal({ isOpen, onClose }: LoginModalProps) {
<Dialog open={isOpen} onOpenChange={onClose}>
<DialogContent className="sm:max-w-[425px]" data-testid="login-modal">
<DialogHeader>
<DialogTitle></DialogTitle>
<DialogTitle className="flex items-center gap-2">
<span>Login to</span>
<img
src="/attached_assets/logo_black_1759181850935.png"
alt="SAPIENS"
className="h-4 w-auto"
/>
</DialogTitle>
</DialogHeader>
<form onSubmit={handleLogin} className="space-y-4">
<div className="space-y-2">