home page no wide

This commit is contained in:
tmshv committed 2021-02-17 17:34:48 +03:00
1 parent d11981e2cc
commit b945faded0
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ type Props = {
const Index: NextPage<Props> = props => (
<App
showAuthor={true}
wide={true}
wide={false}
>
<Head>
<title>{props.title}</title>
+1 -2
View File
@@ -21,10 +21,9 @@ export interface IAppProps {
breadcrumbs?: IBreadcumbsPart[]
}
export const App: React.FC<IAppProps> = ({ showAuthor = false, ...props }) => {
export const App: React.FC<IAppProps> = ({ showAuthor = false, wide = false, ...props }) => {
const hideBreadcrumbs = useMobile()
const router = useRouter()
const wide = props.wide ?? false
const blockStyle = {
justifyContent: 'center'
}