From cdc8689732ff7dcf99ba367281747c54925485d8 Mon Sep 17 00:00:00 2001 From: Nicholas Zuber Date: Sun, 11 Nov 2018 15:46:11 -0500 Subject: [PATCH] Steez'd up the home page --- src/pages/Home/Scene.js | 70 +++++++++++++++++++++++++++++++++++++++-- src/styles/gradient.css | 20 ++++++++++++ 2 files changed, 87 insertions(+), 3 deletions(-) diff --git a/src/pages/Home/Scene.js b/src/pages/Home/Scene.js index f9edbe5..ae337d6 100644 --- a/src/pages/Home/Scene.js +++ b/src/pages/Home/Scene.js @@ -331,12 +331,23 @@ function createImagePlaceholder (highlight) { ); } +const Arrow = ({style}) => { + return ( + + + + + + + ); +} + const NotificationsRowExample = styled('div')({ position: 'relative', height: 59, width: 745, borderRadius: 8, - margin: '58px auto 24px', + margin: '158px auto 124px', background: `url(${rowExample}) center center no-repeat`, backgroundSize: 'cover', backgroundColor: '#fff', @@ -721,7 +732,56 @@ export default function Scene ({loggedIn, onLogout, ...props}) { - + +
+ + Calculated score based on this issue's importance to you +
+
+ + The reason you just got this notification +
+
sign in and try it out
@@ -753,6 +813,10 @@ export default function Scene ({loggedIn, onLogout, ...props}) {
Home page inspiration from + + Robin + + and Kap @@ -768,8 +832,8 @@ export default function Scene ({loggedIn, onLogout, ...props}) {
Source code - Bug reports Submit feedback + Bug reports v{version} diff --git a/src/styles/gradient.css b/src/styles/gradient.css index cdc3fe6..6c2837c 100644 --- a/src/styles/gradient.css +++ b/src/styles/gradient.css @@ -109,6 +109,26 @@ background: rgba(190, 197, 208, 0.5) } +.hover { + display: block; + animation: hover 5s ease-in-out infinite; +} + +@-webkit-keyframes hover { + 0% {transform: translateY(3px)} + 50% {transform: translateY(-3px)} + 100% {transform: translateY(3px)} +} +@-moz-keyframes hover { + 0% {transform: translateY(3px)} + 50% {transform: translateY(-3px)} + 100% {transform: translateY(3px)} +} +@keyframes hover { + 0% {transform: translateY(3px)} + 50% {transform: translateY(-3px)} + 100% {transform: translateY(3px)} +} @-webkit-keyframes gradientTransition { 0% {background-position: 0% 50%}