File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ homeV vids =
2323 community url vids
2424 features
2525 sponsors
26+ transition
2627 events
2728 div_ [class_ " mobile" ] $
2829 (navigation False [] cur url))
@@ -101,6 +102,16 @@ community url vids =
101102 li_ (a_ [class_ " vid-thumbnail" ,href_ u,title_ n]
102103 (img_ [src_ thumb]))
103104
105+ -- | Information for people to help transition from the old site to the new locations.
106+ transition :: Html ()
107+ transition =
108+ div_ [class_ " transition" ]
109+ (container_
110+ (row_ (span6_ [class_ " col-md-6" ]
111+ (do h1_ " Psst! Looking for the wiki?"
112+ p_ (do " This is the new Haskell home page! The wiki has moved to "
113+ a_ [href_ " https://wiki.haskell.org" ] " wiki.haskell.org." )))))
114+
104115-- | Events section.
105116-- TODO: Take events section from Haskell News?
106117events :: Html ()
Original file line number Diff line number Diff line change @@ -549,6 +549,34 @@ h2 {
549549 text-decoration : none;
550550}
551551
552+
553+ /* * * * * * * * * * * * * * * * * * * *
554+ Transition
555+ */
556+
557+ .page-home .transition {
558+ background : # 1b2332 ;
559+ color : # f0f0f0 ;
560+ padding-top : 2em ;
561+ padding-bottom : 2em ;
562+ }
563+ .page-home .transition h1 {
564+ margin-bottom : 1em ;
565+ font-size : 1.5em ;
566+ font-weight : bold;
567+ }
568+ .page-home .wrap {
569+ padding-bottom : 0 ;
570+ }
571+ .page-home .footer {
572+ background : # 1b2332 ;
573+ }
574+ .page-home .transition a : hover {
575+ color : # 71a9d9 ;
576+ text-decoration : none;
577+ }
578+
579+
552580/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
553581 Responsiveness
554582 */
You can’t perform that action at this time.
0 commit comments