mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
add background to blogs
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
+4
-2
@@ -1,7 +1,7 @@
|
|||||||
module Blog exposing (..)
|
module Blog exposing (..)
|
||||||
|
|
||||||
import Html exposing (..)
|
import Html exposing (..)
|
||||||
import Html.Attributes exposing (class, datetime)
|
import Html.Attributes exposing (class)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -30,7 +30,8 @@ type alias Blog =
|
|||||||
|
|
||||||
view : Model -> Html msg
|
view : Model -> Html msg
|
||||||
view model =
|
view model =
|
||||||
div [ class "max-width mx-auto px3 ltr" ]
|
div [ class "foo-interface" ]
|
||||||
|
[ div [ class "max-width mx-auto px3 ltr" ]
|
||||||
[ div [ class "content index py4" ]
|
[ div [ class "content index py4" ]
|
||||||
[ article [ class "post" ]
|
[ article [ class "post" ]
|
||||||
[ h1 [ class "posttitle" ] [ text model.blog.title ]
|
[ h1 [ class "posttitle" ] [ text model.blog.title ]
|
||||||
@@ -42,6 +43,7 @@ view model =
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
type Msg
|
type Msg
|
||||||
|
|||||||
Reference in New Issue
Block a user