Skip to content

Commit

Permalink
fix: review jules
Browse files Browse the repository at this point in the history
  • Loading branch information
MaGOs92 committed Nov 27, 2024
1 parent 70be205 commit 9b03dcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/app/documentation-bal/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function RessourcesPage() {
id="ressources-adressage"
theme="primary"
/>
<Section theme="secondary" className="stay-tuned">
<Section className="stay-tuned">
<div>
<div className="text-wrapper">
<i className="ri-information-line" />
Expand All @@ -100,7 +100,7 @@ export default function RessourcesPage() {
</div>
</div>
</Section>
<Section id="guide-mes-adresses" className="guide-section">
<Section theme="primary" id="guide-mes-adresses" className="guide-section">
<div>
<div className="text-wrapper">
<div>
Expand All @@ -124,7 +124,7 @@ export default function RessourcesPage() {
</div>
</div>
</Section>
<Section theme="grey" className="guide-section">
<Section className="guide-section">
<div>
<div className="illustration-wrapper">
<DownloadGuideCard imgProps={{ src: '/documentation-bal/guide-bonnes-pratiques.png', alt: 'Illustration guide bonnes pratiques', style: { width: 220, height: 300 } }} downloadlink="/documentation-bal/guide-mes-adresses-v8.2.pdf" />
Expand Down
2 changes: 0 additions & 2 deletions src/components/DownloadGuideCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ export default function DownloadGuideCard({
window.open(downloadlink, '_blank')
}

console.log('isHovered', isHovered)

return (
<StyledWrapper onClick={handleClick} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => { setIsHovered(false) }}>
{isHovered && <div className="hover-background"><span className="fr-icon-download-line" /></div>}
Expand Down

0 comments on commit 9b03dcb

Please sign in to comment.