generated from 4GeeksAcademy/react-flask-hello
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/4GeeksAcademy/Grupo2-BuscoP…
- Loading branch information
Showing
8 changed files
with
298 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
import React, { Component } from "react"; | ||
import React from "react"; | ||
import "../../styles/footer.css"; | ||
|
||
export const Footer = () => { | ||
return ( | ||
<footer className="footer"> | ||
<div className="footer-content"> | ||
<p className="footer-text"> | ||
Grupo 2 - LATAM #4 bootcamp Uruguay - 4Geeks Academy | ||
</p> | ||
<div className="footer-names"> | ||
<p>Jimena, Julieta Olivera, Nahuel Silvera, Manuel Barreto y Joaquín Gutiérrez.</p> | ||
</div> | ||
<p className="footer-info"> | ||
Creado con pasión y dedicación durante nuestro bootcamp en 4Geeks Academy. 🩷 | ||
</p> | ||
</div> | ||
</footer> | ||
); | ||
}; | ||
|
||
export const Footer = () => ( | ||
<footer className="footer mt-auto py-3 text-center"> | ||
<p> | ||
@2024 Juli-Jime-Nahuel-Manu-Joaquín | ||
|
||
</p> | ||
</footer> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import React, { useState, useContext } from "react"; | ||
import { Context } from "../store/appContext"; | ||
import { Link } from 'react-router-dom'; | ||
|
||
export const StudentRegister = () => { | ||
const { store, actions } = useContext(Context); | ||
|
||
const [formData, setFormData] = useState({ | ||
level: '', | ||
subjects: '', | ||
timePreference: '', | ||
}); | ||
|
||
const handleChange = (e) => { | ||
const { id, value } = e.target; | ||
setFormData({ ...formData, [id]: value }); | ||
}; | ||
|
||
return ( | ||
<div id="signinform"> | ||
<h2 id="headerTitle">¡Bienvenido/a!</h2> | ||
<p>Por favor, completa la siguiente información para continuar</p> | ||
<div className="row"> | ||
<label htmlFor="level">Nivel Académico</label> | ||
<select | ||
id="level" | ||
className="input-field px-3 py-2" | ||
value={formData.level} | ||
onChange={handleChange} | ||
> | ||
<option value="" disabled>Selecciona tu nivel</option> | ||
<option value="1">Primaria</option> | ||
<option value="2">Secundaria</option> | ||
<option value="3">Terciaria</option> | ||
</select> | ||
</div> | ||
<div className="row"> | ||
<label htmlFor="subjects">¿Que deseas estudiar?</label> | ||
<input | ||
type="text" | ||
id="subjects" | ||
className="px-3 py-2" | ||
placeholder="Ingresa una asignatura" | ||
value={formData.subjects} | ||
onChange={handleChange} | ||
/> | ||
</div> | ||
<div className="row"> | ||
<label htmlFor="timePreference">Preferencia horaria</label> | ||
<select | ||
id="timePreference" | ||
className="input-field px-3 py-2" | ||
value={formData.timePreference} | ||
onChange={handleChange} | ||
> | ||
<option value="" disabled>Selecciona tus horarios</option> | ||
<option value="1">Matutino</option> | ||
<option value="2">Vespertino</option> | ||
<option value="3">Nocturno</option> | ||
</select> | ||
</div> | ||
<div className="row"> | ||
<button type="submit" className="submit-button">Guardar</button> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default StudentRegister; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* footer */ | ||
.footer { | ||
background-color: #003049; | ||
color: #fff; | ||
text-align: center; | ||
padding: 1rem 0; | ||
width: 100%; | ||
position: relative; | ||
} | ||
|
||
.footer-text { | ||
font-size: 1rem; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.footer-names { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
font-size: 15px; | ||
} | ||
|
||
.footer-info { | ||
font-size: 0.9rem; | ||
margin-top: 15px; | ||
} | ||
|
Oops, something went wrong.