[staticPage]
useContent = 1
default = 0

[secondmenu]

[staticMenu mainmenu]
code=mainmenu

[staticMenu footmenu]
code=footmenu
==
{% partial 'shared/head' logo='logos/wappen.png' %}
{% partial 'ui/heading' %}

<div class="container py-12">
    <div class="prose max-w-none">
        {% page %}
    </div>
    {repeater name="articles" tab="Artikel" prompt="Neuer Eintrag"}
        <div class="hidden">
            {richeditor name="content" label="Inhalt" hidden}{/richeditor}
            {text name="price" label="Preis" hidden}{/text}
            {mediafinder name="image" label="Bild"}{/mediafinder}
        </div>
        <div class="flex flex-col md:flex-row mt-10 first:mt-0">
            <div class="mr-5">
                <div class="prose max-w-none">
                    <h2>{text name="title" label="Titel"}{/text}</h2>
                    {richeditor name="content" label="Inhalt" hidden}{/richeditor}
                </div>
                <div class="flex mt-2">
                    <div class="bg-sky-100 text-sky-900 text-sm p-1">{{fields.price}}</div>
                </div>
                <a href="https://stamm-silva.de/anmeldung/stamm-silva-merch/register" class="border-2 border-sky-500 rounded-lg shadow px-4 py-2 inline-block mt-2 mb-2 leading-none hover:bg-sky-100 transition duration-300 no-underline" target="_BLANK">
                    Zur Bestellung
                </a>
            </div>
            <img {{fields.image | resize('original')}} class="w-64 h-auto border-red-700 border-solid border-2 rounded">
        </div>
    {/repeater}
</div>
{% partial 'shared/foot' %}
