Skip to content

Commit

Permalink
Advance Ema for a bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Aug 28, 2022
1 parent 5d46181 commit 944c6c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ema-template.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ executable ema-template
, containers
, data-default
, directory
, ema >=0.8
, ema >=0.8.1
, filepath
, generic-optics
, monad-logger
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ renderBody rp model r = do
"?"
HtmlRoute_About -> do
"You are on the about page."
H.img ! A.src (staticRouteUrl rp model "logo.svg") ! A.class_ "py-4 w-32" ! A.alt "Ema Logo"
H.a ! A.href (staticRouteUrl rp model "logo.svg") $ do
H.img ! A.src (staticRouteUrl rp model "logo.svg") ! A.class_ "py-4 w-32" ! A.alt "Ema Logo"

renderNavbar :: Prism' FilePath Route -> HtmlRoute -> H.Html
renderNavbar rp currentRoute =
Expand Down

0 comments on commit 944c6c1

Please sign in to comment.