File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,15 @@ const NewFeaturePopup: React.FC<NewFeaturePopupProps> = ({
7878 }
7979
8080 return (
81- < div
82- className = { `${ styles . popup } ${ isAnimating ? styles . popupVisible : styles . popupHidden } ` }
83- onClick = { handleNavigate }
84- >
85- < div className = { styles . content } >
81+ < div className = { `${ styles . popup } ${ isAnimating ? styles . popupVisible : styles . popupHidden } ` } >
82+ { /* Close button */ }
83+ < button className = { styles . closeButton } onClick = { handleDismiss } aria-label = "Close popup" >
84+ < svg width = "18" height = "18" viewBox = "0 0 18 18" fill = "currentColor" >
85+ < path d = "M9 7.5l3.5-3.5a1 1 0 111.414 1.414L10.414 9l3.5 3.5a1 1 0 11-1.414 1.414L9 10.414l-3.5 3.5a1 1 0 11-1.414-1.414L7.586 9 4.086 5.5A1 1 0 115.5 4.086L9 7.5z" />
86+ </ svg >
87+ </ button >
88+
89+ < div className = { styles . content } onClick = { handleNavigate } >
8690 { /* Badge */ }
8791 < div className = { styles . badge } >
8892 < div className = { styles . badgeInner } >
@@ -98,6 +102,11 @@ const NewFeaturePopup: React.FC<NewFeaturePopupProps> = ({
98102 < span className = { styles . clickText } > Click to explore →</ span >
99103 </ div >
100104 </ div >
105+
106+ { /* Maybe later button */ }
107+ < button className = { styles . secondaryButton } onClick = { handleDismiss } >
108+ < span > Maybe later</ span >
109+ </ button >
101110 </ div >
102111 ) ;
103112} ;
You can’t perform that action at this time.
0 commit comments