2024-02-14 05:49:44 +04:00
|
|
|
---
|
2024-02-18 07:42:02 +04:00
|
|
|
// Extract the properties from Astro.props
|
2024-02-14 05:49:44 +04:00
|
|
|
const { title, subTitle } = Astro.props;
|
2024-02-18 07:42:02 +04:00
|
|
|
// Define TypeScript interface for the properties
|
2024-02-14 05:49:44 +04:00
|
|
|
interface Props {
|
|
|
|
title: string;
|
|
|
|
subTitle: string;
|
|
|
|
}
|
|
|
|
---
|
2024-02-18 07:42:02 +04:00
|
|
|
|
|
|
|
<!-- Container for title and subtitle -->
|
2024-02-14 05:49:44 +04:00
|
|
|
<div>
|
2024-04-07 18:23:16 +04:00
|
|
|
<p class="text-3xl font-bold text-orange-400 dark:text-orange-300">{title}</p>
|
2024-02-14 05:49:44 +04:00
|
|
|
<p class="mt-1 text-neutral-600 dark:text-neutral-400">{subTitle}</p>
|
|
|
|
</div>
|