aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-31 11:54:22 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-31 11:54:22 +0100
commit937245b202c200e1405209c59893d459b2194d2f (patch)
tree38dc667fb81be27b3b21e5cfccbf36d5fbc8fefd /templates/index.html
parent4dde9b0855ad8edf5eef72036ee788aeeb5cd775 (diff)
parente5beba07d6b9e102cc28c7474b9db0ae11ec3c79 (diff)
downloadgaragehq.deuxfleurs.fr-937245b202c200e1405209c59893d459b2194d2f.tar.gz
garagehq.deuxfleurs.fr-937245b202c200e1405209c59893d459b2194d2f.zip
Merge branch 'master' of git.deuxfleurs.fr:sptl/garage_website
Diffstat (limited to 'templates/index.html')
-rwxr-xr-xtemplates/index.html90
1 files changed, 60 insertions, 30 deletions
diff --git a/templates/index.html b/templates/index.html
index 08cce9c..d859bcb 100755
--- a/templates/index.html
+++ b/templates/index.html
@@ -5,28 +5,49 @@
<div>
<div class="flex flex-col items-center justify-center py-12 px-12 xl:px-0">
- <img src="{{ config.extra.organization.logo }}" width="220px" class="" />
+ <h1 class="hidden">{{config.extra.organization.name}}</h1>
+ <img src="{{ config.extra.organization.logo }}" width="220px" alt="{{config.extra.organization.name}}"/>
<p class="text-gray-500 leading-10 pt-4 text-xl text-center">{{ config.extra.organization.description }}</p>
- <div class="max-w-7xl mx-auto grid-cols-1 md:grid grid-cols-3 gap-x-32 py-12">
- <div class="group flex flex-col items-start justify-center p-2">
- <img src="{{ get_url(path='images/host2.png') }}" class="transform group-hover:translate-y-4 transition duration-500">
- <span class="text-xl text-gray-700 font-semibold mt-4 transform group-hover:-translate-y-2 transition duration-500">Host a Website</span>
+ <div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-x-32 py-12">
+ <div class="group flex flex-col items-center justify-center p-2">
+ <img src="{{ get_url(path='images/host.png') }}" class="transform group-hover:translate-y-2 transition duration-500">
+ <span class="text-xl text-gray-700 font-semibold mt-4 transform group-hover:-translate-y-1 transition duration-500 whitespace-nowrap">Host a Website</span>
</div>
<div class="group flex flex-col items-center justify-center p-2">
- <img src="{{ get_url(path='images/store.png') }}" class="transform group-hover:translate-y-4 transition duration-500">
- <span class="text-xl text-gray-700 font-semibold mt-4 transform group-hover:-translate-y-2 transition duration-500">Store Media</span>
+ <img src="{{ get_url(path='images/store.png') }}" class="transform group-hover:translate-y-2 transition duration-500">
+ <span class="text-xl text-gray-700 font-semibold mt-4 transform group-hover:-translate-y-1 transition duration-500 whitespace-nowrap">Store Media</span>
</div>
- <div class="group flex flex-col items-end justify-center p-2">
- <img src="{{ get_url(path='images/backup.png') }}" class="transform group-hover:translate-y-4 transition duration-500">
- <span class="text-xl text-gray-700 font-semibold mt-4 transform group-hover:-translate-y-2 transition duration-500">Backup Target</span>
+ <div class="group flex flex-col items-center justify-center p-2">
+ <img src="{{ get_url(path='images/backup.png') }}" class="transform group-hover:translate-y-2 transition duration-500">
+ <span class="text-xl text-gray-700 font-semibold mt-4 transform group-hover:-translate-y-1 transition duration-500 whitespace-nowrap">Backup Target</span>
</div>
</div>
</div>
- <div class="grid grid-cols-1 xl:grid-cols-2 gap-x-0 xl:gap-x-12 gap-y-24 text-garage-gray font-light bg-gray-100 py-12 w-full shadow-inner">
+ <div class="w-full flex flex-col items-center justify-center border-b">
+ <div id="map-container" class="relative w-full shadow-inner border-t border-b">
+ <span class="hidden md:inline-block absolute top-1/2 left-1/2 transform -translate-y-1/2 text-xl md:text-2xl lg:text-3xl text-white font-light select-none px-2 py-1.5 rounded shadow-lg border border-gray-400" style="background:#999999;">
+ Made for redundancy
+ </span>
+ </div>
+ <div id="map-legend-container" class="max-w-7xl mx-auto flex flex-col lg:flex-row items-center justify-around lg:space-x-12 py-2 text-sm text-gray-700">
+ <div>
+ <p class="text-base text-gray-600">Each chunk of data is replicated in 3 zones</p>
+ </div>
+ <div class="flex items-center space-x-2">
+ <img class="select-none" src="{{ get_url(path='icons/servers.svg') }}" width="48px">
+ <span>Zone (multiple servers)</span>
+ </div>
+ <div class="flex items-center space-x-2">
+ <img class="select-none" src="{{ get_url(path='icons/datachunks.svg') }}" width="48px">
+ <span>Chunks of data</span>
+ </div>
+ </div>
+ </div>
- <div class="flex flex-col items-center justify-center space-y-2">
- <h2 class="mb-2 text-2xl font-bold text-garage-orange leading-5">Our Goals</h2>
+ <div class="grid grid-cols-1 xl:grid-cols-2 gap-x-0 xl:gap-x-12 gap-y-24 text-garage-gray font-light bg-gray-100 py-12 px-4 md:px-0 w-full shadow-inner">
+ <div class="flex flex-col items-center justify-start space-y-2">
+ <h2 class="mb-2 text-xl text-center md:text-2xl font-bold text-garage-orange leading-5">Our Goals</h2>
<div class="w-8 h-1 bg-garage-orange"></div>
<p class="text-center leading-5 italic">We made it lightweight and kept the efficiency in mind.</p>
<ul class="list-style-none font-semibold flex flex-col items-center justify-center py-4">
@@ -58,8 +79,8 @@
</ul>
</div>
- <div class="flex flex-col items-center justify-center space-y-2">
- <h2 class="mb-2 text-2xl font-bold text-garage-orange leading-5">Keeping requirements low</h2>
+ <div class="flex flex-col items-center justify-start space-y-2">
+ <h2 class="mb-2 text-xl text-center md:text-2xl font-bold text-garage-orange leading-5">Keeping requirements low</h2>
<div class="w-8 h-1 bg-garage-orange"></div>
<p class="text-center leading-5 italic">
We worked hard to keep requirements as low as possible<br>as we target the largest possible public.
@@ -68,43 +89,43 @@
<li class="flex flex-col md:flex-row items-center justify-start">
<div class="flex items-center space-x-2 w-max whitespace-nowrap bg-gray-200 shadow-inner py-0.5 px-1.5 rounded-md">
<img src="{{ get_url(path='icons/cpu.svg') }}" width="24px">
- <span class="font-semibold">CPU</span>
+ <span class="font-normal">CPU</span>
</div>
<span class="px-2">Any x86_64 CPU from the last 10 years, ARMv7 or ARMv8</span>
</li>
<li class="flex flex-col md:flex-row items-center justify-start">
<div class="flex items-center space-x-2 w-max whitespace-nowrap bg-gray-200 shadow-inner py-0.5 px-1.5 rounded-md">
<img src="{{ get_url(path='icons/ram.svg') }}" width="24px">
- <span class="font-semibold">RAM</span>
+ <span class="font-normal">RAM</span>
</div>
<span class="px-2">1 GB</span>
</li>
<li class="flex flex-col md:flex-row items-center justify-start">
<div class="flex items-center space-x-2 w-max whitespace-nowrap bg-gray-200 shadow-inner py-0.5 px-1.5 rounded-md">
<img src="{{ get_url(path='icons/disk.svg') }}" width="24px">
- <span class="font-semibold">Disk space</span>
+ <span class="font-normal">Disk space</span>
</div>
<span class="px-2">At least 16 GB</span>
</li>
<li class="flex flex-col md:flex-row items-center justify-start">
<div class="flex items-center space-x-2 w-max whitespace-nowrap bg-gray-200 shadow-inner py-0.5 px-1.5 rounded-md">
<img src="{{ get_url(path='icons/network.svg') }}" width="24px">
- <span class="font-semibold">Network</span>
+ <span class="font-normal">Network</span>
</div>
<span class="px-2">200 ms or less, 50 Mbps or more</span>
</li>
<li class="flex flex-col items-center md:items-start justify-center">
<div class="flex items-center space-x-2 w-max whitespace-nowrap bg-gray-200 shadow-inner py-0.5 px-1.5 rounded-md">
<img src="{{ get_url(path='icons/hardware.svg') }}" width="24px">
- <span class="font-semibold">Heterogeneous hardware</span>
+ <span class="font-normal">Heterogeneous hardware</span>
</div>
<span class="px-2">Build a cluster with whatever second-hand machines are available</span>
</li>
</ul>
</div>
- <div class="flex flex-col items-center justify-center space-y-2 px-6 xl:px-0">
- <h2 class="mb-2 text-2xl font-bold text-garage-orange leading-5">Data resiliency for everyone</h2>
+ <div class="flex flex-col items-center justify-start space-y-2 px-6 xl:px-0">
+ <h2 class="mb-2 text-xl text-center md:text-2xl font-bold text-garage-orange leading-5">Data resiliency for everyone</h2>
<div class="w-8 h-1 bg-garage-orange"></div>
<p class="text-center leading-5 italic pb-4">
Lorem ipsum dolor sit amet consectetur adipisicing elit.
@@ -125,7 +146,7 @@
</li>
<li class="flex items-center justify-start">
<a href="https://cyberduck.io/" target="_blank" title="Cyberduck">
- <img class="h-20 w-20" src="{{ get_url(path='images/cyberduck-logo.png') }}" alt="Cyberduck">
+ <img class="w-20" src="{{ get_url(path='images/cyberduck-logo.png') }}" alt="Cyberduck">
</a>
</li>
<li class="flex items-center justify-start">
@@ -146,8 +167,8 @@
</ul>
</div>
- <div class="flex flex-col items-center justify-center space-y-2 px-6 xl:px-0">
- <h2 class="mb-2 text-2xl font-bold text-garage-orange leading-5">Built on the shoulder of giants</h2>
+ <div class="flex flex-col items-center justify-start space-y-2 px-6 xl:px-0">
+ <h2 class="mb-2 text-xl text-center md:text-2xl font-bold text-garage-orange leading-5">Standing on the shoulders of giants</h2>
<div class="w-8 h-1 bg-garage-orange"></div>
<p class="text-center leading-5 italic">
Lorem ipsum dolor sit amet consectetur adipisicing elit.
@@ -167,14 +188,23 @@
</li>
</ul>
</div>
-
</div>
- {% if section.content %}
- <div class="content max-w-7xl mx-auto py-12">
- {{ section.content | safe }}
+ <div class="w-full flex flex-col items-center justify-center shadow-inner"></div>
+ <div class="px-8 py-24 space-y-8 text-garage-gray max-w-4xl mx-auto">
+ <h2 class="text-2xl text-garage-orange font-semibold">Sponsors and funding</h2>
+ <p>
+ The Deuxfleurs association has received a grant from <a class="text-garage-orange underline" href="https://pointer.ngi.eu/" target="_blank">NGI POINTER</a>,
+ to fund 3 people working on Garage full-time for a year : from October 2021 to September 2022.
+ </p>
+ <img src="{{ get_url(path='images/ngi-pointer-eu.png') }}" class="w-2/3" alt="NGI Pointers">
+ <p class="italic">
+ This project has received funding from the European Union's Horizon 2021 research and innovation programme
+ within the framework of the NGI-POINTER Project funded under grant agreement N° 871528.
+ </p>
</div>
- {% endif %}
+ </div>
+
</div>
</section>
{% endblock %}