-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
85 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Icons from '../icons' | ||
import React, { PureComponent } from 'react' | ||
import { LayoutButton } from './Button' | ||
|
||
export default class About extends PureComponent { | ||
render() { | ||
return ( | ||
<LayoutButton href="/about"> | ||
<Icons.About fill={'white'} /> | ||
</LayoutButton> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import styled from 'styled-components' | ||
|
||
export const LayoutButton = styled.a` | ||
background-color: var(--grey); | ||
border-radius: 50%; | ||
height: 24px; | ||
width: 24px; | ||
display: grid; | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Icons from '../icons' | ||
import React, { PureComponent } from 'react' | ||
import { LayoutButton } from './Button' | ||
|
||
export default class Github extends PureComponent { | ||
render() { | ||
return ( | ||
<LayoutButton href="https://github.com/unlock-protocol/unlock"> | ||
<Icons.Github fill={'white'} /> | ||
</LayoutButton> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Icons from '../icons' | ||
import React, { PureComponent } from 'react' | ||
import { LayoutButton } from './Button' | ||
|
||
export default class Jobs extends PureComponent { | ||
render() { | ||
return ( | ||
<LayoutButton href="/jobs"> | ||
<Icons.Jobs fill={'white'} /> | ||
</LayoutButton> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import About from './About' | ||
import Github from './Github' | ||
import Jobs from './Jobs' | ||
|
||
export default { | ||
About, | ||
Github, | ||
Jobs, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react' | ||
import { storiesOf } from '@storybook/react' | ||
import Buttons from '../../components/interface/buttons' | ||
|
||
storiesOf('Button') | ||
.add('Github', () => { | ||
return ( | ||
<Buttons.Github /> | ||
) | ||
}) | ||
.add('About', () => { | ||
return ( | ||
<Buttons.About /> | ||
) | ||
}) | ||
.add('Jobs', () => { | ||
return ( | ||
<Buttons.Jobs /> | ||
) | ||
}) |