Skip to content

Commit

Permalink
Reduce footer presence
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Sep 25, 2024
1 parent 949e589 commit 45990d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ import Cardano.Wallet.UI.Common.Html.Htmx
import Cardano.Wallet.UI.Common.Html.Lib
( linkText
)
import Cardano.Wallet.UI.Common.Html.Pages.Template.Footer
( footerH
)
import Data.Text
( Text
)
Expand Down Expand Up @@ -45,6 +42,3 @@ bodyH sseLink header body = do
div_ [hxSse_ $ sseConnectFromLink sseLink] $
div_ [class_ "container-fluid"] $ do
div_ [class_ "main"] body
div_
[class_ "footer mt-5"]
footerH
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ footerH =
$ do
ul_ [class_ "nav flex-column"] $ do
li_
[class_ "nav-item mb-2"]
[class_ "nav-item"]
"© 2024 Cardano Foundation, HAL team"
li_ [class_ "nav-item mb-2"] $ do
li_ [class_ "nav-item"] $ do
span_ "Source code on "
githubLinkH

div_ [class_ "row d-md-flex align-items-center"]
$ div_
[class_ "mb-3 mb-md-0 text-body-secondary"]
[class_ "mb-md-0 text-body-secondary"]
"Powered by Haskell, Htmx, Servant, Lucid, Bootstrap"
7 changes: 5 additions & 2 deletions lib/ui/src/Cardano/Wallet/UI/Deposit/Html/Pages/About.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ module Cardano.Wallet.UI.Deposit.Html.Pages.About where

import Prelude

import Cardano.Wallet.UI.Common.Html.Pages.Template.Footer
( footerH
)
import Lucid
( HtmlT
, p_
)

aboutH :: Monad m => HtmlT m ()
aboutH = do
p_
"This is the new builtin Cardano Deposit Wallet web UI, pre-alpha version"
p_ "Cardano Deposit Wallet web UI, pre-alpha version"
footerH

0 comments on commit 45990d4

Please sign in to comment.