feat: added title at docs

This commit is contained in:
Junseo Park 2021-02-23 12:36:28 +09:00
parent 62f3a8d1b0
commit cc0485e8a9

View File

@ -5,7 +5,7 @@ import SEO from './SEO'
const Docs = ({ title, header, description, subheader, children }: DocsProps): JSX.Element => {
return (
<>
<SEO title={typeof header === 'string' ? header : title || '디스코드봇을 한 곳에서.'} description={description || subheader} />
<SEO title={typeof header === 'string' ? header : title} description={description || subheader} />
<div className='dark:bg-discord-black bg-discord-blurple'>
<Container className='pb-10 pt-20' ignoreColor>
<h1 className='mt-10 text-center text-gray-100 text-4xl font-bold sm:text-left'>