achat-maison-albi-fr/src/components/ui/blocks/StatsSmall.astro
Emil Gulamov c92a067040 Replace color hex codes with Tailwind color palette
Replaced all custom color hex codes used in various component classes with their corresponding color names from the expanded Tailwind color palette. This ensures consistent styling across components and enhances readability and maintainability of the code.
2024-04-07 18:23:16 +04:00

15 lines
408 B
Text

---
// 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 title and subtitle -->
<div>
<p class="text-3xl font-bold text-orange-400 dark:text-orange-300">{title}</p>
<p class="mt-1 text-neutral-600 dark:text-neutral-400">{subTitle}</p>
</div>