-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
ee83444
commit ec65e54
Showing
12 changed files
with
143 additions
and
85 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
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,15 @@ | ||
import React from 'react' | ||
import logoSmall from './../../media/logo-small.png' | ||
import logo from './../../media/logo.png' | ||
import { Link } from 'react-router-dom' | ||
|
||
export const LogoComponent = ({ className }) => ( | ||
<span className={className}> | ||
<Link id='smalllogo' to={'/'}> | ||
<img src={logoSmall} alt="logo" /> | ||
</Link> | ||
<Link id='largelogo' to={'/'}> | ||
<img src={logo} alt="logo" /> | ||
</Link> | ||
</span> | ||
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,20 +1,21 @@ | ||
import styled from 'styled-components' | ||
import { variables } from './../variables' | ||
|
||
export const Button = styled.button` | ||
background: var(--cYellow); | ||
export const SimpleButton = styled.button` | ||
border: none; | ||
padding: 15px 20px; | ||
border-radius: 8px; | ||
width: 100%; | ||
font-weight: 700; | ||
color: var(--cFont); | ||
@media (min-width: ${variables.bpMedium}) { | ||
width: 300px; | ||
} | ||
&:hover { | ||
cursor: pointer; | ||
} | ||
` | ||
|
||
export const Button = styled(SimpleButton)` | ||
background: var(--cYellow); | ||
padding: 15px 20px; | ||
width: 100%; | ||
@media (min-width: ${variables.bpMedium}) { | ||
width: 300px; | ||
} | ||
` |
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
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 |
---|---|---|
@@ -1,20 +1,24 @@ | ||
import styled from 'styled-components' | ||
import { variables } from './../variables' | ||
import { LogoComponent } from '../../app/components/logo' | ||
|
||
export const Logo = styled.span` | ||
position: absolute; | ||
left: 0; | ||
img { | ||
width: auto; | ||
height: 50px; | ||
position: absolute; | ||
left: 10px; | ||
@media (max-width: ${variables.bpMedium}) { | ||
width: 100px; | ||
height: auto; | ||
margin: 5px 0; | ||
export const Logo = styled(LogoComponent)` | ||
#smalllogo { | ||
display: none | ||
} | ||
@media (max-width: ${variables.bpSmall}) { | ||
#largelogo { | ||
display: none; | ||
} | ||
#smalllogo { | ||
display: inherit; | ||
} | ||
} | ||
height: 100%; | ||
a,img { | ||
height: 100%; | ||
} | ||
a { | ||
padding: 0px; | ||
} | ||
` |
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