chore: reformat and clean up PHP templates, snippets, and configurations

Standardized code formatting across multiple files for improved readability and consistency.
This commit is contained in:
2025-06-29 10:59:56 +02:00
parent f36f69082d
commit 2bf81134c7
12 changed files with 523 additions and 348 deletions
+8 -4
View File
@@ -7,15 +7,19 @@
<div class="w-full max-w-lg">
<p class="lg:pt-0 pt-6 text-xl"><?= $page->heroText() ?></p>
<?php if ($page->heroButton()->isNotEmpty()): ?>
<?php
if ($page->heroButton()->isNotEmpty()): ?>
<div class="mt-6 flex flex-wrap gap-4 md:mt-8">
<a href="<?= $page->buttonLink() ?>" class="hover:cursor-pointer hover:text-sf_gelb-500" target="_blank">
<button class="rounded-button inline-flex gap-3 items-center justify-center whitespace-nowrap transition-all duration-200 ease-in-out disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none border border-border-primary text-text-primary bg-background-primary px-6 py-3" title="Kontakt" type="button">
<a href="<?= $page->buttonLink() ?>" class="hover:cursor-pointer hover:text-sf_gelb-500"
target="_blank">
<button class="rounded-button inline-flex gap-3 items-center justify-center whitespace-nowrap transition-all duration-200 ease-in-out disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none border border-border-primary text-text-primary bg-background-primary px-6 py-3"
title="Kontakt" type="button">
<?= $page->heroButton() ?>
</button>
</a>
</div>
<?php endif ?>
<?php
endif ?>
</div>
</div>