One site in five languages. The switcher steps along while a large greeting and the page address change to match.
The import and the props worth knowing about, in one place.
import { Nav39 } from "@/components/beste/piece/nav39";
<Nav39
brand="Lumen"
languages={[
{
"code": "EN",
"flag": "https://flagcdn.com/gb.svg",
"text": "Hello",
"url": "lumenlanguages.com"
},
{
"code": "ES",
"flag": "https://flagcdn.com/es.svg",
"text": "Hola",
"url": "lumenlanguages.com/es"
},
{
"code": "JA",
"flag": "https://flagcdn.com/jp.svg",
"text": "こんにちは",
"url": "lumenlanguages.com/ja"
}
]}
framed={true}
/>