diff --git a/pages/_error.tsx b/pages/_error.tsx index c541d7ca..f722d751 100644 --- a/pages/_error.tsx +++ b/pages/_error.tsx @@ -1,16 +1,19 @@ import { NextPage } from 'next' import { Wrapper } from 'src/components/Wrapper' import { NotFound } from 'src/components/NotFound' +import { Copyright } from 'src/components/Copyright' +import { Block } from 'src/components/Block' +import { Spacer } from 'src/components/Spacer' const Page: NextPage = () => ( -
- © 2012—2019 Шлиссельбургская детская художественная школа -
- + + + + + )} > diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index ba10f674..cac1472e 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -1,10 +1,13 @@ import dynamic from 'next/dynamic' import cx from 'classnames' -import { Footer } from '../Footer' import Comments from '../Comments' import { useReducedMotion } from 'src/hooks/useReducedMotion' import { Wrapper } from '../Wrapper' import { Header } from './Header' +import { ConfigContext } from 'src/context/ConfigContext' +import config from 'src/config' +import { Footer } from '../Footer' + const Navigation = dynamic(() => import('../Navigation').then(mod => mod.Navigation), { ssr: false, }) @@ -20,31 +23,30 @@ export const App: React.FC = props => { const motionDisabled = useReducedMotion() return ( - - + + + + )} + footer={( +