Skip to content

Commit

Permalink
Merge pull request #244 from ccamel/fix/version-and-urls
Browse files Browse the repository at this point in the history
Fix/version and urls
  • Loading branch information
ccamel authored Jul 7, 2024
2 parents 9835287 + ec854cb commit 131c7a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/App/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ view model =
{-| the html elements for the footer
-}
footerPart : Model -> Html Msg
footerPart _ =
footerPart { flags } =
footer
[ class "footer has-background-black-bis" ]
[ div
Expand Down Expand Up @@ -98,7 +98,7 @@ footerPart _ =
]
, p []
[ strong []
[ text "playground-elm" ]
[ text ("playground-elm v" ++ flags.version) ]
, text " | "
, a [ href "https://github.com/ccamel" ]
[ text "© 2017-2024 Christophe Camel" ]
Expand Down Expand Up @@ -175,12 +175,12 @@ pagePart page model =


showcase : Model -> Int -> Page -> Html Msg
showcase _ num page =
showcase { flags } num page =
div [ class "columns featured-showcase is-multiline" ]
[ div [ class "column is-12 showcase" ]
[ article [ class "columns featured" ]
([ div [ class "column is-7 showcase-img" ]
[ img [ src <| interpolate "./{0}.png" [ pageHash page ], width 450 ]
[ img [ src <| interpolate "{0}{1}.png" [ flags.basePath, pageHash page ], width 450 ]
[]
]
, div [ class "column is-5 featured-content va" ]
Expand Down

0 comments on commit 131c7a4

Please sign in to comment.