Add album example

This commit is contained in:
Oliver Davies 2025-03-01 22:15:39 +00:00
parent e879404376
commit f0924cde03
4 changed files with 104 additions and 0 deletions

View file

@ -0,0 +1,22 @@
<div class="max-w-xl mx-auto px-4 py-24 text-center lg:max-w-2xl">
<h1 class="text-4xl">{{ title }}</h1>
<div class="mt-3">
{% if text %}
<p class="text-base leading-relaxed text-gray-500 sm:text-lg">{{ text }}</p>
{% endif %}
{% if buttons %}
<div class="mt-5 mx-auto max-w-md flex flex-col justify-center gap-2 sm:flex-row sm:gap-1">
{% for button in buttons %}
{% include 'button' with {
shape: button.shape,
text: button.text,
type: button.type,
} only %}
{% endfor %}
</div>
{% endif %}
</div>
</div>