Skip to content

Commit

Permalink
New image and theme (#82)
Browse files Browse the repository at this point in the history
* Fix responsive sizing

* Change image and brand to better image
  • Loading branch information
lucaskjaero authored Jan 9, 2020
1 parent ca66332 commit 209e45b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/components/Hero/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const Hero = props => {
background: ${theme.hero.background};
background-image: url(${backgrounds.mobile});
background-size: cover;
background-repeat: no-repeat;
color: ${theme.text.color.primary.inverse};
display: flex;
flex-flow: column nowrap;
Expand Down
Binary file modified src/images/jpg/lucas-background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ export const query = graphql`
}
}
bgTablet: imageSharp(fluid: { originalName: { regex: "/lucas-background/" } }) {
resize(width: 800, height: 1100, quality: 90, cropFocus: CENTER) {
resize(width: 800, height: 600, quality: 90, cropFocus: CENTER) {
src
}
}
bgMobile: imageSharp(fluid: { originalName: { regex: "/lucas-background/" } }) {
resize(width: 450, height: 850, quality: 90, cropFocus: CENTER) {
resize(width: 600, height: 350, quality: 90, cropFocus: CENTER) {
src
}
}
Expand Down
12 changes: 6 additions & 6 deletions src/theme/theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ color:
k: '#2b2826'
black: '#000000'
brand:
primary: &color-brand-primary '#709425'
primaryActive: '#709425'
light: '#709425'
lightActive: '#709425'
dark: '#709425'
darkActive: '#709425'
primary: &color-brand-primary '#f05f40'
primaryActive: '#f05f40'
light: '#f05f40'
lightActive: '#f05f40'
dark: '#f05f40'
darkActive: '#f05f40'
special:
attention: &color-special-attention orange
# FONT
Expand Down

0 comments on commit 209e45b

Please sign in to comment.