-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wiring up new homepage to new dashboard #281
Changes from all commits
e0daf87
b96c624
c7c43f1
edae52c
60d5d9b
192aa3b
d65d363
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import styled from 'styled-components' | ||
import React, { PureComponent } from 'react' | ||
import { Link } from 'react-router-dom' | ||
import Layout from '../interface/Layout' | ||
import { Section, Headline, SubTitle, CallToAction, ThreeColumns, Column } from './Components' | ||
import { ActionButton } from '../creator/CreatorLocks' | ||
|
@@ -13,10 +14,12 @@ export default class Home extends PureComponent { | |
Unlock is a protocol which enables creators to monetize their content with a few lines of code in a fully decentralized way. | ||
</Headline> | ||
|
||
<Action> | ||
<HomepageButton>Go to Your Dashboard</HomepageButton> | ||
<ButtonLabel>Requires a browser with an Ethereum wallet</ButtonLabel> | ||
</Action> | ||
<Link to={'/dashboard'}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You'll know what I say about nesting components!... but I guess you tried without? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did, yeah. I have some feature requests for the next version of styled-components. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lol. happy to hear them! |
||
<Action> | ||
<HomepageButton>Go to Your Dashboard</HomepageButton> | ||
<ButtonLabel>Requires a browser with an Ethereum wallet</ButtonLabel> | ||
</Action> | ||
</Link> | ||
|
||
<ThreeColumns> | ||
<Column> | ||
|
@@ -82,6 +85,7 @@ const ButtonLabel = styled.small` | |
font-size: 12px; | ||
font-weight: 200; | ||
font-family: 'IBM Plex Mono', 'Courier New', Serif; | ||
color: var(--darkgrey); | ||
` | ||
|
||
const Paragraph = styled.p` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably eventually handle that at a higher level.. But that'll do for now!