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 PageNavbar = ({ mobile }: { mobile: number }) => {
|
||||||
const path = usePathname();
|
const path = usePathname();
|
||||||
const [sideBarActive, setSideBarActive] = useState(true); //DEBUG: set to false
|
const [sideBarActive, setSideBarActive] = useState(false);
|
||||||
|
|
||||||
function handleSidebar(event: any) {
|
function handleSidebar(event: any) {
|
||||||
if (!event.currentTarget.contains(event.relatedTarget)) {
|
if (!event.currentTarget.contains(event.relatedTarget)) {
|
||||||
|
|
|
@ -4,7 +4,6 @@ import styled, { css, DefaultTheme } from 'styled-components';
|
||||||
import { Service, Game } from '../../interfaces/CardTypes';
|
import { Service, Game } from '../../interfaces/CardTypes';
|
||||||
|
|
||||||
// needed for Online Status checks
|
// needed for Online Status checks
|
||||||
// TODO: migrate to shared Status type for Games and Services
|
|
||||||
interface OnlinePropType {
|
interface OnlinePropType {
|
||||||
status: string;
|
status: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,6 +57,7 @@ export const ThemeDropDownOptions = styled.div<DisplayPropType>`
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
background-color: ${({ theme }) => theme.colors.background };
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
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);
|
const [buttonFocus, setButtonFocus] = useState(visible);
|
||||||
|
|
||||||
function handleBlur(event:any) {
|
function handleBlur(event:any) {
|
||||||
|
|
Loading…
Reference in a new issue