home page no wide
This commit is contained in:
1 parent
d11981e2cc
commit
b945faded0
2 files changed
+2
-3
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ type Props = {
|
||||
const Index: NextPage<Props> = props => (
|
||||
<App
|
||||
showAuthor={true}
|
||||
wide={true}
|
||||
wide={false}
|
||||
>
|
||||
<Head>
|
||||
<title>{props.title}</title>
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user