From ec854cb8f7beafa462806d0920c44b5107ee4bb1 Mon Sep 17 00:00:00 2001 From: ccamel Date: Sun, 7 Jul 2024 19:50:10 +0200 Subject: [PATCH] :adhesive_bandage: Use absolute image URLs (better practice) --- src/App/View.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App/View.elm b/src/App/View.elm index 7e11cf41..b6832ec6 100644 --- a/src/App/View.elm +++ b/src/App/View.elm @@ -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" ]