From b1596dcdc8d4e456b0d42b1e43d5bb4823cddb43 Mon Sep 17 00:00:00 2001
From: "Edgar P. Burkhart" <git@edgarpierre.fr>
Date: Wed, 12 Jun 2024 16:07:54 +0200
Subject: [PATCH] Add content

---
 .gitignore                             |   1 +
 lps/home/templates/home/home_page.html |   7 ++++++-
 lps/lps/static/css/lps.css             |  10 +++++++++-
 lps/lps/static/img/mariaks.png         | Bin 0 -> 20539 bytes
 lps/lps/templates/base.html            |   4 ++++
 lps/lps/templates/footer.html          |   6 ++++++
 6 files changed, 26 insertions(+), 2 deletions(-)
 create mode 100644 lps/lps/static/img/mariaks.png
 create mode 100644 lps/lps/templates/footer.html

diff --git a/.gitignore b/.gitignore
index 98c5b4b..d8f9bca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /node_modules
 __pycache__
 /lps/db.sqlite3
+/lps/media
diff --git a/lps/home/templates/home/home_page.html b/lps/home/templates/home/home_page.html
index 539fa7d..90b2270 100644
--- a/lps/home/templates/home/home_page.html
+++ b/lps/home/templates/home/home_page.html
@@ -2,5 +2,10 @@
 {% load wagtailcore_tags %}
 {% block body_class %}template-homepage{% endblock %}
 {% block content %}
-    <div class="container mx-auto">{{ page.body|richtext }}</div>
+    <h1>Lycée du Pays de Soule</h1>
+    <p>Formations générales, scientifiques et technologiques</p>
+    <hr>
+    <section>
+        {{ page.body|richtext }}
+    </section>
 {% endblock content %}
diff --git a/lps/lps/static/css/lps.css b/lps/lps/static/css/lps.css
index 65fc1af..92b7251 100644
--- a/lps/lps/static/css/lps.css
+++ b/lps/lps/static/css/lps.css
@@ -1,3 +1,11 @@
 :root {
-	--pico-font-family: Inter, sans-serif;
+	--pico-font-family-sans-serif: Inter, sans-serif;
+}
+
+h1, h2, h3, h4, h5, h6 {
+	--pico-font-weight: 600;
+}
+
+img.full-width {
+	width: 100%;
 }
diff --git a/lps/lps/static/img/mariaks.png b/lps/lps/static/img/mariaks.png
new file mode 100644
index 0000000000000000000000000000000000000000..9dde3766f76d4ea471fb79658551f3b3c21be33a
GIT binary patch
diff --git a/lps/lps/templates/base.html b/lps/lps/templates/base.html
index 64e51a5..dd3a8aa 100644
--- a/lps/lps/templates/base.html
+++ b/lps/lps/templates/base.html
@@ -23,6 +23,7 @@
         {# Global stylesheets #}
         <link rel="preconnect" href="https://rsms.me/">
         <link rel="stylesheet" href="https://rsms.me/inter/inter.css">
+        <link rel="preconnect" href="https://cdn.jsdelivr.net/">
         <link rel="stylesheet"
               href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css" />
         <link rel="stylesheet" type="text/css" href="{% static 'css/lps.css' %}">
@@ -36,6 +37,9 @@
         <main>
             {% block content %}{% endblock %}
         </main>
+        <footer>
+            {% include "footer.html" %}
+        </footer>
         {# Global javascript #}
         <script type="text/javascript" src="{% static 'js/lps.js' %}"></script>
         {% block extra_js %}{# Override this in templates to add extra javascript #}{% endblock %}
diff --git a/lps/lps/templates/footer.html b/lps/lps/templates/footer.html
new file mode 100644
index 0000000..708031b
--- /dev/null
+++ b/lps/lps/templates/footer.html
@@ -0,0 +1,6 @@
+<hr>
+<section>
+    <p>
+        Lycée du Pays de Soule – Avenue Jean Monnet, 64130 Chéraute – <a href="tel:+33559282228">+33&nbsp;5&nbsp;59&nbsp;28&nbsp;22&nbsp;28</a> – <a href="mailto:ce.0641779L@ac-bordeaux.fr">ce.0641779L@ac-bordeaux.fr</a>
+    </p>
+</section>
