consortium front page grid

This commit is contained in:
Laurens 2024-05-01 15:22:32 +02:00
parent 30eb7df02f
commit 80b59e1f81
3 changed files with 98 additions and 1004 deletions

View file

@ -10,7 +10,7 @@ banner:
link: "/individuals"
# Features
features:
features3:
- title: "Consortium"
image: "/images/users.png"
content: "The Consortium behind the Fediversity project is a cooperation between NLnet, Open Internet Discourse Foundation, NORDUnet and Tweag."
@ -51,30 +51,7 @@ features:
label: "Learn more"
link: "/nordunet"
- title: "Fediversity explained - for Individuals"
image: "/images/user.png"
content: "Always be in control with your own data on social networks, whether that's with Mastodon, PeerTube or Pixelfed: Fediversity makes it possible."
button:
enable: true
label: "Learn more"
link: "/individuals"
- title: "Fediversity explained - for Developers"
image: "/images/code.png"
content: "As a developer building the next generation of social platforms, you are looking to make it easier to facilitate your customers to use your product. Fediversity can help."
button:
enable: true
label: "Learn more"
link: "/developers"
- title: "Fediversity explained - for the EC"
image: "/images/globe.png"
content: "The Fediversity Project operates on a grant gratiously provided by the HORIZON fund by the EC. Learn more about the accountability of the project."
button:
enable: true
label: "Learn more"
link: "/ec"
features:
- title: "Fediversity Grants"
image: "/images/stepping-up.png"
content: "Fediversity will award 450 000 euro in small to medium-size R&D grants towards solutions that bring the next generation of social networks closer. We are seeking project proposals between 5.000 and 50.000 euros — which should get you on your way."

View file

@ -38,6 +38,32 @@
{{ end }}
<!-- /Banner -->
<!-- Features -->
<center><h2> Consortium</h2></center>
<div class="container">
<div class="grid-container">
{{ range $i, $e := .Params.features3 }}
<div class="grid-item">
<div class="header-with-image">
<img src="{{ .image }}" alt="Image">
<h4 class="mb-4">{{ .title | markdownify }}</h4>
</div>
<p class="mb-8 text-lg">{{ .content | markdownify }}</p>
{{ with .button }} {{ if .enable }}
<a class="btn btn-primary mt-6" href="{{ .link | absURL }}">
{{ .label }}
<i class="fa fa-arrow-right pl-2"></i>
</a>
{{ end }} {{ end }}
</div>
{{ end }}
</div>
</div>
<!-- /Features -->
<!-- Features -->
{{ range $i, $e:= .Params.features }}
@ -118,11 +144,11 @@
<div class="grid-container">
<div class="column">
<ul class="list">
{{ if gt (len (where .Site.RegularPages "Section" "blog")) 0 }}
{{ if gt (len (where .Site.RegularPages "Section" "events")) 0 }}
<section>
<h2>Laatste nieuws</h2>
<h2>Upcoming Events</h2>
<ul class="list">
{{ range (first 5 (where .Site.RegularPages "Section" "blog").ByDate.Reverse) }}
{{ range (first 5 (where .Site.RegularPages "Section" "events").ByDate.Reverse) }}
<li class="list-item">
<div class="content">
<a class="link" href="{{ .RelPermalink }}">{{ .Title }}</a>
@ -141,7 +167,7 @@
<ul class="list">
{{ if gt (len (where .Site.RegularPages "Section" "blog")) 0 }}
<section>
<h2>Laatste nieuws</h2>
<h2>Latest News</h2>
<ul class="list">
{{ range (first 5 (where .Site.RegularPages "Section" "blog").ByDate.Reverse) }}
<li class="list-item">

File diff suppressed because it is too large Load diff