feat: add home featured toggle, improve account deletion UI, and update business schema and database configuration.

This commit is contained in:
streap2
2026-05-12 07:17:04 +02:00
parent 01cf4dd5a1
commit b81216210a
18 changed files with 533 additions and 271 deletions

View File

@@ -56,9 +56,11 @@ const AnnuaireHero = ({ featuredBusiness }: { featuredBusiness: Business }) => {
<h2 className="text-3xl md:text-4xl font-bold font-serif text-gray-900 mb-2">
{featuredBusiness.name}
</h2>
<p className="text-lg text-gray-600 mb-4 font-medium">
Dirigé par <span className="text-brand-600">{featuredBusiness.founderName}</span>
</p>
{featuredBusiness.founderName && (
<p className="text-lg text-gray-600 mb-4 font-medium">
Dirigé par <span className="text-brand-600">{featuredBusiness.founderName}</span>
</p>
)}
<div className="flex flex-wrap gap-4 text-sm text-gray-500 mb-6">
<div className="flex items-center"><Briefcase className="w-4 h-4 mr-1"/> {featuredBusiness.category}</div>