use UI Button

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-12-07 15:38:37 +01:00
parent c556829bc5
commit 6f7e5b9258
2 changed files with 9 additions and 5 deletions
+5 -5
View File
@@ -26,15 +26,15 @@ export default function VolunteerCard({ id }) {
return (
<div className={`${styles.profileboard} glassCard`}>
{/* Header : titre + bouton expand */}
<div className={styles.header}>
<h2>{user?.name}</h2>
<button
className={`${styles.expandButton} glassCard`}
<Button
variant={"transparent"}
onClick={toggleExpand}
className={`${isExpanded ? styles.moreButtonClicked : ""}`}
>
{isExpanded ? "▼" : "▲"}
</button>
{">"}
</Button>
</div>
<div className={styles.mainContent}>
@@ -88,6 +88,10 @@
font-size: 16px;
}
.moreButtonClicked {
rotate: 90deg;
}
@media screen and (min-width: 768px) {
.profilePictureContainer {
width: 150px;