Initial layout styling

This commit is contained in:
Oliver Davies 2024-01-03 20:00:00 +00:00
parent d1034af1d7
commit d9c38790c8
2 changed files with 15 additions and 13 deletions

View file

@ -7,7 +7,7 @@
{{ testimonial.text|markdown }} {{ testimonial.text|markdown }}
{% if testimonial.image %} {% if testimonial.image %}
<img alt="Photo of {{ testimonial.name }}" src="{{ testimonial.image.url }}" /> <img class="size-20 rounded-full" alt="Photo of {{ testimonial.name }}" src="{{ testimonial.image.url }}" />
{% endif %} {% endif %}
<footer> <footer>

View file

@ -1,15 +1,17 @@
<link rel="stylesheet" href="/build/tailwind.css" /> <link rel="stylesheet" href="/build/tailwind.css" />
<div> <div class="px-4 md:px-6 max-w-4xl mx-auto">
<main> <div class="space-y-10">
<h1>{{ page.title }}</h1> <main>
<h1>{{ page.title }}</h1>
{% block content %}{% endblock %}
</main> {% block content %}{% endblock %}
</main>
{% block content_bottom %}{% endblock %}
{% block content_bottom %}{% endblock %}
<footer>
{% include 'main-menu.html.twig' %} <footer>
</footer> {% include 'main-menu.html.twig' %}
</footer>
<div>
<div> <div>