Skip to content

Commit

Permalink
🩹 Use absolute image URLs (better practice)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Jul 7, 2024
1 parent 26df8bc commit ec854cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App/View.elm
Original file line number Diff line number Diff line change
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 ec854cb

Please sign in to comment.