forked from GivFNZ/my-website
fix: get correct language on selector through i18n and add music section on sidebar
This commit is contained in:
parent
e5870cc115
commit
aa9873657d
@ -2,7 +2,7 @@ export default function Footer() {
|
||||
return (
|
||||
<footer>
|
||||
<p>© 2025 GivFNZ</p>
|
||||
<p>Version: 1.2.1</p>
|
||||
<p>Version: 1.2.3</p>
|
||||
</footer>
|
||||
)
|
||||
}
|
@ -26,7 +26,7 @@ export default function Header() {
|
||||
<NavLink href="#about">{t("about")}</NavLink>
|
||||
<NavLink href="#contact">{t("contact")}</NavLink>
|
||||
<NavLink href="#projects">{t("projects")}</NavLink>
|
||||
<LanguageSelector onChange={changeLanguage}>
|
||||
<LanguageSelector onChange={changeLanguage} defaultValue={i18n.language.toLowerCase()}>
|
||||
<option value="en-us">
|
||||
English
|
||||
</option>
|
||||
@ -42,6 +42,7 @@ export default function Header() {
|
||||
<DrawerItem href="#about">{t("about")}</DrawerItem>
|
||||
<DrawerItem href="#contact">{t("contact")}</DrawerItem>
|
||||
<DrawerItem href="#projects">{t("projects")}</DrawerItem>
|
||||
<DrawerItem href="#music">{t("music")}</DrawerItem>
|
||||
</DrawerContainer>
|
||||
}
|
||||
</HashRouter>
|
||||
|
@ -10,5 +10,6 @@
|
||||
"send": "Send",
|
||||
"myLast": "My Last.FM Status",
|
||||
"myLastDescription": "Take a look on my last played song:",
|
||||
"lastLink": "Check this song page on Last.FM"
|
||||
"lastLink": "Check this song page on Last.FM",
|
||||
"music": "Music"
|
||||
}
|
@ -10,5 +10,6 @@
|
||||
"send": "Enviar",
|
||||
"myLast": "Meu status do Last.FM",
|
||||
"myLastDescription": "Dê uma olhada na música que eu estava ouvindo:",
|
||||
"lastLink": "Clique aqui para ver a música no Last.FM"
|
||||
"lastLink": "Clique aqui para ver a música no Last.FM",
|
||||
"music": "Música"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user