fix: use grid/cell components
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Typography } from "@nous-research/ui/ui/components/typography/index";
|
||||
import { useI18n } from "@/i18n/context";
|
||||
|
||||
/**
|
||||
@@ -19,9 +20,12 @@ export function LanguageSwitcher() {
|
||||
>
|
||||
{/* Show the *current* language's flag — tooltip advertises the click action */}
|
||||
<span className="text-base leading-none">{locale === "en" ? "🇬🇧" : "🇨🇳"}</span>
|
||||
<span className="hidden sm:inline font-mondwest tracking-wide uppercase text-[0.65rem]">
|
||||
<Typography
|
||||
mondwest
|
||||
className="hidden sm:inline tracking-wide uppercase text-[0.65rem]"
|
||||
>
|
||||
{locale === "en" ? "EN" : "中文"}
|
||||
</span>
|
||||
</Typography>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user