From 04a05206ff197fef47a985a24dfde7ae9c405520 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 28 Dec 2017 15:07:01 +0200 Subject: Remake a lot of stuff --- src/components/post/index.js | 2 ++ src/components/post/post.scss | 9 +++++++++ src/components/post/post.tag | 12 ++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 src/components/post/index.js create mode 100644 src/components/post/post.scss create mode 100644 src/components/post/post.tag (limited to 'src/components/post') diff --git a/src/components/post/index.js b/src/components/post/index.js new file mode 100644 index 0000000..a3fac5e --- /dev/null +++ b/src/components/post/index.js @@ -0,0 +1,2 @@ +import post from './post.tag'; +export default post; \ No newline at end of file diff --git a/src/components/post/post.scss b/src/components/post/post.scss new file mode 100644 index 0000000..8732257 --- /dev/null +++ b/src/components/post/post.scss @@ -0,0 +1,9 @@ +.post { + margin: 1rem 0 1rem; + padding: 1rem; + border-style: solid; +} + +.post:hover { + background-color: rgb(158, 222, 238); +} \ No newline at end of file diff --git a/src/components/post/post.tag b/src/components/post/post.tag new file mode 100644 index 0000000..ca6040e --- /dev/null +++ b/src/components/post/post.tag @@ -0,0 +1,12 @@ + +
+

{ opts.title }

+ Author: { opts.author } +
+ + +
-- cgit v1.3