App component update; support reduced-motion

This commit is contained in:
tmshv committed 2019-10-17 14:33:28 +03:00
1 parent 96c1330d9b
commit 228e7824de
3 files changed
+53 -31

No files matched your search

+7 -7
View File
@@ -1,5 +1,6 @@
import React from 'react'
import Head from 'next/head'
import { App } from '../src/components/App'
import { Page } from '../src/components/Page'
import menuModel from '../src/models/menu'
@@ -13,19 +14,18 @@ const Index = (props) => (
menu={buildMenu(props.pageUrl, menuModel)}
showAuthor={true}
menuPadding={true}
layout={'thin'}
>
<Head>
<title>{props.title}</title>
<Meta meta={props.meta} />
</Head>
<div className={'content content_thin'}>
<Page
showSocialShare={true}
>
{props.content}
</Page>
</div>
<Page
showSocialShare={true}
>
{props.content}
</Page>
</App>
)