updated smaller compute currency title

This commit is contained in:
Mik-TF
2024-06-06 10:23:15 -04:00
parent d89997781f
commit 92ee1486be
2 changed files with 17 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ import type { CallToAction } from '~/types';
export interface Props {
id?: string;
title?: string;
title2?: string;
subtitle?: string;
tagline?: string;
content?: string;
@@ -16,6 +17,7 @@ export interface Props {
const {
id,
title = await Astro.slots.render('title'),
title2 = await Astro.slots.render('title2'),
subtitle = await Astro.slots.render('subtitle'),
tagline,
content = await Astro.slots.render('content'),
@@ -46,6 +48,14 @@ const {
/>
)
}
{
title2 && (
<h3
class="text-5xl md:text-4xl font-bold leading-tighter tracking-tighter mb-4 font-heading dark:text-gray-200"
set:html={title2}
/>
)
}
<div class="max-w-3xl mx-auto">
{subtitle && <p class="text-xl text-muted mb-6 dark:text-slate-300" set:html={subtitle} />}
{