Commit integracion Login e Inicio

This commit is contained in:
NataliaCancinoV 2024-04-28 19:10:25 -06:00
parent 1423748d25
commit 88327a4941
6 changed files with 19 additions and 7 deletions

View File

@ -12,7 +12,8 @@
"@emotion/styled": "^11.11.5", "@emotion/styled": "^11.11.5",
"@mui/material": "^5.15.15", "@mui/material": "^5.15.15",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0",
"react-icons": "^5.1.0"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^18.2.66", "@types/react": "^18.2.66",
@ -4065,6 +4066,14 @@
"react": "^18.2.0" "react": "^18.2.0"
} }
}, },
"node_modules/react-icons": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.1.0.tgz",
"integrity": "sha512-D3zug1270S4hbSlIRJ0CUS97QE1yNNKDjzQe3HqY0aefp2CBn9VgzgES27sRR2gOvFK+0CNx/BW0ggOESp6fqQ==",
"peerDependencies": {
"react": "*"
}
},
"node_modules/react-is": { "node_modules/react-is": {
"version": "18.2.0", "version": "18.2.0",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",

View File

@ -14,7 +14,8 @@
"@emotion/styled": "^11.11.5", "@emotion/styled": "^11.11.5",
"@mui/material": "^5.15.15", "@mui/material": "^5.15.15",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0",
"react-icons": "^5.1.0"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^18.2.66", "@types/react": "^18.2.66",

View File

@ -5,7 +5,6 @@ function App() {
return ( return (
<> <>
<div className="App"> <div className="App">
<LoginForm/>
</div> </div>
</> </>
) )

View File

@ -99,7 +99,7 @@ function App() {
<span>Ver más</span> <span>Ver más</span>
</div> </div>
<div class="card-category category-expreso"> <div class="card-category category-expreso">
<p>Expreso Americano</p> <p>Pastel de Chocolate</p>
<span>Ver más</span> <span>Ver más</span>
</div> </div>
<div class="card-category category-capuchino"> <div class="card-category category-capuchino">

View File

@ -1,5 +1,6 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import './LoginForm.css'; import './LoginForm.css';
import './App.css'
function LoginForm() { function LoginForm() {
const [loginVisible, setLoginVisible] = useState(true); const [loginVisible, setLoginVisible] = useState(true);

View File

@ -1,10 +1,12 @@
import React from 'react' import React from 'react'
import ReactDOM from 'react-dom/client' import ReactDOM from 'react-dom/client'
import App from './App.jsx' //import LoginForm from './LoginForm.jsx'
import './index.css' //import './index.css'
import AppInicio from './AppInicio.jsx'
ReactDOM.createRoot(document.getElementById('root')).render( ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode> <React.StrictMode>
<App /> {/*<LoginForm />*/}
<AppInicio/>
</React.StrictMode>, </React.StrictMode>,
) )