Add content

This commit is contained in:
Edgar P. Burkhart 2024-06-12 16:07:54 +02:00
parent 3c0ee98fa1
commit b1596dcdc8
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
6 changed files with 26 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/node_modules /node_modules
__pycache__ __pycache__
/lps/db.sqlite3 /lps/db.sqlite3
/lps/media

View File

@ -2,5 +2,10 @@
{% load wagtailcore_tags %} {% load wagtailcore_tags %}
{% block body_class %}template-homepage{% endblock %} {% block body_class %}template-homepage{% endblock %}
{% block content %} {% 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 %} {% endblock content %}

View File

@ -1,3 +1,11 @@
:root { :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%;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -23,6 +23,7 @@
{# Global stylesheets #} {# Global stylesheets #}
<link rel="preconnect" href="https://rsms.me/"> <link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css"> <link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="preconnect" href="https://cdn.jsdelivr.net/">
<link rel="stylesheet" <link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css" /> 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' %}"> <link rel="stylesheet" type="text/css" href="{% static 'css/lps.css' %}">
@ -36,6 +37,9 @@
<main> <main>
{% block content %}{% endblock %} {% block content %}{% endblock %}
</main> </main>
<footer>
{% include "footer.html" %}
</footer>
{# Global javascript #} {# Global javascript #}
<script type="text/javascript" src="{% static 'js/lps.js' %}"></script> <script type="text/javascript" src="{% static 'js/lps.js' %}"></script>
{% block extra_js %}{# Override this in templates to add extra javascript #}{% endblock %} {% block extra_js %}{# Override this in templates to add extra javascript #}{% endblock %}

View File

@ -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>