2023-12-16 09:15:56 -06:00
|
|
|
import React from "react";
|
|
|
|
|
|
|
|
export default function PageHeader({
|
|
|
|
title,
|
|
|
|
description,
|
|
|
|
icon,
|
|
|
|
}: {
|
|
|
|
title: string;
|
2023-12-17 02:57:05 -06:00
|
|
|
description?: string;
|
2023-12-16 09:15:56 -06:00
|
|
|
icon: string;
|
|
|
|
}) {
|
|
|
|
return (
|
|
|
|
<div className="flex items-center gap-3">
|
|
|
|
<i
|
2024-07-16 19:33:33 -05:00
|
|
|
className={`${icon} text-primary sm:text-3xl text-2xl drop-shadow`}
|
2023-12-16 09:15:56 -06:00
|
|
|
></i>
|
|
|
|
<div>
|
|
|
|
<p className="text-3xl capitalize font-thin">{title}</p>
|
2023-12-17 22:32:33 -06:00
|
|
|
<p className="text-xs sm:text-sm">{description}</p>
|
2023-12-16 09:15:56 -06:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|