initial article update: scss to css; minor refactoring

This commit is contained in:
tmshv committed 2020-03-04 15:25:13 +03:00
1 parent 21798f6821
commit fa8b77252d
7 files changed
+94 -92

No files matched your search

+4 -3
View File
@@ -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<IPageProps> = props => (
<div className={'Article'}>
export const Page: React.FC<PageProps> = props => (
<div className={'Article'} style={props.style}>
<style jsx>{`
hr {
border: 1px solid black;