Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #68 from gnosis/development
Browse files Browse the repository at this point in the history
Feature: Design Welcome route including Header's Provider
  • Loading branch information
apanizo authored Sep 6, 2018
2 parents f355ae1 + 1b1a140 commit d314df9
Show file tree
Hide file tree
Showing 71 changed files with 1,536 additions and 475 deletions.
1 change: 1 addition & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,500" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"ethereumjs-abi": "^0.6.5",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"flow-bin": "^0.66.0",
"flow-bin": "^0.79.1",
"fs-extra": "^5.0.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.0.4",
Expand Down Expand Up @@ -102,8 +102,8 @@
},
"dependencies": {
"@gnosis.pm/util-contracts": "^0.2.14",
"@material-ui/core": "^1.2.1",
"@material-ui/icons": "^1.1.0",
"@material-ui/core": "^3.0.1",
"@material-ui/icons": "^3.0.1",
"final-form": "^4.2.1",
"history": "^4.7.2",
"react-final-form": "^3.1.2",
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,500" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<title>Multisig Safe</title>
</head>
Expand Down
7 changes: 4 additions & 3 deletions src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
import React from 'react'
import Block from '~/components/layout/Block'
import Link from '~/components/layout/Link'
import Paragraph from '~/components/layout/Paragraph'
import { WELCOME_ADDRESS, SAFELIST_ADDRESS } from '~/routes/routes'
import styles from './index.scss'

const Footer = () => (
<Block className={styles.footer}>
<Link padding="md" to={WELCOME_ADDRESS}>
Welcome
<Link to={WELCOME_ADDRESS}>
<Paragraph size="sm" color="primary" noMargin>Welcome</Paragraph>
</Link>
<Link to={SAFELIST_ADDRESS}>
Safe List
<Paragraph size="sm" color="primary" noMargin>Safe List</Paragraph>
</Link>
</Block>
)
Expand Down
9 changes: 7 additions & 2 deletions src/components/Footer/index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
.footer {
font-size: $smallFontSize;
display: grid;
grid-template-columns: 1fr auto auto;
justify-items: end;
grid-template-columns: 100px 100px 1fr;
grid-template-rows: 36px;
justify-items: center;
align-items: center;
border: solid 0.5px $border;
background-color: white;
}

@media only screen and (max-width: $(screenXs)px) {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer/index.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ const FrameDecorator = story => (
</div>
)

storiesOf('Components', module)
storiesOf('Components /Footer', module)
.addDecorator(FrameDecorator)
.add('Footer', () => <Component />)
.add('Loaded', () => <Component />)
8 changes: 7 additions & 1 deletion src/components/Header/actions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
// @flow
import { fetchProvider } from '~/logic/wallets/store/actions'
import { fetchProvider, removeProvider } from '~/logic/wallets/store/actions'

export type Actions = {
fetchProvider: typeof fetchProvider,
removeProvider: typeof removeProvider,
}

export default {
fetchProvider,
removeProvider,
}
15 changes: 15 additions & 0 deletions src/components/Header/assets/connect-wallet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/components/Header/assets/connected-error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/components/Header/assets/connected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/components/Header/assets/dotRinkeby.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/components/Header/assets/gnosis-safe-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 0 additions & 49 deletions src/components/Header/assets/gnosis_logo.svg

This file was deleted.

20 changes: 0 additions & 20 deletions src/components/Header/assets/icon_metamask.svg

This file was deleted.

Loading

0 comments on commit d314df9

Please sign in to comment.