fix: add logout button in mobile dropdown and name in desktop
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -67,8 +67,8 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media (min-width: 950px) {
|
||||
@media (min-width: 1366px) {
|
||||
.mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user