Closed danilohbp closed 2 years ago
Following is the implementation of the routes:
const Routes = () => (
<BrowserRouter>
<Switch>
<Route path="/" element={<Home />} />
<Route path="about" element={<About />} />
<Route path="statute" element={<Statute />} />
<Route path="projects" element={<Projects />} />
<Route path="partnerships" element={<Partnerships />}/>
<Route path="api" element={<API />} />
<Route path="data" element={<Data />} />
<Route path="services" element={<Services />} />
<Route path="tools" element={<Tools />} />
</Switch>
</BrowserRouter>
);
ok implemented and using static html
The routes were created with react-router-dom v6, each page component is assigned the routes defined in the path attribute.