feat: remove language switcher component rendering to default solely to pt-BR

This commit is contained in:
2026-07-10 15:12:54 +00:00
parent 4e377ad5b7
commit 6249936ffa
-3
View File
@@ -19,7 +19,6 @@ import { cn } from '@/lib/utils';
import { Button } from '@/components/ui/button'; import { Button } from '@/components/ui/button';
import { ThemeProvider } from '@/lib/theme'; import { ThemeProvider } from '@/lib/theme';
import { useI18n } from './store/i18nStore'; import { useI18n } from './store/i18nStore';
import LanguageSwitcher from './components/LanguageSwitcher';
import { GlobalWindSettingsModal } from './components/GlobalWindSettingsModal'; import { GlobalWindSettingsModal } from './components/GlobalWindSettingsModal';
// Ícones Customizados de Engenharia Premium // Ícones Customizados de Engenharia Premium
@@ -129,7 +128,6 @@ function AppLayout({ children }: { children: React.ReactNode }) {
</nav> </nav>
<div className="border-t p-2 flex flex-col gap-2 items-center justify-center"> <div className="border-t p-2 flex flex-col gap-2 items-center justify-center">
<GlobalWindSettingsModal /> <GlobalWindSettingsModal />
<LanguageSwitcher />
</div> </div>
</aside> </aside>
@@ -138,7 +136,6 @@ function AppLayout({ children }: { children: React.ReactNode }) {
<span className="font-bold text-primary tracking-tight">{t('app_title')}</span> <span className="font-bold text-primary tracking-tight">{t('app_title')}</span>
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<GlobalWindSettingsModal /> <GlobalWindSettingsModal />
<LanguageSwitcher />
</div> </div>
</header> </header>
<div className="flex-1 overflow-auto">{children}</div> <div className="flex-1 overflow-auto">{children}</div>