From d7fa63d296f0393c4d94d82fb3286f3a3e58e28b Mon Sep 17 00:00:00 2001 From: Karthik Venkateswaran Date: Tue, 4 Sep 2018 19:54:00 +0530 Subject: [PATCH] Adds support dropdown, heart icon, import/export/reload metadata. Fixes #292 #293 #8 --- console/src/components/Main/Main.js | 146 +++++++++++++------------- console/src/components/Main/Main.scss | 6 +- console/src/components/Main/mail.svg | 35 ++++++ 3 files changed, 112 insertions(+), 75 deletions(-) create mode 100644 console/src/components/Main/mail.svg diff --git a/console/src/components/Main/Main.js b/console/src/components/Main/Main.js index ca3462b26e581..5e1e9cd1b9e83 100644 --- a/console/src/components/Main/Main.js +++ b/console/src/components/Main/Main.js @@ -82,6 +82,7 @@ class Main extends React.Component { const logo = require('./logo.svg'); const github = require('./Github.svg'); const discord = require('./Discord.svg'); + const mail = require('./mail.svg'); const pixHeart = require('./pix-heart.svg'); const closeIcon = require('./cancel-icon.svg'); const githubicon = require('./githubicon.png'); @@ -222,12 +223,12 @@ class Main extends React.Component { target="_blank" rel="noopener noreferrer" > - Report bugs & suggest improvements {'github'} + Report bugs & suggest improvements
  • @@ -236,21 +237,22 @@ class Main extends React.Component { target="_blank" rel="noopener noreferrer" > - Ask for help & discuss ideas {'discord'} + Ask for help & discuss ideas
  • - Reach out to us directly{' '} - - support@hasura.io + + {'mail'} + Reach out ({'support@hasura.io'})
  • @@ -258,29 +260,29 @@ class Main extends React.Component { {!this.state.loveConsentState.isDismissed ? [ - , -