Skip to content

Commit 9432ad1

Browse files
author
Andika Demas Riyandi
committed
Adding content in home page
1 parent 88002dd commit 9432ad1

File tree

1 file changed

+45
-4
lines changed

1 file changed

+45
-4
lines changed

src-ui.v3/src/Main.hs

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,51 @@ bodyElement4 = do
136136

137137
_ <- dyn $ dynFrag >>= \case
138138
RouteHome -> pure $ do
139-
el "p" $ text "Welcome, this is HOME!"
140-
-- evPB <- delay 5 =<< getPostBuild
141-
-- route (evPB $> ("#fooo"))
142-
139+
elAttr "div" (("id" =: "page-home") <> ("class" =: "page")) $ do
140+
divClass "leftcol" $ do
141+
elAttr "h2" ("class" =: "main-header") $ text "Welcome"
142+
el "h3" $ text "Documents"
143+
el "ul" $ do
144+
el "li" $
145+
elAttr "a" ("href" =: "https://github.com/haskell-infra/hackage-trustees/blob/master/policy.md") $
146+
text "Hackage trustee policy and procedures"
147+
el "li" $
148+
elAttr "a" ("href" =: "https://wiki.haskell.org/Taking_over_a_package") $
149+
text "Wiki: Taking over a package"
150+
el "li" $
151+
elAttr "a" ("href" =: "https://wiki.haskell.org/Hackage_trustees") $
152+
text "Wiki: Hackage Trustee"
153+
el "h3" $ text "Trustee Tools"
154+
el "ul" $ do
155+
el "li" $
156+
elAttr "a" ("href" =: "https://github.com/haskell-infra/hackage-trustees/issues") $
157+
text "Issue Tracker"
158+
el "li" $
159+
elAttr "a" ("href" =: "https://www.github.com/haskell-CI/hackage-matrix-builder") $
160+
text "hackage-matrix-builder source"
161+
el "li" $
162+
elAttr "a" ("href" =: "https://www.github.com/haskell-CI/hackage-cli") $
163+
text "hackage-cli"
164+
el "li" $
165+
elAttr "a" ("href" =: "https://github.com/hackage-trustees") $
166+
text "GitHub organization"
167+
el "li" $
168+
elAttr "a" ("href" =: "http://hackage.haskell.org/packages/recent/revisions.html") $
169+
text "Recent Revisions"
170+
el "h3" $ text "References"
171+
el "ul" $ do
172+
el "li" $
173+
elAttr "a" ("href" =: "https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/VersionHistory") $
174+
text "GHC Boot Library Version History"
175+
el "li" $
176+
elAttr "a" ("href" =: "https://ghc.haskell.org/trac/ghc/wiki/LanguagePragmaHistory") $
177+
text "Language Pragma History"
178+
el "li" $
179+
elAttr "a" ("href" =: "https://github.com/haskell/cabal/blob/641e854ae663e2b34f34ecc11ba663ac3a9bdc19/Cabal/Distribution/PackageDescription/Check.hs#L911-L1091") $
180+
text "Required cabal-version"
181+
el "li" $
182+
elAttr "a" ("href" =: "https://github.com/haskell-infra/hackage-trustees/blob/master/cookbook.md") $
183+
text "Cookbook for common build failures"
143184
pure ()
144185

145186
RouteQueue -> pure $ do

0 commit comments

Comments
 (0)