File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -304,19 +304,22 @@ home = template $
304304 ]
305305 ]
306306-----------------------------------------------------------------------------
307+ githubStar :: View model action
308+ githubStar = H. iframe_
309+ [ P. title_ " GitHub"
310+ , P. height_ " 30"
311+ , P. width_ " 170"
312+ , P. scrolling_ " 0"
313+ , P. frameborder_ " 0"
314+ , P. src_ " https://ghbtns.com/github-btn.html?user=haskell-miso&repo=miso-websocket&type=star&count=true&size=large"
315+ ]
316+ []
317+ -----------------------------------------------------------------------------
307318template :: View Model Action -> Model -> View Model Action
308319template content m =
309320 H. div_
310321 []
311- [ H. a_
312- [ P. class_ " github-fork-ribbon left-top fixed"
313- , P. href_ " http://github.com/dmjio/miso"
314- , P. data_ " ribbon" " Fork me on GitHub"
315- , P. target_ " blank"
316- , P. rel_ " noopener"
317- , P. title_ " Fork me on GitHub"
318- ]
319- [ " Fork me on GitHub" ]
322+ [ githubStar
320323 , hero content (m ^. uri) (m ^. navMenuOpen)
321324 , middle
322325 , footer
You can’t perform that action at this time.
0 commit comments