diff --git a/pages/[...slug].tsx b/pages/[...slug].tsx index 2c577e48..ae80cffb 100644 --- a/pages/[...slug].tsx +++ b/pages/[...slug].tsx @@ -40,6 +40,9 @@ const Index: NextPage = props => ( {props.content} diff --git a/pages/_app.tsx b/pages/_app.tsx index d1f613e5..b44f2e92 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,5 +1,6 @@ import 'src/style.css' import 'src/style/content.css' +import 'src/style/article.css' import 'src/style/marker/marker-table.css' import 'src/style/kazimir/image.css' import 'src/style/kazimir/video.css' diff --git a/src/components/Page/index.tsx b/src/components/Page/index.tsx index 09176002..196978be 100644 --- a/src/components/Page/index.tsx +++ b/src/components/Page/index.tsx @@ -3,14 +3,15 @@ import { Html } from '../Html' import { PageMeta } from '../PageMeta' import { ITag } from 'src/types' -export interface IPageProps { +export type PageProps = { + style?: React.CSSProperties children: string date: Date tags: ITag[] } -export const Page: React.FC = props => ( -
+export const Page: React.FC = props => ( +