Skip to content

Commit 36ca9a3

Browse files
authored
Merge pull request #514 from jmct/partnerships
Add Partnerships
2 parents 93c3ec1 + ccb7733 commit 36ca9a3

File tree

6 files changed

+108
-0
lines changed

6 files changed

+108
-0
lines changed

partnerships/well-typed.markdown

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Haskell Ecosystem Support Packages by Well-Typed
3+
status: active
4+
summary: Well-Typed and the Haskell Foundation have worked together to provide a way for companies to get the specific support they need while still supporting the wider Haskell ecosystem.
5+
---
6+
7+
The Haskell Foundation is happy to announce a new joint initiative with Well-Typed: Haskell Ecosystem Support Packages!
8+
9+
Well-Typed, leveraging its deep expertise in Haskell core tools, is offering Ecosystem Support Packages. These packages provide a direct means of investing in Haskell’s core tools while receiving technical support from Well-Typed. As the Foundation receives some portion of the funds to do its work, we worked with Well-Typed to ensure that the package levels correspond to the sponsorship levels of the Foundation.
10+
11+
These packages provide a meaningful way for organizations to get direct support for their Haskell needs while still supporting the wider Haskell ecosystem. This is not a hypothetical, there are already companies that have purchased these packages that would otherwise not have been able to support the Haskell Foundation directly.
12+
13+
You can read more information about Well-Typed's offering [on the Ecosystem Support Package of their website](https://well-typed.com/ecosystem/).
14+
15+
Thank you to Well-Typed for spearheading this collaboration!

site.hs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,31 @@ main = hakyll $ do
243243
>>= loadAndApplyTemplate "templates/boilerplate.html" sponsors
244244
>>= relativizeUrls
245245

246+
-- Partnerships
247+
248+
create ["partnerships/index.html"] $ do
249+
route idRoute
250+
compile $ do
251+
sponsors <- buildBoilerplateCtx (Just "Partnerships")
252+
ctx <- allEventsCtx <$> (recentFirst =<< loadAll ("partnerships/*.markdown" .&&. hasNoVersion))
253+
254+
makeItem ""
255+
>>= loadAndApplyTemplate "templates/partnerships/list.html" ctx
256+
>>= loadAndApplyTemplate "templates/boilerplate.html" sponsors
257+
>>= relativizeUrls
258+
259+
match "partnerships/*.markdown" $ do
260+
route $ setExtension "html"
261+
let ctxt = mconcat
262+
[ defaultContext ]
263+
compile $ do
264+
sponsors <- buildBoilerplateCtx Nothing
265+
pandocCompiler
266+
>>= applyAsTemplate sponsors
267+
>>= loadAndApplyTemplate "templates/partnerships/page.html" ctxt
268+
>>= loadAndApplyTemplate "templates/boilerplate.html" sponsors
269+
>>= relativizeUrls
270+
246271
-- Reports
247272
create ["reports/index.html"] $ do
248273
route idRoute

templates/partnerships.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<div class="max-w-screen-xl mx-auto py-16 md:py-24">
2+
<div class="text-center pt-12 md:pt-20 px-12 sm:px-16 md:px-24 lg:px-36 ">
3+
<h1 class="text-2xl-5xl">$title$</h1>
4+
</div>
5+
<div class="max-w-screen-xl mx-auto">
6+
<div class="px-4 sm:px-8 md:px-12 lg:px-16">
7+
<div class="mx-auto prose md:prose-lg">
8+
<div class="max-w-screen-xl mx-auto grid gap-8 lg:grid-cols-2 md:px-12 bg-gray-100">
9+
<div class="text-lg"><strong>Posted:</strong> </div>
10+
<div class="text-lg"><strong>Status:</strong> </div>
11+
</div> $body$
12+
</div>
13+
</div>
14+
</div>
15+
</div>

templates/partnerships/list.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Partnerships
3+
---
4+
<div class="max-w-screen-xl mx-auto py-16 md:py-24">
5+
$partial("templates/corners.html")$
6+
<div class="text-center pt-12 md:pt-20 px-12 sm:px-16 md:px-24 lg:px-36 ">
7+
<h1 class="text-2xl-5xl">Events</h1>
8+
</div>
9+
$if(events)$
10+
<div class="mt-16 md:mt-24">
11+
<div class="max-w-screen-xl mx-auto grid gap-8 lg:grid-cols-2 md:px-12">
12+
$for(events)$
13+
$partial("templates/events/tile.html")$
14+
$endfor$
15+
</div>
16+
</div>
17+
$endif$
18+
</div>

templates/partnerships/page.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<div class="max-w-screen-xl mx-auto">
2+
<div class="xl:max-w-screen-xl mx-auto md:px-12 lg:px-16 py-16 md:py-24">
3+
<div class="bg-gray-800 shadow-lg shadow-xl shadow-md shadow-sm px-6 sm:px-12 md:px-12 lg:px-16 py-16 md:py-20">
4+
<h2 class="text-gray-50 font-normal text-3xl-4xl text-center">$title$</h2>
5+
<p class="mt-10 lg:text-xl text-gray-300 leading-relaxed text-center">
6+
$summary$
7+
</p>
8+
</div>
9+
</div>
10+
</div>
11+
<div class="max-w-screen-xl mx-auto">
12+
<div class="px-4 sm:px-8 md:px-12 lg:px-16">
13+
<div class="mx-auto prose md:prose-lg">
14+
<div class="max-w-screen-xl mx-auto grid gap-8 lg:grid-cols-2 md:px-12 bg-gray-100">
15+
<div class="text-lg"><strong>Location:</strong> $location$ </div>
16+
<div class="text-lg"><strong>Dates:</strong> $daterange$ </div>
17+
</div>
18+
$body$
19+
</div>
20+
</div>
21+
</div>

templates/partnerships/tile.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<div class="bg-white border border-gray-300 rounded py-8 px-6 sm:px-12 text-center">
2+
<div class="bg-gray-100 px-6 sm:px-12 lg:px-16 py-6 lg:py-24 h-full">
3+
<div class="space-y-4">
4+
<h2 class="text-center text-2xl-4xl font-normal">$title$</h2>
5+
<p>$summary$</p>
6+
<table>
7+
<!-- the p tags here are to work around Tailwind being incomprehensible - DTC 2023-03-01 -->
8+
</table>
9+
<div class="mt-4">
10+
<a class="arrow-link" href="$url$">&gt;&gt; Read more</a>
11+
</div>
12+
</div>
13+
</div>
14+
</div>

0 commit comments

Comments
 (0)