diff --git a/stag.io/src/App.js b/stag.io/src/App.js index 04821ec..a3383df 100644 --- a/stag.io/src/App.js +++ b/stag.io/src/App.js @@ -45,17 +45,18 @@ function App() { }> - // }> - + // }> - // diff --git a/stag.io/src/components/Card.jsx b/stag.io/src/components/Card.jsx index d21ffa8..a3e4c33 100644 --- a/stag.io/src/components/Card.jsx +++ b/stag.io/src/components/Card.jsx @@ -28,8 +28,9 @@ class Card extends Component { } render() { + return ( -
+
{window.location.href = this.props.proximaPagina;}}>
{this.props.title}
{this.props.company}
diff --git a/stag.io/src/components/Login/login.jsx b/stag.io/src/components/Login/login.jsx index 941bf93..3d9d2d4 100644 --- a/stag.io/src/components/Login/login.jsx +++ b/stag.io/src/components/Login/login.jsx @@ -26,7 +26,7 @@ function Popup(props){ await schema.validate(values); toast.success("Usuário Logado!"); login(values); - window.location.pathname = '/' + //window.location.pathname = '/Vagas' Só utilizar essa linha caso não desejem fazer a autenticação } catch(error){ if( error instanceof Yup.ValidationError){ diff --git a/stag.io/src/components/filtro.jsx b/stag.io/src/components/filtro.jsx index 029aa8e..0a4dd4b 100644 --- a/stag.io/src/components/filtro.jsx +++ b/stag.io/src/components/filtro.jsx @@ -77,7 +77,7 @@ class Filtro extends Component {
{filterDropdown.map(vaga => (
- +
))}
diff --git a/stag.io/src/components/navBar/NavBar.css b/stag.io/src/components/navBar/NavBar.css index 02d4ed4..b4bf262 100644 --- a/stag.io/src/components/navBar/NavBar.css +++ b/stag.io/src/components/navBar/NavBar.css @@ -32,6 +32,10 @@ margin-right: 20px; } +.margin_img_logo{ + margin-left: 2em; +} + .button_Nav { font-family: 'Poppins'; font-style: normal; diff --git a/stag.io/src/components/navBar/NavBar.jsx b/stag.io/src/components/navBar/NavBar.jsx index a753709..c5fbe0d 100644 --- a/stag.io/src/components/navBar/NavBar.jsx +++ b/stag.io/src/components/navBar/NavBar.jsx @@ -1,11 +1,12 @@ import React, { Component } from 'react'; import './NavBar.css'; -import logo from "../../logo/logo-white.png"; +import perfil from "./assets/icone-perfil.png"; class Navbar extends Component { - render() { + render() { + return (
- - + + + + perfil + ); diff --git a/stag.io/src/components/navBar/assets/icone-perfil.png b/stag.io/src/components/navBar/assets/icone-perfil.png new file mode 100644 index 0000000..af1a667 Binary files /dev/null and b/stag.io/src/components/navBar/assets/icone-perfil.png differ diff --git a/stag.io/src/contexts/auth.jsx b/stag.io/src/contexts/auth.jsx index 98a28f6..ea03855 100644 --- a/stag.io/src/contexts/auth.jsx +++ b/stag.io/src/contexts/auth.jsx @@ -31,7 +31,7 @@ export const AuthProvider = ({children}) => { if(value.password === "secret"){ //Senha para verificar a validação de login console.log("Vc descobriu a senha secreta!"); setUser(loggedUser); - navigate("/cadastroCandidato"); //Mudar a página de destino quando for unir o Front-end + navigate("/Vagas"); } }; const logout = () => { diff --git a/stag.io/src/pages/DetalhesEmpresa/index.css b/stag.io/src/pages/DetalhesEmpresa/index.css index 9a092b8..7d23151 100644 --- a/stag.io/src/pages/DetalhesEmpresa/index.css +++ b/stag.io/src/pages/DetalhesEmpresa/index.css @@ -1,4 +1,4 @@ -.container{ +.detalhes-empresa{ position:relative; /* margin-top: 100px; */ width: 100%; diff --git a/stag.io/src/pages/DetalhesEmpresa/index.jsx b/stag.io/src/pages/DetalhesEmpresa/index.jsx index 16117be..14b924f 100644 --- a/stag.io/src/pages/DetalhesEmpresa/index.jsx +++ b/stag.io/src/pages/DetalhesEmpresa/index.jsx @@ -4,22 +4,23 @@ import NavBarLogo from "../../components/NavBarLogo"; import Vaga from "../../components/Vaga"; -const DetalhesCandidato = (props) => { - const { values }= props; +const DetalhesEmpresa = (//props + ) => { + //const { values }= props; const getEmpresa = () => { } return( -
+

Nome da Empresa

Descrição
-
{values. desc}
+ {/*
{values. desc}
*/}
Localização
@@ -40,4 +41,4 @@ const DetalhesCandidato = (props) => { ); } -export default DetalhesCandidato; \ No newline at end of file +export default DetalhesEmpresa; \ No newline at end of file diff --git a/stag.io/src/pages/MinhasVagas/MinhasVagas.jsx b/stag.io/src/pages/MinhasVagas/MinhasVagas.jsx index 95138a9..5d11197 100644 --- a/stag.io/src/pages/MinhasVagas/MinhasVagas.jsx +++ b/stag.io/src/pages/MinhasVagas/MinhasVagas.jsx @@ -16,7 +16,7 @@ function MinhasVagas() {
- +