schedule title
This commit is contained in:
1 parent
ecd6efd4fd
commit
a291899f52
1 file changed
+6
@@ -1,5 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
import Head from 'next/head'
|
||||||
import App from '../src/components/App'
|
import App from '../src/components/App'
|
||||||
import Schedule from '../src/components/Schedule'
|
import Schedule from '../src/components/Schedule'
|
||||||
import Share from '../src/components/Share'
|
import Share from '../src/components/Share'
|
||||||
@@ -12,6 +13,10 @@ const Page = (props) => (
|
|||||||
showAuthor={true}
|
showAuthor={true}
|
||||||
menuPadding={true}
|
menuPadding={true}
|
||||||
>
|
>
|
||||||
|
<Head>
|
||||||
|
<title>{props.title}</title>
|
||||||
|
</Head>
|
||||||
|
|
||||||
<div className="content content_wide">
|
<div className="content content_wide">
|
||||||
{/*<ScheduleList schedules={schedules}/>*/}
|
{/*<ScheduleList schedules={schedules}/>*/}
|
||||||
|
|
||||||
@@ -33,6 +38,7 @@ Page.getInitialProps = async (ctx) => {
|
|||||||
return {
|
return {
|
||||||
schedule,
|
schedule,
|
||||||
pageUrl,
|
pageUrl,
|
||||||
|
title: 'Расписание',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user