18 lines
463 B
Plaintext
18 lines
463 B
Plaintext
---
|
|
// Extract the properties from Astro.props
|
|
const { title, subTitle } = Astro.props;
|
|
// Define TypeScript interface for the properties
|
|
interface Props {
|
|
title: string;
|
|
subTitle: string;
|
|
}
|
|
---
|
|
|
|
{/* Container for the title and subtitle */}
|
|
<div class="lg:pe-6 xl:pe-12">
|
|
<p class="text-6xl leading-10 font-bold text-orange-400 dark:text-orange-300">
|
|
{title}
|
|
</p>
|
|
<p class="mt-2 text-neutral-600 sm:mt-3 dark:text-neutral-400">{subTitle}</p>
|
|
</div>
|