Skip to content

Commit 55300bb

Browse files
committed
Merge PR #61
Closes #56
2 parents 7041da2 + 9432ad1 commit 55300bb

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
@@ -143,10 +143,51 @@ bodyElement4 = do
143143

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

152193
RouteQueue -> pure $ do

0 commit comments

Comments
 (0)