This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
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
42f81ca
commit 34f5e4e
Showing
21 changed files
with
336 additions
and
191 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 |
---|---|---|
@@ -1,69 +1,68 @@ | ||
import React from 'react' | ||
|
||
import styled from '@emotion/styled' | ||
import RocketLaunch from '../../resources/rocket-launch.png' | ||
import { sizes } from '../../styles/variables' | ||
import Rocket from '../../resources/rocket-launch.png' | ||
|
||
const StyledSaveHours = styled.section` | ||
max-width: 750px; | ||
margin: 0 auto; | ||
text-align: center; | ||
max-width: 750px; | ||
margin: 0 auto; | ||
text-align: center; | ||
@media(min-width: calc(${sizes.breakpoints.md} + 1px)) { | ||
padding-bottom: 2rem; | ||
} | ||
@media(max-width: ${sizes.breakpoints.md}) { | ||
max-width: 600px; | ||
} | ||
@media (min-width: calc(${sizes.breakpoints.md} + 1px)) { | ||
padding-bottom: 2rem; | ||
} | ||
@media(max-width: 640px) { | ||
max-width: 400px; | ||
} | ||
@media (max-width: ${sizes.breakpoints.md}) { | ||
max-width: 600px; | ||
} | ||
h2 { | ||
margin-bottom: 5rem; | ||
} | ||
@media (max-width: 640px) { | ||
max-width: 400px; | ||
} | ||
img { | ||
display: inline-block; | ||
width: 18rem; | ||
margin-bottom: 5rem; | ||
h2 { | ||
margin-bottom: 5rem; | ||
} | ||
@media(max-width: ${sizes.breakpoints.md}) { | ||
margin-bottom: 3rem; | ||
} | ||
img { | ||
display: inline-block; | ||
width: 18rem; | ||
margin-bottom: 5rem; | ||
@media(max-width: 640px) { | ||
width: 16rem; | ||
margin-bottom: 4rem; | ||
} | ||
@media (max-width: ${sizes.breakpoints.md}) { | ||
margin-bottom: 3rem; | ||
} | ||
p { | ||
max-width: 450px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
@media (max-width: 640px) { | ||
width: 16rem; | ||
margin-bottom: 4rem; | ||
} | ||
} | ||
p { | ||
max-width: 450px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
` | ||
|
||
const SaveHours = () => ( | ||
<div className="row"> | ||
<StyledSaveHours> | ||
<div className="img-container"> | ||
<img src={RocketLaunch} alt="Rocket Launch" /> | ||
const SaveHours = () => ( | ||
<div className="row"> | ||
<StyledSaveHours> | ||
<div className="img-container"> | ||
<img src={Rocket} alt="Rocket Launch" /> | ||
</div> | ||
<div className="text"> | ||
<h2> | ||
<strong>Fast & Powerful.</strong> Streamline Your Development Workflow. | ||
</h2> | ||
<p> | ||
Get fresh, task-based dev environments for any issue, branch and merge/pull request. Enter true GitOps and experience a new | ||
level of productivity. | ||
</p> | ||
</div> | ||
</StyledSaveHours> | ||
</div> | ||
<div className="text"> | ||
<h2> | ||
<strong>Fast & Powerful.</strong> Streamline Your Development Workflow. | ||
</h2> | ||
<p> | ||
Get fresh, task-based dev environments for any issue, branch and merge/pull request. Enter true GitOps and experience a new level | ||
of productivity. | ||
</p> | ||
</div> | ||
</StyledSaveHours> | ||
</div> | ||
) | ||
|
||
) | ||
export default SaveHours |
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.