This commit is contained in:
marc-kbpm
2022-12-02 19:28:05 +01:00
parent a4d6ab14ff
commit 4286641ec6
49 changed files with 2197 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body class="bg-[#ffffff] flex flex-col min-h-screen">
{{- partial "header.html" . -}}
<main class="flex-1 flex flex-col py-6">
{{ block "main" . }}
{{ end }}
</main>
{{- partial "footer.html" . -}}
</body>
</html>

View File

@ -0,0 +1,74 @@
{{ define "main" }}
<div class="w-full">
<div class="container m-auto">
<div class="grid grid-cols-12 gap-14">
<div class="col-span-8 col- md:col-span-6">
<h1 class="text-5xl leading-10 font-normal text-forest mb-16">Towards a human-centric,<br />
next generation Internet.</h1>
<p class="w-64 h-8 text-2xl font-medium leading-loose text-salmon mb-4">Latest from the blog</p>
<div class="max-w-lg">
{{ range last 1 (where site.RegularPages "Type" "blog").ByDate }}
{{ partial "cards/blog-item" . }}
{{ end }}
</div>
</div>
<div class="col-span-4 md:col-span-6 max-w-xl">
<div class="inline-flex flex-col space-y-6">
<p class="w-64 h-8 text-2xl font-semibold leading-loose text-forest">What is Interpeer?</p>
<p class="text-lg leading-relaxed text-forest">The Interpeer
Projects objective is to empower a human centric internet. In practice, this currently takes
the
form of a technological initiative with the goal of providing a secure and efficient
peer-to-peer
networking stack, bypassing the protocols of the past. </p>
<h2 class="pt-8 font-normal text-5xl leading-10 text-forest">The future is fully distributed.</h2>
<p class="text-lg leading-relaxed text-forest">This initiative
is home to a growing number of projects, that can be explored in detail on this website. The
project's technical documentation is also available and regularly updated.
<br />
</p>
<div class="py-5 px-4 bg-forest w-full">
<div class="relative">
<p class="text-xl leading-7 text-white">Interested in supporting this
project? <a href="#"
class="text-xl font-medium leading-7 underline text-white uppercase">
donate</a></p>
</div>
</div>
</div>
</div>
</div>
<div class="py-12 lg:py-20 flex justify-center align-middle">
{{ partial "mail-subscription" . }}
</div>
</div>
</div>
<!-- Towards a human-centric, next generation Internet.
What is Interpeer?
The Interpeer Projects objective is to empower a human centric internet. In practice, this currently takes the
form of a technological initiative with the goal of providing a secure and efficient peer-to-peer networking
stack, bypassing the protocols of the past.
The future is fully distributed.
This initiative is home to a growing number of projects, that can be explored in detail on this website. The
project's technical documentation is also available and regularly updated.
Interested in supporting this project? -->
{{ end }}

View File

@ -0,0 +1,33 @@
{{ define "main" }}
<div class="container mx-auto">
<div class="inline-flex mb-8">
<a href="/blog/"
class="inline-flex items-center px-4 py-3 border border-forest text-forest hover:bg-forest hover:text-white">
<span class="flex-1 h-full text-xl font-medium leading-7 text-center">All</span>
</a>
{{$currentpage := .Page.Data.Term}}
{{ range .Site.Taxonomies.categories }}
{{ if eq $currentpage .Page.Title}}
<a href="{{ .Page.Permalink }}" class="inline-flex items-center px-4 py-3 border bg-forest border-forest">
<span class="h-full text-xl font-medium leading-7 text-center text-white">{{ .Page.Title }}</span>
</a>
{{ else }}
<a href="{{ .Page.Permalink }}"
class="inline-flex items-center px-4 py-3 border border-forest text-forest hover:bg-forest hover:text-white">
<span class="h-full text-xl font-medium leading-7 text-center">{{ .Page.Title }}</span>
</a>
{{ end }}
{{ end }}
</div>
{{ $paginator := .Paginate (where .Pages "Type" "blog") }}
<div class="grid grid-cols-2 gap-16">
{{ range $paginator.Pages }}
{{ partial "cards/blog-item" . }}
{{ end }}
</div>
{{ template "partials/pagination.html" . }}
</div>
{{ end }}