diff --git a/components/layout/layout.tsx b/components/layout/layout.tsx index e8b3621..ceded4d 100644 --- a/components/layout/layout.tsx +++ b/components/layout/layout.tsx @@ -1,16 +1,64 @@ -import React from 'react'; +import React, { useEffect, useState } from 'react'; +import { useRouter } from 'next/router'; +import { useSelector } from 'react-redux'; import Navbar from './navbar'; import Footer from './footer'; +import Login from '../login-page/login'; + const Layout: React.FunctionComponent = ({ children }) => { - return ( - - -
{children}
-