commit db8398265e8d9b2062fab81802afb6bda3cce460 Author: Florent Tribouilloy Date: Thu Nov 27 00:12:36 2025 +0100 init repo diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd7e7d5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +public +*~ +.hugo_build.lock diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..f5d2908 --- /dev/null +++ b/content/about.md @@ -0,0 +1,15 @@ +--- +title: "À propos" +--- + +## Le but + +Apprendre à diagnostiquer, à réparer. + +## Comment ça marche ? + +1. Vous apportez votre objet cassé +2. Nous vous aidons à diagnostiquer la panne +3. Nous vous formons pour pouvoir réparer la panne et sur la sécurité +4. Nous vous guidons sur les étapes de réparations +5. Vous repartez avec de nouvelles compétences et un objet possiblement réparé ! diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 0000000..a916d43 --- /dev/null +++ b/content/contact.md @@ -0,0 +1,13 @@ +--- +title: "Contact" +--- + +## Email + +[repair-cafe@ariege.org](mailto:repair-cafe@ariege.org) + +## Signal + +[Lien vers le groupe Signal](https://signal.group/#CjQKIAi5hEPZAURQ1OeINzRVDwUPLTTC_m44DvLV4bm3OTOIEhA2xOrPcBxVDOXPx30bU0_k) + +![signal-qrcode](/images/signal-group.png?width=100) diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..b10a398 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,5 @@ +baseURL = 'https://repair-cafe.tribouilloy.com' +languageCode = 'fr-fr' +title = 'Repair Café du Haut Salat' + +[taxonomies] \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..3a71ffd --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,31 @@ + + + + + + {{ .Title }} - {{ .Site.Title }} + + + +
+ +
+ +
+ {{ block "main" . }}{{ end }} +
+ + + + \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..60e57ca --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{ define "main" }} + +

{{ .Title }}

