reworked slider + added coaches page

This commit is contained in:
Salam-vsem
2025-05-15 00:59:22 +03:00
parent 1b8cb5dae9
commit 2c1ebe5dae
32 changed files with 389 additions and 201 deletions

View File

@@ -4,7 +4,7 @@ import type { z } from 'astro:content'
type Props = z.infer<typeof servicesSchema> & { highlighted?: boolean }
const { title, charachteristics, highlighted = false, link } = Astro.props
const { title, description, charachteristics, highlighted = false, link } = Astro.props
---
<div
@@ -14,8 +14,9 @@ const { title, charachteristics, highlighted = false, link } = Astro.props
{ 'border-brand': highlighted },
]}
>
<div class="mb-8">
<h3 class="mb-4 text-2xl font-bold">{title}</h3>
<div class="mb-8 flex flex-col gap-2">
<h3 class="text-2xl font-bold">{title}</h3>
{description && <span>{description}</span>}
</div>
<ul class="mb-16 flex-grow space-y-4">