Added judo downloads for club access

This commit is contained in:
Dylan Baird 2026-04-21 15:06:16 -04:00
parent fe3a8c4314
commit 77f8f5b546
7 changed files with 65 additions and 0 deletions

View file

@ -26,6 +26,11 @@ plex.dylanbaird.com {
reverse_proxy 192.168.2.31:32400
}
judo.dylanbaird.com {
root * /srv/judo
file_server
}
dylanbaird.com {
root * /srv/dylanbaird
file_server

View file

@ -6,4 +6,6 @@ COPY ./dylanbaird.com/src/ /srv/dylanbaird
COPY ./alloro.ca/ /srv/alloro
COPY ./judo/ /srv/judo
RUN caddy fmt --overwrite /etc/caddy/Caddyfile

View file

@ -11,6 +11,10 @@ echo "Copying static assets for alloro.ca"
mkdir -p alloro.ca
cp ../alloro.ca/index*.html alloro.ca/
echo "Copying static assets for judo.dylanbaird.com"
mkdir -p judo
cp -r ../judo/* judo/
echo "Building Docker container."
docker build -t boulangermontrealais/barrios:caddy .
@ -20,4 +24,7 @@ docker push boulangermontrealais/barrios:caddy
echo "Cleaning up artifacts for dylanbaird.com."
rm -rf dylanbaird.com
echo "Cleaning up artifacts for judo.dylanbaird.com."
rm -rf judo
echo "Build and push completed successfully."

BIN
judo/gokyo.pdf Normal file

Binary file not shown.

51
judo/index.html Normal file
View file

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Judo Magog</title>
<style>
body {
font-family: sans-serif;
max-width: 600px;
margin: 60px auto;
text-align: center;
padding: 0 20px;
}
img {
max-width: 300px;
margin-bottom: 40px;
}
h2 {
margin-bottom: 24px;
}
.downloads {
display: flex;
flex-direction: column;
gap: 16px;
align-items: center;
}
a {
display: inline-block;
padding: 12px 28px;
background: #1a1a2e;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-size: 1rem;
min-width: 260px;
}
a:hover {
background: #16213e;
}
</style>
</head>
<body>
<img src="judo-magog.jpg" alt="Judo Magog">
<h2>Téléchargements</h2>
<div class="downloads">
<a href="gokyo.pdf" download>Gokyo (PDF)</a>
<a href="judo-technique-yannick.odt" download>Techniques Yannick (ODT)</a>
</div>
</body>
</html>

BIN
judo/judo-magog.jpg Normal file

Binary file not shown.

Binary file not shown.