@@ -0,0 +1,95 @@
1+module Main exposing (main)
4+import Element exposing (..)
5+import Element.Background as Background
6+import Element.Border as Border
7+import Element.Font as Font
8+import Element.Input as Input
9+import Html exposing (Html)
26+update : Msg -> Model -> Model
30+ { model | count = model.count + 1 }
33+ { model | count = model.count - 1 }
44+view : Model -> Html Msg
46+ layout [ width fill, padding 5 ] <|
47+ column [ width fill, spacing 10 ]
48+ [ row [ width fill, height <| px 100 ]
49+ [ link [ height fill, width <| fillPortion 1, Background.color blue ]
50+ { url = "https://github.com/mdgriffith/elm-ui/issues"
51+ , label = paragraph [ Font.center ] [ text "Hello!" ]
53+ , el [ height fill, width <| fillPortion 2, Background.color red ] none
55+ , row [ width fill, height <| px 100 ]
56+ [ el [ height fill, width <| fillPortion 1, Background.color blue ] (text "Hello!")
57+ , el [ height fill, width <| fillPortion 2, Background.color red ] none
62+button : String -> Element Msg
68+ , Background.color white
73+ , Background.color black
89+main : Program () Model Msg
92+ { init = initialModel