mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 12:42:28 +02:00
Upgrade to Gatsby v2
This commit is contained in:
11
src/components/Post/Meta/Meta.js
Normal file
11
src/components/Post/Meta/Meta.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
import moment from 'moment';
|
||||
import styles from './Meta.module.scss';
|
||||
|
||||
const Meta = ({ date }) => (
|
||||
<div className={styles['meta']}>
|
||||
<p className={styles['meta__date']}>Published {moment(date).format('D MMM YYYY')}</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Meta;
|
Reference in New Issue
Block a user