+ {{ .Content }} +
+{{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..c8f2e5f --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,38 @@ +{{ define "main" }} +
+

Repair Café du Haut Salat

+

Diagnostiquer, réparer, transmettre

+
+ +
+

Lab Place

+

Dernier samedi du mois, de 14h à 18h

+

Lab Place, route d’Aulus à Oust

+
+ +
+

Qu'est-ce que le Repair Café du Haut Salat ?

+

Une équipe de bénévoles est présente pour aider à réparer des objets cassés, installer Linux + ou former à l’utilisation des logiciels libres/trouver des alternatives.

+ +

Qu’est ce que l’on fait ?

+

+ Lors des réparations, nous aidons au diagnostic, guidons pour réparer et servons de troisième main. + La liste des objets pouvant être réparés dépend des bénévoles et des outils présents ce jour-là. +

+ +

Qu’est ce que l’on ne fait pas ?

+

On ne fait pas du service de réparation. Les bénévoles

+ +

Qui ?

+

+ Ce Repair Café est porté par trois associations locales (Lab Place, Hélios, La Ressourcerie du Haut Salat) + ainsi que des bénévoles qui organisent et animent ce moment. +

+ +

Coût ?

+

+ Le Repair Café est gratuit. +

+
+{{ end }} \ No newline at end of file diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..2a447e0 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,277 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: Arial, Helvetica, sans-serif; + line-height: 1.6; + color: #2e2c7e; + background: #e1e1e1; +} + +header { + background: #2e2c7e; + color: white; + padding: 1rem 0; +} + +nav { + max-width: 1200px; + margin: 0 auto; + padding: 0 2rem; + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; +} + +nav h1 { + font-size: 1.8rem; + font-weight: bold; +} + +nav h1 a { + color: white; + text-decoration: none; +} + +nav ul { + display: flex; + list-style: none; + gap: 2rem; +} + +nav a { + color: white; + text-decoration: none; + transition: color 0.3s; + font-weight: 500; +} + +nav a:hover { + color: #EF694A; +} + +main { + max-width: 1200px; + margin: 2rem auto; + padding: 0 2rem; + min-height: 60vh; +} + +.maintitle { + text-align: center; + padding: 4rem 2rem; + background: white; + color: #2e2c7e; + margin: -2rem -2rem 3rem -2rem; + border-radius: 8px; +} + +.maintitle h1 { + font-size: 3rem; + margin-bottom: 1rem; + font-weight: bold; + color: #2e2c7e; +} + +.maintitle p { + font-size: 1.4rem; + font-weight: 400; + color: #EF694A; +} + +section { + margin: 3rem 0; + padding: 2rem; + background: white; + border-radius: 8px; +} + +section h2 { + color: #2e2c7e; + margin-bottom: 1.5rem; + font-size: 2rem; + font-weight: bold; +} + +section h3 { + color: #EF694A; + margin-top: 1.5rem; + margin-bottom: 1rem; + font-size: 1.5rem; +} + +section p { + font-size: 1.1rem; + margin-bottom: 1rem; + color: #2e2c7e; +} + +.repair-dates { + background: white; + border: 3px solid #EF694A; + text-align: center; + padding: 3rem 2rem; +} + +.repair-dates h2 { + color: #2e2c7e; + margin-bottom: 2rem; +} + +.date { + font-size: 2rem; + font-weight: bold; + color: #EF694A; + margin: 1rem 0; +} + +.lieu { + font-size: 1.3rem; + color: #2e2c7e; +} + +.presentation { + background: white; +} + +content { + padding: 2rem; + background: white; + border-radius: 8px; +} + +content h1 { + color: #2e2c7e; + margin-bottom: 2rem; + font-size: 2.5rem; + font-weight: bold; +} + +content h2 { + color: #2e2c7e; + margin-top: 2rem; + margin-bottom: 1rem; + font-size: 1.8rem; + font-weight: bold; +} + +content h3 { + color: #EF694A; + margin-top: 1.5rem; + margin-bottom: 1rem; + font-size: 1.4rem; +} + +content p { + margin-bottom: 1rem; + font-size: 1.1rem; + color: #2e2c7e; +} + +content ul, content ol { + margin-left: 2rem; + margin-bottom: 1rem; + font-size: 1.1rem; + color: #2e2c7e; +} + +content li { + margin-bottom: 0.5rem; +} + +footer { + background: #2e2c7e; + color: white; + text-align: center; + padding: 2rem; + margin-top: 4rem; +} + +footer p { + margin: 0.5rem 0; +} + +footer a { + color: #EF694A; + text-decoration: none; +} + +footer a:hover { + text-decoration: underline; +} + +.btn { + display: inline-block; + padding: 1rem 2rem; + background: #2e2c7e; + color: white; + text-decoration: none; + border: none; + font-weight: bold; + font-size: 1.1rem; + transition: all 0.3s; + cursor: pointer; + border-radius: 5px; +} + +.btn:hover { + background: #EF694A; +} + +.btn-secondary { + background: #EF694A; +} + +.btn-secondary:hover { + background: #2e2c7e; +} + +img[alt=signal-qrcode] { + width: 20%; + align-items: center; +} + +@media (max-width: 768px) { + nav { + flex-direction: column; + gap: 1rem; + } + + nav ul { + gap: 1rem; + flex-wrap: wrap; + justify-content: center; + } + + .maintitle h1 { + font-size: 2rem; + } + + .maintitle p { + font-size: 1.1rem; + } + + section { + padding: 1.5rem; + } + + section h2 { + font-size: 1.5rem; + } +} + +.btn-nav { + background: #EF694A; + padding: 0.5rem 1rem; + border-radius: 5px; + transition: all 0.3s; +} + +.btn-nav:hover { + background: white; + color: #EF694A !important; +} diff --git a/static/images/signal-group.png b/static/images/signal-group.png new file mode 100644 index 0000000..ed7bc9a Binary files /dev/null and b/static/images/signal-group.png differ