-
Notifications
You must be signed in to change notification settings - Fork 0
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
3c29891
commit d95833b
Showing
5 changed files
with
181 additions
and
38 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
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,49 +1,94 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
import React from "react"; | ||
import styled from "styled-components"; | ||
import { ReactComponent as SVG } from "../assets/images/Lotus-Flower.svg"; | ||
|
||
const LandingPage = () => ( | ||
<Splash id="landing-page"> | ||
<Splash id="landing-page"> | ||
<HeroSection> | ||
<div style={{ width: "45%" }}> | ||
<Title>Inspiri</Title> | ||
<Tagline>Collect your inspiration.</Tagline> | ||
<Tagline>Put your mental health first.</Tagline> | ||
<SignInButton type="facebook"> | ||
<SignInType className="fa fa-facebook" ></SignInType> | ||
Login With Facebook | ||
<SignInType className="fa fa-facebook"></SignInType> | ||
Login With Facebook | ||
</SignInButton> | ||
<SignInButton type="twitter"> | ||
<SignInType className="fa fa-twitter"></SignInType> | ||
Login With Twitter | ||
<SignInType className="fa fa-twitter"></SignInType> | ||
Login With Twitter | ||
</SignInButton> | ||
<SignInButton type="google"> | ||
<SignInType className="fa fa-google" ></SignInType> | ||
Login With Google | ||
<SignInType className="fa fa-google"></SignInType> | ||
Login With Google | ||
</SignInButton> | ||
</Splash> | ||
) | ||
</div> | ||
<Lotus /> | ||
</HeroSection> | ||
|
||
<Section> | ||
<SectionTitle>Collect your inspiration</SectionTitle> | ||
<SectionText> | ||
Gather quotes that lift your vibration into your positive thought | ||
garden. | ||
</SectionText> | ||
<Button>Explore Quotes</Button> | ||
</Section> | ||
|
||
<Section> | ||
<SectionTitle>Journal your journey</SectionTitle> | ||
<SectionText> | ||
Look back on your moments of gratitude, times of struggle, and prepare | ||
yourself to face the day. | ||
</SectionText> | ||
<Button>Create Your Journal</Button> | ||
</Section> | ||
|
||
<Section> | ||
<SectionTitle>Breathe.</SectionTitle> | ||
<SectionText>Take some time out of your day to be present.</SectionText> | ||
<Button>Start a Mindfullness Session</Button> | ||
</Section> | ||
</Splash> | ||
); | ||
|
||
export default LandingPage; | ||
|
||
const Splash = styled.main` | ||
text-align: center; | ||
` | ||
const Splash = styled.main``; | ||
|
||
const Title = styled.h1` | ||
const HeroSection = styled.section` | ||
display: flex; | ||
flex-flow: row wrap; | ||
justify-content: space-between; | ||
height: 90vh; | ||
`; | ||
|
||
` | ||
const Title = styled.h1``; | ||
|
||
const Tagline = styled.h3` | ||
font-style: italic; | ||
font-weight: 400; | ||
` | ||
font-style: italic; | ||
font-weight: 400; | ||
`; | ||
|
||
const SignInButton = styled.a.attrs( props => ({ | ||
className: "waves-effect waves-light btn-large", | ||
href: `/auth/${props.type}` | ||
}))` | ||
const Button = styled.button.attrs(() => ({ | ||
className: "waves-effect waves-light btn-large", | ||
}))``; | ||
|
||
` | ||
const SignInButton = styled.a.attrs((props) => ({ | ||
href: `/auth/${props.type}`, | ||
style: { display: "block" }, | ||
}))``; | ||
|
||
const SignInType = styled.i` | ||
margin-right: 10px; | ||
` | ||
margin-right: 10px; | ||
`; | ||
|
||
const Lotus = styled(SVG)` | ||
width: 500px; | ||
height: 300px; | ||
align-self: center; | ||
`; | ||
|
||
const Section = styled.section``; | ||
|
||
const SectionTitle = styled.h2``; | ||
|
||
const SectionText = styled.p``; |
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