From cb20d09904766f507d1b1bc66dd29cdf501cbf46 Mon Sep 17 00:00:00 2001 From: Leonardo Kewitz Date: Wed, 13 Dec 2017 10:44:07 -0200 Subject: [PATCH] feat: Upgrade logo --- README.md | 5 +- app/components/Footer.jsx | 5 +- app/components/Logo.jsx | 44 ++++++++-- app/style/style.css | 10 ++- logo.svg | 167 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 218 insertions(+), 13 deletions(-) create mode 100644 logo.svg diff --git a/README.md b/README.md index 7e51a83..f683c4a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -# dat-medium -Markdown blog system for Beaker inspired by Medium. + + +**Dat Medium** is markdown blog system for Beaker inspired by Medium. ## Installing diff --git a/app/components/Footer.jsx b/app/components/Footer.jsx index af2f2e4..007ef7e 100644 --- a/app/components/Footer.jsx +++ b/app/components/Footer.jsx @@ -1,9 +1,8 @@ import { h } from 'hyperapp' import { version } from '../../package.json' +import Logo from 'components/Logo' export default () => diff --git a/app/components/Logo.jsx b/app/components/Logo.jsx index 089c393..ee8e57a 100644 --- a/app/components/Logo.jsx +++ b/app/components/Logo.jsx @@ -1,14 +1,48 @@ import { h } from 'hyperapp' -export default ({ size = '60px' } = {}) => +export default ({ size = '60px', className = '' } = {}) => - + + + + + + + + + diff --git a/app/style/style.css b/app/style/style.css index 0412439..6bfc0e6 100644 --- a/app/style/style.css +++ b/app/style/style.css @@ -62,12 +62,16 @@ main > header svg { } main > footer { - font-size: 0.8em; + align-items: baseline; color: #AAA; - height: 3em; display: flex; - align-items: center; + font-family: monospace; + font-size: 0.9em; + justify-content: flex-end; + margin: 1em; } +main > footer svg { margin-right: 5px; } +main > footer svg path { fill: #AAA; } article { margin-bottom: 6em; } article a:hover { opacity: 0.7; } diff --git a/logo.svg b/logo.svg new file mode 100644 index 0000000..32689f8 --- /dev/null +++ b/logo.svg @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + +