2024-05-01 21:14:34 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
2024-05-12 16:34:55 +00:00
|
|
|
import ReactDOM from 'react-dom';
|
2024-05-01 21:14:34 +00:00
|
|
|
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-10 05:13:33 +00:00
|
|
|
import LoginForm from './Sesion/LoginForm.jsx';
|
2024-05-12 16:34:55 +00:00
|
|
|
import RegistrarForm from './Sesion/Registrar.jsx';
|
2024-05-11 19:26:44 +00:00
|
|
|
import RecuperarContraForm from './Sesion/RecuperarContraForm.jsx';
|
2024-05-09 02:09:53 +00:00
|
|
|
import ChocolateBlanco from './Pasteles/ChocolateBlanco.jsx';
|
|
|
|
import PastelMoka from './Pasteles/PastelMoka.jsx';
|
|
|
|
import PastelChocolate from './Pasteles/PastelChocolate.jsx';
|
|
|
|
import PastelZanahoria from './Pasteles/PastelZanahoria.jsx';
|
|
|
|
import PastelFrambuesa from './Pasteles/PastelFrambuesa.jsx';
|
|
|
|
import PastelCajeta from './Pasteles/PastelCajeta.jsx';
|
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-12 16:34:55 +00:00
|
|
|
<Route path = "/Registro" element = {<RegistrarForm/>}/>
|
2024-05-11 19:26:44 +00:00
|
|
|
<Route path = "/RecuperarContraseña" element = {<RecuperarContraForm/>}/>
|
2024-05-09 02:09:53 +00:00
|
|
|
<Route path = "/Pasteles/ChocolateBlanco" element = {<ChocolateBlanco/>}/>
|
|
|
|
<Route path = "/Pasteles/PastelMoka" element = {<PastelMoka/>}/>
|
|
|
|
<Route path = "/Pasteles/PastelChocolate" element = {<PastelChocolate/>}/>
|
|
|
|
<Route path = "/Pasteles/PastelZanahoria" element = {<PastelZanahoria/>}/>
|
|
|
|
<Route path = "/Pasteles/PastelFrambuesa" element = {<PastelFrambuesa/>}/>
|
|
|
|
<Route path = "/Pasteles/PastelCajeta" element = {<PastelCajeta/>}/>
|
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
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|