fix: add logout button in mobile dropdown and name in desktop

This commit is contained in:
Christel Westerberg
2024-06-12 16:51:06 +02:00
parent 8e176d3a06
commit 386b107bd8
8 changed files with 95 additions and 30 deletions

View File

@@ -19,11 +19,7 @@ export default function Mobile({
const urlKeys = Object.keys(urls)
if (urlKeys.length === 1 && urlKeys[0] === currentLanguage) {
return (
<div className={styles.languageSwitcher}>
{languages[currentLanguage]}
</div>
)
return <div className={styles.toggle}>{languages[currentLanguage]}</div>
}
return (

View File

@@ -67,8 +67,8 @@
text-decoration: none;
}
@media (min-width: 950px) {
@media (min-width: 1366px) {
.mobile {
display: none;
}
}
}