Skip to content

Commit 42fead2

Browse files
committed
Revise Projects Page
Revises the projects index to group projects in some fashion. I have split out Organization and Affiliate projects to separate sections, then broke the org projects into a few more groups to highlight the most important ones.
1 parent 481f5cb commit 42fead2

4 files changed

Lines changed: 648 additions & 581 deletions

File tree

build.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ object LaikaCustomizations {
419419
"fa-signal-messenger" -> loadFaIcon("brands", "signal-messenger"),
420420
"fa-youtube" -> loadFaIcon("brands", "youtube"),
421421
// solids
422+
"fa-arrow-up" -> loadFaIcon("solid", "arrow-up"),
422423
"fa-book" -> loadFaIcon("solid", "book"),
423424
"fa-envelope" -> loadFaIcon("solid", "envelope"),
424425
"fa-globe" -> loadFaIcon("solid", "globe"),

src/projects/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{%
2-
laika.title: Project Index
2+
laika.title: Typelevel Projects
33
%}

src/projects/default.template.html

Lines changed: 43 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,57 @@
11
@:embed(/templates/main.template.html)
22

33
<div class="bulma-section bulma-container bulma-is-max-desktop">
4-
<h1 class="bulma-title bulma-is-1 bulma-has-text-centered">Project Index</h1>
5-
<div class="bulma-grid bulma-is-col-min-10">
4+
<h1 id="top" class="bulma-title">Typelevel Projects</h1>
5+
<section class="bulma-content">
6+
<p>All Typelevel projects are open source software and maintained by communities following the <a
7+
href="/code-of-conduct/">Typelevel code of conduct</a>.</p>
8+
<p>Typelevel <a href="#organization">organization projects</a> have their own maintainers, but receive additional
9+
support from the Typelevel Foundation to ensure the project remains up to date and secure. These projects include
10+
core components of the 'Typelevel Stack', built around the core organization projects and broadly useful
11+
libraries.</p>
12+
<p><a href="#affiliate">Affiliate projects</a> are built on top of the core Typelevel libraries and follow Typelevel
13+
community guidelines. While not directly supported by the Foundation, these projects are designed to be compatible
14+
with the overall Typelevel ecosystem.</p>
15+
</section>
16+
<h2 class="bulma-title bulma-is-4" id="organization">Organization Projects</h2>
17+
<ul class="bulma-content">
618
@:for(projects)
19+
@:for(_.anchor)
20+
@:empty
21+
<li><a href="#${_.title}">${_.title}</a></li>
22+
@:@
23+
@:@
24+
</ul>
25+
26+
@:for(projects)
27+
@:for(_.anchor)
28+
<h2 id="${_.anchor}" class="bulma-title bulma-is-4">${_.title}</h2>
29+
@:empty
30+
<h3 id="${_.title}" class="bulma-title bulma-is-5">${_.title}</h2>
31+
@:@
32+
@:for(_.description)
33+
<p class="bulma-content">${_.description}</p>
34+
@:@
35+
<div class="bulma-grid bulma-is-col-min-10">
36+
@:for(_.projects)
737
<div class="bulma-cell">
8-
<div class="bulma-card">
38+
<div class="bulma-card bulma-is-flex bulma-is-flex-direction-column">
939
<header class="bulma-card-header">
1040
<p class="bulma-card-header-title">
1141
${_.title}
1242
</p>
13-
<a href="${_.github}" class="bulma-card-header-icon">
14-
<span class="bulma-icon">@:svg(fa-github)</span>
15-
</a>
1643
@:for(_.permalink)
1744
<a href="${_.permalink}" class="bulma-card-header-icon">
18-
<span class="bulma-icon">@:svg(fa-book)</span>
45+
<span class="bulma-icon ">@:svg(fa-book)</span>
1946
</a>
2047
@:@
48+
<a href="${_.github}" class="bulma-card-header-icon">
49+
<span class="bulma-icon">@:svg(fa-github)</span>
50+
</a>
2151
</header>
22-
<div class="bulma-card-content">
23-
<p class="bulma-content">${_.description}</p>
52+
<div class="bulma-card-content bulma-is-flex bulma-is-flex-direction-column bulma-is-flex-grow-1">
53+
<p class="bulma-content bulma-is-flex-grow-1">${_.description}</p>
2454
<div class="bulma-tags">
25-
@:if(_.affiliate)
26-
<span class="bulma-tag bulma-is-primary bulma-is-light">Affiliate Project</span>
27-
@:else
28-
<span class="bulma-tag bulma-is-info bulma-is-light">Organization Project</span>
29-
@:@
3055
@:for(_.platforms)
3156
<span class="bulma-tag">${_}</span>
3257
@:@
@@ -36,6 +61,10 @@ <h1 class="bulma-title bulma-is-1 bulma-has-text-centered">Project Index</h1>
3661
</div>
3762
@:@
3863
</div>
64+
<a href="#" class="bulma-is-pulled-right">
65+
<span class="bulma-icon ">@:svg(fa-arrow-up)</span>Top
66+
</a>
67+
@:@
3968
</div>
4069

4170
@:@

0 commit comments

Comments
 (0)