diff --git a/components/Content.jsx b/components/Content.jsx index d719c59..d88f534 100644 --- a/components/Content.jsx +++ b/components/Content.jsx @@ -1,9 +1,10 @@ -const Content = ({ className, children }) => ( -
+import classNames from 'classnames'; + +const Content = ({ className, visible, children }) => ( +
{children}
); diff --git a/components/Nav.jsx b/components/Nav.jsx index 1350dfc..cc89164 100644 --- a/components/Nav.jsx +++ b/components/Nav.jsx @@ -1,13 +1,26 @@ -import { useState } from "react"; +import { useEffect, useState } from "react"; + +import { Plugins } from '@capacitor/core'; const Nav = ({ page }) => { const [showMenu, setShowMenu] = useState(false); const [showMobileMenu, setShowMobileMenu] = useState(false); + useEffect(() => { + Plugins.StatusBar.setStyle({ + style: 'DARK' + }); + }, []); + return ( -