File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 SelectTrigger ,
1010 SelectValue ,
1111} from "@/components/ui/select" ;
12- import { Globe } from "lucide-react" ;
12+ import { Languages } from "lucide-react" ;
1313import { locales , localeNames , type Locale } from "@/i18n/config" ;
1414
1515interface LanguageSwitcherProps {
@@ -37,9 +37,10 @@ export default function LanguageSwitcher({
3737
3838 return (
3939 < div className = "flex items-center gap-2" >
40+ < Languages className = "h-5 w-5 text-gray-600" />
4041 < Select value = { currentLocale } onValueChange = { handleLanguageChange } >
41- < SelectTrigger className = "w-32 " >
42- < SelectValue / >
42+ < SelectTrigger className = "w-40 h-10 text-base flex items-center gap-2 " >
43+ < SelectValue > { localeNames [ currentLocale ] } </ SelectValue >
4344 </ SelectTrigger >
4445 < SelectContent >
4546 { locales . map ( ( locale ) => (
You can’t perform that action at this time.
0 commit comments