-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #678 from bamdadfr/next/bamdad
- Loading branch information
Showing
32 changed files
with
313 additions
and
266 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,7 +1,7 @@ | ||
export const widths = { | ||
mobile: '95vw', | ||
tablet: '80vw', | ||
desktop: '60vw', | ||
widescreen: '45vw', | ||
fullhd: '40vw', | ||
mobile: '95%', | ||
tablet: '80%', | ||
desktop: '60%', | ||
widescreen: '45%', | ||
fullhd: '40%', | ||
}; |
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,45 +1,31 @@ | ||
import styled from 'styled-components'; | ||
import {p} from 'src/app/shared.styles'; | ||
import styled, {css} from 'styled-components'; | ||
|
||
export const Container = styled.div` | ||
display: grid; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
grid-template-columns: 1fr 1fr; | ||
grid-gap: 1em; | ||
height: 100%; | ||
`; | ||
|
||
transform: translateX(0.5em); | ||
const width = css` | ||
width: 4em; | ||
`; | ||
|
||
export const ImageContainer = styled.div` | ||
display: flex; | ||
justify-self: flex-end; | ||
align-items: flex-start; | ||
position: relative; | ||
width: 4em; | ||
${width}; | ||
height: 10em; | ||
transform: translateX(-1.5em); | ||
transform: translate3d(-${p}px, -${p * 6}px, 0); | ||
`; | ||
|
||
export const TextContainer = styled.div` | ||
export const Text = styled.span` | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: flex-start; | ||
flex-direction: column; | ||
height: 100%; | ||
width: 100%; | ||
justify-content: flex-start; | ||
align-items: center; | ||
text-align: left; | ||
> h2 { | ||
height: 3em; | ||
} | ||
> div { | ||
height: 40px; | ||
font-size: 0.8em; | ||
} | ||
${width}; | ||
`; |
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
Oops, something went wrong.