diff --git a/.gitignore b/.gitignore index 5d0371c..257de32 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ # next.js /.next/ +/_next/ /out/ !public/ diff --git a/_next b/_next new file mode 120000 index 0000000..d0d878e --- /dev/null +++ b/_next @@ -0,0 +1 @@ +.next \ No newline at end of file diff --git a/components/HomeHeroBubble.tsx b/components/HomeHeroBubble.tsx index 74d3ee0..456115f 100644 --- a/components/HomeHeroBubble.tsx +++ b/components/HomeHeroBubble.tsx @@ -1,9 +1,12 @@ import classNames from 'classnames'; import { useContext } from 'react'; +import { useDispatch } from 'react-redux'; import { ScreenContext } from '../contexts/screen'; +import { expandSideMenu } from '../state/navigation'; export function HomeHeroBubble() { const { isMobile, isTablet, isHuge } = useContext(ScreenContext); + const dispatch = useDispatch(); return (
dispatch(expandSideMenu())} className="absolute bottom-0 z-40 px-10 duration-300" >
diff --git a/components/layout/index.tsx b/components/layout/index.tsx index 8120b0f..e3b58ca 100644 --- a/components/layout/index.tsx +++ b/components/layout/index.tsx @@ -30,7 +30,7 @@ export default function Layout({ children }: Props) { return (
diff --git a/components/navigation/DesktopHeader.tsx b/components/navigation/DesktopHeader.tsx index 7d6b91b..b5abec2 100644 --- a/components/navigation/DesktopHeader.tsx +++ b/components/navigation/DesktopHeader.tsx @@ -20,7 +20,7 @@ export function DesktopHeader() { zIndex: UI.Z_INDEX_HEADER, }} className={classNames( - 'w-full overflow-hidden bg-alt flex items-center border-b border-primary', + 'w-full overflow-hidden bg-alt text-primary flex items-center border-b border-primary', )} >
@@ -42,6 +42,7 @@ export function DesktopHeader() { {NAVIGATION.MENU_ITEMS.filter(item => !item.mobileMenuOnly).map( item => { const link = ( + // eslint-disable-next-line react/jsx-no-target-blank diff --git a/components/navigation/SideMenuInner.tsx b/components/navigation/SideMenuInner.tsx index 608ec87..e1b354b 100644 --- a/components/navigation/SideMenuInner.tsx +++ b/components/navigation/SideMenuInner.tsx @@ -55,7 +55,7 @@ export function SideMenuInner() { {!isDesktop && (
@@ -71,7 +71,7 @@ export function SideMenuInner() {
)} -
-
+
{ - createServer(httpsOptions, (req, res) => { - const parsedUrl = parse(req.url, true); - handle(req, res, parsedUrl); - }).listen(3000, err => { - if (err) throw err; - console.log('🐙 Ready on https://localhost:3000'); - }); -});