feat: add homepage components and API for settings and spielplan options
- Introduced new Vue components for homepage teasers: HomeLinksTeaser, HomeSpielplanTeamWidget, HomeTrainingTeaser, and HomeVereinsmeisterschaftenTeaser. - Created XML layout for tablet app window dump. - Implemented API endpoints for fetching and updating homepage settings. - Added API for retrieving spielplan options, including team extraction logic.
This commit is contained in:
20
components/HomeTrainingTeaser.vue
Normal file
20
components/HomeTrainingTeaser.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<section class="py-16 bg-gray-50">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="bg-white rounded-xl shadow-lg p-8 md:p-10 border border-gray-100">
|
||||
<h2 class="text-2xl md:text-3xl font-display font-bold text-gray-900 mb-3">
|
||||
Training & Einstieg
|
||||
</h2>
|
||||
<p class="text-gray-600 mb-6 max-w-3xl">
|
||||
Alle Infos zu Trainingszeiten, Trainern und unserem Anfängerangebot auf einen Blick.
|
||||
</p>
|
||||
<NuxtLink
|
||||
to="/training"
|
||||
class="inline-flex items-center px-6 py-3 rounded-lg bg-primary-600 hover:bg-primary-700 text-white font-semibold transition-colors"
|
||||
>
|
||||
Zum Training
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
Reference in New Issue
Block a user