diff options
author | quidtum <quidtum> | 2020-12-07 09:29:28 -0500 |
---|---|---|
committer | quidtum <quidtum> | 2020-12-07 09:29:28 -0500 |
commit | 8ebc8839a2f76f6a61e1b0041f554c68f3a4eb88 (patch) | |
tree | 4fe5cf216caf7045d36512f0d7c8621bfe590190 | |
parent | c30d1f158e046e31c6dabb5ae898d3dc8ec7751f (diff) |
credit
-rw-r--r-- | src/Lib.hs | 19 |
1 files changed, 12 insertions, 7 deletions
@@ -562,16 +562,21 @@ instance ToHtml HomeView where homeBody where homeBody = div_ $ do - div_ $ do + p_ $ do strong_ [class_ "title"] "Spectral Renga" span_ " is a collaborative graph of poetry." - div_ $ em_ $ do + p_ $ em_ $ do a_ [href_ (domainURI (DomainName "piazza"))] "Join the public piazza" - span_ ", " - a_ [href_ newDomainURI] "create a private subgraph" span_ ", or " - a_ [href_ "https://git.cyfraeviolae.org/spectral-renga"] "view the source code" + a_ [href_ newDomainURI] "create a private subgraph" span_ "." + p_ $ small_ $ do + a_ [href_ "https://git.cyfraeviolae.org/spectral-renga"] "source code" + span_ $ toHtmlRaw (T.pack " · ") + a_ [href_ "https://cyfraeviolae.org/"] "cyfraeviolae.org" + span_ $ toHtmlRaw (T.pack " · ") + a_ [href_ "https://www.nlsun.com"] "nlsun.com" + toHtmlRaw = toHtml instance ToHtml DomainView where @@ -582,11 +587,11 @@ instance ToHtml DomainView where where domainBody = do div_ [class_ "row"] $ do - div_ $ do + p_ $ do span_ (toHtmlRaw (T.pack "Welcome to ")) strong_ [class_ "domain-name"] (toHtml domainName) span_ $ toHtml $ ". This subgraph contains " <> show numNodes <> " nodes and " <> show numEdges <> " edges." - div_ $ em_ $ do + p_ $ em_ $ do a_ [href_ (domainReadURI domainName Nothing)] "Read a poem" span_ ", " a_ [href_ (domainWriteURI domainName Nothing Nothing Nothing)] "write a line" |