@@ -74,14 +74,14 @@ export default function RootLayout ({
7474 </ a >
7575
7676 { /* Mobile menu button */ }
77- < button
78- onClick = { ( ) => setIsMobileMenuOpen ( ! isMobileMenuOpen ) }
77+ < button
78+ onClick = { ( ) => { setIsMobileMenuOpen ( ! isMobileMenuOpen ) } }
7979 className = "md:hidden p-3 text-primary-light hover:text-primary transition-colors"
8080 aria-label = "Toggle mobile menu"
8181 >
8282 < svg className = "w-6 h-6" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
83- < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 }
84- d = { isMobileMenuOpen ? " M6 18L18 6M6 6l12 12" : " M4 6h16M4 12h16M4 18h16" } />
83+ < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 }
84+ d = { isMobileMenuOpen ? ' M6 18L18 6M6 6l12 12' : ' M4 6h16M4 12h16M4 18h16' } />
8585 </ svg >
8686 </ button >
8787 </ div >
@@ -92,45 +92,45 @@ export default function RootLayout ({
9292 { /* Mobile Navigation Menu */ }
9393 { isMobileMenuOpen && (
9494 < div className = "md:hidden fixed inset-0 z-40 pt-16" >
95- < div className = "fixed inset-0 bg-black/50" onClick = { ( ) => setIsMobileMenuOpen ( false ) } />
95+ < div className = "fixed inset-0 bg-black/50" onClick = { ( ) => { setIsMobileMenuOpen ( false ) } } />
9696 < nav className = "relative glass m-4 rounded-xl p-6" >
9797 < div className = "space-y-4" >
98- < a
99- href = "#playground"
98+ < a
99+ href = "#playground"
100100 className = "block py-3 px-4 text-primary-light hover:text-primary text-lg transition-colors rounded-lg hover:bg-primary-light/10"
101- onClick = { ( ) => setIsMobileMenuOpen ( false ) }
101+ onClick = { ( ) => { setIsMobileMenuOpen ( false ) } }
102102 >
103103 Playground
104104 </ a >
105- < a
106- href = "#chains"
105+ < a
106+ href = "#chains"
107107 className = "block py-3 px-4 text-primary-light hover:text-primary text-lg transition-colors rounded-lg hover:bg-primary-light/10"
108- onClick = { ( ) => setIsMobileMenuOpen ( false ) }
108+ onClick = { ( ) => { setIsMobileMenuOpen ( false ) } }
109109 >
110110 Chains
111111 </ a >
112- < a
113- href = "#success-stories"
112+ < a
113+ href = "#success-stories"
114114 className = "block py-3 px-4 text-primary-light hover:text-primary text-lg transition-colors rounded-lg hover:bg-primary-light/10"
115- onClick = { ( ) => setIsMobileMenuOpen ( false ) }
115+ onClick = { ( ) => { setIsMobileMenuOpen ( false ) } }
116116 >
117117 Success Stories
118118 </ a >
119- < a
120- href = "https://xchainjs.gitbook.io/xchainjs"
119+ < a
120+ href = "https://xchainjs.gitbook.io/xchainjs"
121121 target = "_blank"
122122 rel = "noopener noreferrer"
123123 className = "block py-3 px-4 text-primary-light hover:text-primary text-lg transition-colors rounded-lg hover:bg-primary-light/10"
124- onClick = { ( ) => setIsMobileMenuOpen ( false ) }
124+ onClick = { ( ) => { setIsMobileMenuOpen ( false ) } }
125125 >
126126 Docs
127127 </ a >
128- < a
129- href = "https://discord.com/invite/7RRmc35UEG"
128+ < a
129+ href = "https://discord.com/invite/7RRmc35UEG"
130130 target = "_blank"
131131 rel = "noopener noreferrer"
132132 className = "block w-full mt-6 px-4 py-3 bg-gradient-to-r from-chain-blue-500 to-electric-green-500 text-white font-semibold rounded-lg text-center transition-all duration-300 hover:shadow-glow-blue"
133- onClick = { ( ) => setIsMobileMenuOpen ( false ) }
133+ onClick = { ( ) => { setIsMobileMenuOpen ( false ) } }
134134 >
135135 Get Started
136136 </ a >
0 commit comments