2024-05-01 21:14:34 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
|
|
|
import { createRoot } from 'react-dom/client';
|
2024-04-29 01:10:25 +00:00
|
|
|
import AppInicio from './AppInicio.jsx'
|
2024-05-01 21:14:34 +00:00
|
|
|
import PersPastel1 from './PersPastel1.jsx'
|
2024-05-06 14:15:18 +00:00
|
|
|
import Pedidos from './Pedidos.jsx'
|
|
|
|
import Pasteles from './Pasteles.jsx'
|
2024-05-06 22:53:21 +00:00
|
|
|
import LoginForm from './LoginForm.jsx';
|
2024-04-17 14:37:36 +00:00
|
|
|
|
2024-05-01 21:14:34 +00:00
|
|
|
|
|
|
|
createRoot(document.getElementById('root')).render(
|
2024-04-17 14:37:36 +00:00
|
|
|
<React.StrictMode>
|
2024-05-01 21:14:34 +00:00
|
|
|
<Router>
|
|
|
|
<Routes>
|
|
|
|
<Route path = "/" element = {<AppInicio/>}/>
|
2024-05-06 13:42:18 +00:00
|
|
|
<Route path = "/PersonalizarPastel/PastelArcoiris" element = {<PersPastel1/>}/>
|
2024-05-06 14:15:18 +00:00
|
|
|
<Route path = "/Pedidos" element = {<Pedidos/>}/>
|
|
|
|
<Route path = "/Pasteles" element = {<Pasteles/>}/>
|
2024-05-06 22:53:21 +00:00
|
|
|
<Route path = "/Login" element = {<LoginForm/>}/>
|
2024-05-01 21:14:34 +00:00
|
|
|
</Routes>
|
|
|
|
</Router>
|
2024-04-17 14:37:36 +00:00
|
|
|
</React.StrictMode>,
|
2024-05-01 21:14:34 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|