Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds home page styling #37

Merged
merged 2 commits into from
Jan 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/assets/logo_home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion src/elm/Routes/Home.elm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module Routes.Home exposing (..)

import Components.GrayButton exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
Expand All @@ -8,4 +9,11 @@ import Types exposing (..)

home : Model -> Html Msg
home model =
div [ class "home" ] [ a [ href "#about-you" ] [ text "CONTRACTORS" ] ]
-- section [ class "bg-white w-40-ns w-90 h-auto tc center pv5 shadow-1 br3 " ]
section [ class "bg-light-blue h-100 m0-auto cover flex content-center items-center" ]
[ article [ class "bg-white w-40-l w-60-m w-90 center h-auto tc center br3 pt5 pb4 shadow-1" ]
[ img [ src "./assets/logo_home.png", class "h4 tc center" ] []
, p [ class "mid-gray lh-copy w-50-ns w-80 tc center fw3 pv3" ] [ text "So easy, you can interview for jobs in your sleep." ]
, grayButton ( "Let's start!", "about-you" )
]
]
2 changes: 1 addition & 1 deletion src/elm/State.elm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Types exposing (..)

initModel : Model
initModel =
{ route = AboutYou
{ route = Home
, videoStage = StagePreRecord
, videoMessage = ""
, messageLength = 0
Expand Down