appLayout.setMainPanelOpen(false)}
- className="w-12 cursor-pointer transition-[filter] colorize-black dark:colorize-dark-black hover:colorize-dark dark:hover:colorize-dark-dark"
+ className={`${
+ appLayout.mainPanelReduced && isDesktop ? "w-12" : "w-1/2"
+ } cursor-pointer transition-[filter] colorize-black dark:colorize-dark-black hover:colorize-dark dark:hover:colorize-dark-dark`}
>
-
- {router.locale ? (
-
appLayout.setLanguagePanelOpen(true)}>
-
-
- ) : (
+
+ {appLayout.mainPanelReduced && isDesktop ? (
""
- )}
-