Skip to content

Commit

Permalink
Merge pull request #4 from hackmcgill/enhancement/88-implement-new-de…
Browse files Browse the repository at this point in the history
…sign

Enhancement/1 implement new design
  • Loading branch information
logan-r authored Nov 24, 2020
2 parents 6a7d0cf + c475abc commit dadde02
Show file tree
Hide file tree
Showing 8 changed files with 293 additions and 250 deletions.
264 changes: 128 additions & 136 deletions src/assets/images/designs/about.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 12 additions & 21 deletions src/assets/images/designs/cord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
230 changes: 144 additions & 86 deletions src/assets/images/designs/sponsor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/components/Bg/BgStyles.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import styled from "styled-components"
import * as styleVars from "../variable"
import BgImg from "../../assets/images/designs/bg.svg"

export const BgStyles = styled.section`
height: 100%;
position: relative;
margin-bottom: 60px;
margin-top: 100px;
background: url(${BgImg});
background: ${styleVars.hackBlack5};
background-size: cover;
background-position: right 80px;
background-repeat: no-repeat;
Expand Down
1 change: 1 addition & 0 deletions src/components/Hero/HeroStyles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import styled from "styled-components"
import * as styleVars from "../variable"

export const HeroStyles = styled.section`
margin-top: 100px;
position: relative;
padding: 0 2rem;
margin-bottom: 400px;
Expand Down
6 changes: 3 additions & 3 deletions src/components/Sponsor/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const Button = styled.button`
font-weight: 600;
font-size: 14px;
text-transform: none;
background-color: ${styleVars.colorHackRed};
background-color: ${styleVars.purple};
color: white;
border-radius: 3.75em;
border: none;
Expand All @@ -20,8 +20,8 @@ export const Button = styled.button`
// width: 175px;
&:hover {
background-color: #f56f65;
color: white;
background-color: ${styleVars.purpleLight};
color: ${styleVars.purple};
}
`

Expand Down
2 changes: 2 additions & 0 deletions src/components/variable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export const colorHackRedMed = "#f56f65"
export const colorHackRedLight = "#f89790"
export const colorHackYellow = "#ffd081"
export const colorHackTeal = "#48DEE2"
export const purple = "#5C63AB"
export const purpleLight = "#5C63AB19"
export const hackBlack = "#202020"
export const hackBlack80 = "#4d4d4d"
export const hackBlack70 = "#636363"
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ const IndexPage = () => {
scrollToSponsor={() => scrollTo(sponsorRef)}
scrollToFaq={() => scrollTo(faqRef)}
/>
<Hero />
<Bg>
<Hero />
<About scrollRef={aboutRef} />
<Sponsor scrollRef={sponsorRef} />
</Bg>
<Sponsor scrollRef={sponsorRef} />
<FAQ scrollRef={faqRef} />
<Logos />
<Footer />
Expand Down

0 comments on commit dadde02

Please sign in to comment.