aboutsummaryrefslogtreecommitdiff
path: root/templates/download.html
diff options
context:
space:
mode:
authorsptaule <lecas83@gmail.com>2022-02-01 17:17:01 +0100
committersptaule <lecas83@gmail.com>2022-02-01 17:17:01 +0100
commitc2acea04d721d97d8b093f61905d136769a5a7de (patch)
tree9d1c64c0f14694c2b93723ad1f495080feb7ac94 /templates/download.html
parent54ff639713a824474d685193b393c75c4ed8cec6 (diff)
downloadgaragehq.deuxfleurs.fr-c2acea04d721d97d8b093f61905d136769a5a7de.tar.gz
garagehq.deuxfleurs.fr-c2acea04d721d97d8b093f61905d136769a5a7de.zip
Fix: Our Goals content, pagination, download link | Add: Link to doc sections on home imgs
Diffstat (limited to 'templates/download.html')
-rw-r--r--templates/download.html16
1 files changed, 6 insertions, 10 deletions
diff --git a/templates/download.html b/templates/download.html
index 7d5e422..4d01f35 100644
--- a/templates/download.html
+++ b/templates/download.html
@@ -6,11 +6,13 @@
{% block content %}
<section id="download-section" class="section">
- <div class="mx-auto max-w-7xl py-12">
- <div class="flex flex-col items-center justify-center">
- <h1 class="text-garage-orange font-bold text-2xl text-center">Garage releases</h1>
- <div class="my-4 h-1 w-16 bg-garage-orange"></div>
+ <div class="relative w-full py-8 flex flex-col items-center justify-center bg-gray-50 shadow-sm">
+ <h1 class="text-garage-orange font-bold text-2xl text-center">Download</h1>
+ <div class="absolute -bottom-8 left-1/2 transform -translate-x-1/2 w-16 overflow-hidden inline-block">
+ <div class="h-8 w-8 bg-gradient-to-bl from-gray-50 via-gray-50 to-gray-100 -rotate-45 transform origin-top-left shadow"></div>
</div>
+ </div>
+ <div class="mx-auto max-w-7xl px-8 xl:px-0">
<div id="releases-container" class="py-24 space-y-20">
<div id="release-builds">
<h2 class="text-garage-gray text-xl font-semibold">Release Builds</h2>
@@ -90,7 +92,6 @@
<div id="release-builds-source-${i}" class="flex items-center pt-4 space-x-2">
<span>Sources</span>
<a href="https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/${releaseBuilds[i]['version']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
- <svg class="inline w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"></path></svg>
<span>Gitea</span>
</a>
<a href="https://git.deuxfleurs.fr/Deuxfleurs/garage/archive/${releaseBuilds[i]['version']}.zip" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
@@ -109,7 +110,6 @@
window['buildDetail' + i] =
`
<a href="${releaseBuilds[i]['builds'][j]['path']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
- <svg class="inline w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"></path></svg>
<span>
${releaseBuilds[i]['builds'][j]['platform']
.replace('aarch64-unknown-linux-musl', 'linux/arm64')
@@ -138,7 +138,6 @@
<div id="extra-builds-source-${i}" class="flex items-center pt-4 space-x-2">
<span>Sources</span>
<a href="https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/${extraBuilds[i]['version']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
- <svg class="inline w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"></path></svg>
<span>Gitea</span>
</a>
<a href="https://git.deuxfleurs.fr/Deuxfleurs/garage/archive/${extraBuilds[i]['version']}.zip" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
@@ -157,7 +156,6 @@
window['buildDetail' + i] =
`
<a href="${extraBuilds[i]['builds'][j]['path']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
- <svg class="inline w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"></path></svg>
<span>
${extraBuilds[i]['builds'][j]['platform']
.replace('aarch64-unknown-linux-musl', 'linux/arm64')
@@ -186,7 +184,6 @@
<div id="development-builds-source-${i}" class="flex items-center pt-4 space-x-2">
<span>Sources</span>
<a href="https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/${developmentBuilds[i]['version']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
- <svg class="inline w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"></path></svg>
<span>Gitea</span>
</a>
<a href="https://git.deuxfleurs.fr/Deuxfleurs/garage/archive/${developmentBuilds[i]['version']}.zip" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
@@ -205,7 +202,6 @@
window['buildDetail' + i] =
`
<a href="${developmentBuilds[i]['builds'][j]['path']}" class="inline-block p-1.5 text-garage-gray font-bold bg-gray-300 hover:bg-orange-300 rounded border-b-2 border-gray-400 hover:border-orange-400 transition-all duration-300">
- <svg class="inline w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"></path></svg>
<span>
${developmentBuilds[i]['builds'][j]['platform']
.replace('aarch64-unknown-linux-musl', 'linux/arm64')