diff --git a/pages/schedule.tsx b/pages/schedule.tsx index ed2700ce..ce371cc8 100644 --- a/pages/schedule.tsx +++ b/pages/schedule.tsx @@ -24,8 +24,6 @@ const Page: NextPage = props => ( {props.title} - {/**/} - diff --git a/src/components/App/Header.tsx b/src/components/App/Header.tsx index 3dc82dc7..db9ce493 100644 --- a/src/components/App/Header.tsx +++ b/src/components/App/Header.tsx @@ -1,8 +1,22 @@ -import * as React from 'react' -import { Navigation } from '../Navigation' +export const Header: React.FC = props => ( +
+ + +
+
+ {props.children} +
+
+
) - -export default Header diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 3bcf5c8b..ba10f674 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -4,8 +4,8 @@ import { Footer } from '../Footer' import Comments from '../Comments' import { useReducedMotion } from 'src/hooks/useReducedMotion' import { Wrapper } from '../Wrapper' - -const Header = dynamic(() => import('./Header'), { +import { Header } from './Header' +const Navigation = dynamic(() => import('../Navigation').then(mod => mod.Navigation), { ssr: false, }) @@ -22,15 +22,11 @@ export const App: React.FC = props => { return ( -
-
-
-
-
- +
+ +
)} footer={(