Merge branch 'hotfix/themeselector' into 'main'
Hotifx See merge request neshura-websites/www!12
This commit is contained in:
commit
f14adfe31f
4 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ import { NavMenuFooter } from './footer';
|
|||
|
||||
const PageNavbar = ({ mobile }: { mobile: number }) => {
|
||||
const path = usePathname();
|
||||
const [sideBarActive, setSideBarActive] = useState(true); //DEBUG: set to false
|
||||
const [sideBarActive, setSideBarActive] = useState(false);
|
||||
|
||||
function handleSidebar(event: any) {
|
||||
if (!event.currentTarget.contains(event.relatedTarget)) {
|
||||
|
|
|
@ -4,7 +4,6 @@ import styled, { css, DefaultTheme } from 'styled-components';
|
|||
import { Service, Game } from '../../interfaces/CardTypes';
|
||||
|
||||
// needed for Online Status checks
|
||||
// TODO: migrate to shared Status type for Games and Services
|
||||
interface OnlinePropType {
|
||||
status: string;
|
||||
}
|
||||
|
|
|
@ -57,6 +57,7 @@ export const ThemeDropDownOptions = styled.div<DisplayPropType>`
|
|||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
background-color: ${({ theme }) => theme.colors.background };
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -35,7 +35,7 @@ export const StyleSelector = ({ mobile }: { mobile: number }) => {
|
|||
}
|
||||
}
|
||||
|
||||
const [visible, setVisible] = useState(true); //DEBUG set to false
|
||||
const [visible, setVisible] = useState(false);
|
||||
const [buttonFocus, setButtonFocus] = useState(visible);
|
||||
|
||||
function handleBlur(event:any) {
|
||||
|
|
Loading…
Reference in a new issue