Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Commit 1859580

Browse files
committed
website redesign
1 parent e7f6a4e commit 1859580

File tree

9 files changed

+598
-4
lines changed

9 files changed

+598
-4
lines changed

hptool/src/Website.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ historyCtx = mkStrContext outerCtx
104104
ctx "sections" = MuList
105105
[ sectionCtx "Compiler" [isGhc, not . isLib] False
106106
, sectionCtx "Core Libraries, provided with GHC" [isGhc, isLib] False
107-
, sectionCtx "Additional Minimal Platform Libraries" [not . isGhc, isLib] True
107+
, sectionCtx "Additional Core Platform Libraries" [not . isGhc, isLib] True
108108
, sectionCtx "Programs and Tools" [isTool] False
109109
, extendedCtx "Libraries with Full Platform"
110110
]

platform.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
#for OS X in particular
5-
export MACOSX_DEPLOYMENT_TARGET=10.6
5+
export MACOSX_DEPLOYMENT_TARGET=10.7
66

77
set -e
88

website/new-site/stylesheets/download.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
transition: max-height 1000ms ease 0ms;
7676
}
7777

78-
@media (min-width: 1000px) {
78+
@media (min-width: 1100px) {
7979
#linux.downloads-platform:target .content,
8080
#linux.downloads-platform.visible .content {
8181
/* Linux needs to be taller due to encompass sidebar */
@@ -84,7 +84,7 @@
8484
}
8585

8686
/* Hide "choose your distribution prompt on narrow screens */
87-
@media (max-width: 1000px) {
87+
@media (max-width: 1100px) {
8888
#linux-prompt.active {
8989
display: none;
9090
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
<div class="header pattern-bg">
3+
<div class="container">
4+
<div class="row">
5+
<div class="span6 col-md-6">
6+
<div class="branding" >
7+
<span style="background-image: url(img/logo.png)" class="name">Haskell Platform</span>
8+
<span class="summary">
9+
Haskell with batteries included
10+
</span>
11+
</div>
12+
</div>
13+
<div class="span6 col-md-6">
14+
<div class="branding">
15+
<span class="tag">
16+
<h3>A multi-OS distribution</h3>
17+
18+
<p>designed to get you up and running
19+
quickly, making it easy to focus on using
20+
Haskell. You get:</p>
21+
<ul>
22+
<li>the <a href="http://www.haskell.org/ghc/">Glasgow Haskell Compiler</a></li>
23+
<li>the <a href="http://www.haskell.org/cabal/">Cabal build system</a></li>
24+
<li>the <a href="http://docs.haskellstack.org">Stack tool</a> for developing projects</li>
25+
<li>support for profiling and code coverage analysis</li>
26+
<li>35 core & widely-used <a href="contents.html">packages</a></li>
27+
</ul>
28+
</span>
29+
</div>
30+
<a href="prior.html">Prior releases</a> of the Platform are also available.
31+
</div>
32+
</div>
33+
</div>
34+
</div>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<div class="download-options">
2+
<div class="container">
3+
<div class="row">
4+
<div class="span4 col-md-4 vrule get-hp">
5+
<a href="#get-started">
6+
<div style="width: 50%; font-size: 100px; float:right; padding-left: 30px">
7+
<i class="fa fa-arrow-down"></i>
8+
</div>
9+
<h1 style="width: 50%;">Download Haskell Platform</h1>
10+
</a>
11+
</div>
12+
<div class="span4 col-md-4 other-ways vrule">
13+
<h1>Libraries</h1>
14+
<p>Haskell has a vibrant community and a rich
15+
collection of packages ripe for the picking on
16+
<a href="http://hackage.haskell.org/">Hackage</a>,
17+
the Haskell package database.</p>
18+
</div>
19+
<div class="span4 col-md-4 other-ways">
20+
<h1>Other ways to install</h1>
21+
<p>While the Haskell Platform is the recommended
22+
way to get a Haskell environment, there are also
23+
other options</p>
24+
<ul>
25+
<li><a href="{{> haskell-org-root}}downloads/windows">Windows</a></li>
26+
<li><a href="{{> haskell-org-root}}downloads/osx">OS X</a></li>
27+
<li><a href="{{> haskell-org-root}}downloads/linux">Linux</a></li>
28+
</ul>
29+
</div>
30+
</div>
31+
</div>
32+
</div>

0 commit comments

Comments
 (0)