Skip to content

Commit

Permalink
PLT-7515 fix header on landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
ladamesny committed Sep 21, 2023
1 parent ab606f8 commit fe708ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 8 additions & 1 deletion src/Component/App.purs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,14 @@ mkApp = do
pure contracts

pure $ case possibleWalletInfo of
Nothing -> landingPage { setWalletInfo: setWalletInfo <<< Just }
Nothing -> DOM.div {} $
[ DOM.nav { className: "navbar navbar-expand-sm navbar-light" } $
DOM.div { className: "container-fluid" }
[ DOM.a { href: "#", className: "navbar-brand" }
[ svgImg { src: marloweLogoUrl } ]
]
, landingPage { setWalletInfo: setWalletInfo <<< Just }
]
_ -> provider walletInfoCtx ((/\) <$> possibleWalletInfo <*> possibleWalletContext) $
[ DOM.nav { className: "navbar navbar-expand-sm navbar-light" } $
DOM.div { className: "container-fluid" }
Expand Down
7 changes: 1 addition & 6 deletions src/Component/LandingPage.purs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,7 @@ mkLandingPage = do
[ DOM.p {} [ DOOM.text "Selecting a wallet is your first step in deploying a smart contract, your choice should be compatible with the blockchain network you want to deploy your contract on." ]
]
, content: DOM.div {} $
[ DOM.nav { className: "navbar navbar-expand-sm navbar-light bg-light fix-top" } $
DOM.div { className: "container-fluid" }
[ DOM.a { href: "#", className: "navbar-brand" }
[ svgImg { src: marloweLogoUrl } ]
]
, DOM.div { className: "container-fluid" }
[ DOM.div { className: "container-fluid" }
$ DOM.div { className: "row justify-content-center" }
$ DOM.div { className: "col-xl-5 col-lg-8 col-12" }
[ case possibleErrors of
Expand Down

0 comments on commit fe708ad

Please sign in to comment.