Skip to content

Commit

Permalink
add new build
Browse files Browse the repository at this point in the history
  • Loading branch information
cburbano committed Oct 16, 2023
1 parent 4c1e6ab commit f667c15
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "caucafe",
"version": "0.1.0",
"private": true,
"homepage": "https://bhecra.github.io/caucafe",
"dependencies": {
"@dile/dile-input": "^2.0.5",
"@emotion/react": "^11.11.1",
Expand Down
7 changes: 2 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,22 @@
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>caucafé</title>
<title>Caucafé</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
</html>
29 changes: 14 additions & 15 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link, Outlet, Route, Routes, useParams} from 'react-router-dom';
import { Route, Routes } from 'react-router-dom';
import './App.css';
import React from 'react';
import MenuPrincipal from './components/MenuPrincipal2';
Expand All @@ -11,23 +11,22 @@ import SobreNosotros from './components/SobreNosotros';
import EnviarAnalisis from './components/EnviarAnalisis';

function App() {

return (
<div className="App">

<Routes>
<Route path="/" element = {<MenuPrincipal/> }></Route>
<Route path="SobreNosotros" element = {<SobreNosotros/> }></Route>
<Route path = 'RegistroCaficultor/' element = {<RegistroCaficultor/>}></Route>
<Route path = 'AnalisisFisico/' element = {<AnalisisFisicoPage/>}></Route>
<Route path="catacion/" element={<Catacion/>} />
<Route path = 'RegistroCaficultor/:siguiente' element = {<RegistroCaficultor/>}></Route>
<Route path = 'RegistroLote/' element = {<RegistroLote/>}></Route>
<Route path = 'enviarAnalisis/' element = {<EnviarAnalisis/>}></Route>
<Route path = "prueba" element = {<PruebaTwilio/>}> </Route>
</Routes>
<Routes>
<Route path="/" element={<MenuPrincipal />}></Route>
<Route path="SobreNosotros" element={<SobreNosotros />}></Route>
<Route path='RegistroCaficultor/' element={<RegistroCaficultor />}></Route>
<Route path='AnalisisFisico/' element={<AnalisisFisicoPage />}></Route>
<Route path="catacion/" element={<Catacion />} />
<Route path='RegistroCaficultor/:siguiente' element={<RegistroCaficultor />}></Route>
<Route path='RegistroLote/' element={<RegistroLote />}></Route>
<Route path='enviarAnalisis/' element={<EnviarAnalisis />}></Route>
<Route path="prueba" element={<PruebaTwilio />}> </Route>
</Routes>
</div>

);
}

Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type InfoLote = {
const Lotes: InfoLote[] = [];

root.render(
<BrowserRouter>
<BrowserRouter basename='/'>
<App />
</BrowserRouter>
);
Expand Down

0 comments on commit f667c15

Please sign in to comment.