1-
21import { BrowserRouter as Router , Routes , Route } from 'react-router-dom' ;
2+ import { AppKitProvider } from '@reown/appkit' ; // Importa el provider
33import Layout from './components/Layout' ;
44import Index from './pages/Index' ;
55import About from './pages/About' ;
@@ -14,20 +14,26 @@ import './global.css';
1414
1515function App ( ) {
1616 return (
17- < Router >
18- < Routes >
19- < Route path = "/" element = { < Layout /> } >
20- < Route index element = { < Index /> } />
21- < Route path = "about" element = { < About /> } />
22- < Route path = "academy" element = { < Academy /> } />
23- < Route path = "alien-trip" element = { < AlienTrip /> } />
24- < Route path = "clubs" element = { < Clubs /> } />
25- < Route path = "conetworking" element = { < CoNetWorKing /> } />
26- < Route path = "contact" element = { < Contact /> } />
27- < Route path = "*" element = { < NotFound /> } />
28- </ Route >
29- </ Routes >
30- </ Router >
17+ < AppKitProvider
18+ projectId = "ced40e4d52234c471808977208586c7e"
19+ theme = "dark"
20+ locale = { [ "en" , "es" , "fr" , "zh" , "hi" , "pt" , "ja" , "ar" ] } // Idiomas oficiales
21+ >
22+ < Router >
23+ < Routes >
24+ < Route path = "/" element = { < Layout /> } >
25+ < Route index element = { < Index /> } />
26+ < Route path = "about" element = { < About /> } />
27+ < Route path = "academy" element = { < Academy /> } />
28+ < Route path = "alien-trip" element = { < AlienTrip /> } />
29+ < Route path = "clubs" element = { < Clubs /> } />
30+ < Route path = "conetworking" element = { < CoNetWorKing /> } />
31+ < Route path = "contact" element = { < Contact /> } />
32+ < Route path = "*" element = { < NotFound /> } />
33+ </ Route >
34+ </ Routes >
35+ </ Router >
36+ </ AppKitProvider >
3137 ) ;
3238}
3339
0 commit comments