Files
elm-0.19-workshop/VerifyWorkshopSetup.elm
Richard Feldman 345368cbcc Initial commit.
2018-04-28 16:50:03 -04:00

42 lines
1.3 KiB
Elm
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
module VerifyWorkshopSetup exposing (main)
{- | Displays Youre all set! and a heart in the style of the Elm logo (created
by Marco Perone, CC-BY-SA-4.0 - thanks for sharing it, Marco!)
If this doesn't display, it means something needs to be fixed about your local
setup, and you should ask the instructor for help!
-}
import Html exposing (Html, h1, img, section, text)
import Html.Attributes exposing (alt, src, style)
main : Html msg
main =
section
[ style
[ ( "margin", "40px auto" )
, ( "width", "960px" )
, ( "text-align", "center" )
]
]
[ h1
[ style
[ ( "margin", "40px auto" )
, ( "font-family", "Helvetica, Arial, sans-serif" )
, ( "font-size", "128px" )
, ( "color", "rgb(90, 99, 120)" )
]
]
[ text "Youre all set!" ]
, img
[ alt "Heart in the style of the Elm logo, by Marco Perone"
, src "https://user-images.githubusercontent.com/1094080/39399444-a90f2746-4aeb-11e8-9bd6-4fe45e535921.png"
, style
[ ( "width", "368px" )
, ( "height", "305px" )
]
]
[]
]