gallery page updated
This commit is contained in:
1 parent
237a67de01
commit
2378b4476e
3 files changed
+45
-19
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import * as React from 'react'
|
||||
import { dateFormat } from '../../lib/date'
|
||||
|
||||
export interface IPageHeaderProps {
|
||||
tags?: string[]
|
||||
date?: Date
|
||||
title: string
|
||||
}
|
||||
|
||||
export const PageHeader: React.FC<IPageHeaderProps> = props => (
|
||||
<header className="Article-Head">
|
||||
<h1>{props.title}</h1>
|
||||
|
||||
{!props.date ? null : (
|
||||
<p className="date">{dateFormat(props.date)}</p>
|
||||
)}
|
||||
|
||||
{/* {!(tags.length) ? null : (
|
||||
<TagList tags={tags} />
|
||||
)} */}
|
||||
</header>
|
||||
)
|
||||
Reference in new issue
Block a user