Enhance UI consistency in House components: Replace SectionTitle with styled headings in HouseCard, HouseManagement, and HousesSection for improved visual hierarchy and readability. Update styles for better alignment and user experience.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m37s

This commit is contained in:
Julien Froidefond
2025-12-18 08:15:34 +01:00
parent 4a415f79e0
commit 12bc44e3ac
3 changed files with 113 additions and 37 deletions

View File

@@ -165,13 +165,17 @@ export default function HousesSection({
<>
{invitations.length > 0 && (
<Card className="p-4 sm:p-6">
<SectionTitle>Mes Invitations</SectionTitle>
<h2 className="text-lg sm:text-xl font-bold mb-4" style={{ color: "var(--foreground)" }}>
Mes Invitations
</h2>
<InvitationList invitations={invitations} onUpdate={handleUpdate} />
</Card>
)}
<Card className="p-4 sm:p-6">
<SectionTitle>Ma Maison</SectionTitle>
<h2 className="text-lg sm:text-xl font-bold mb-4" style={{ color: "var(--foreground)" }}>
Ma Maison
</h2>
{myHouse ? (
<HouseManagement
house={myHouse}
@@ -209,7 +213,9 @@ export default function HousesSection({
)}
<Card className="p-4 sm:p-6">
<SectionTitle>Toutes les Maisons</SectionTitle>
<h2 className="text-lg sm:text-xl font-bold mb-4" style={{ color: "var(--foreground)" }}>
Toutes les Maisons
</h2>
<div className="mb-4">
<Input
placeholder="Rechercher une maison..."