20 lines
516 B
Plaintext
20 lines
516 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="min-w-0 lg:pe-6 xl:pe-12">
|
|
<p class="text-6xl leading-10 font-bold break-words text-balance text-orange-400 dark:text-orange-300">
|
|
{title}
|
|
</p>
|
|
<p class="mt-2 break-words text-neutral-600 sm:mt-3 dark:text-neutral-400">
|
|
{subTitle}
|
|
</p>
|
|
</div>
|