diff --git a/client/src/components/aluno/AsideDashboard.vue b/client/src/components/aluno/AsideDashboard.vue
index 4c0dc02..7101b5f 100644
--- a/client/src/components/aluno/AsideDashboard.vue
+++ b/client/src/components/aluno/AsideDashboard.vue
@@ -33,7 +33,7 @@
-
+
Estágios
diff --git a/client/src/router/routes/shared.js b/client/src/router/routes/shared.js
index f91e342..223947f 100644
--- a/client/src/router/routes/shared.js
+++ b/client/src/router/routes/shared.js
@@ -4,6 +4,7 @@ import PublicPerfilAluno from '../../views/shared/PerfilAluno.vue';
import PublicPerfilProfessor from '../../views/shared/PerfilProfessor.vue';
import Pesquisa from '../../views/shared/Pesquisa.vue';
import Vagas from '../../views/shared/Vagas.vue';
+import Vaga from '../../views/shared/Vaga.vue';
import { isAuthSomebody } from '../guards/guards';
export const sharedRoutes = [
@@ -40,6 +41,11 @@ export const sharedRoutes = [
name: 'Vagas',
component: Vagas
},
+ {
+ path: '/vaga/:id',
+ name: 'Vaga',
+ component: Vaga
+ },
{
path: '/:pathMatch(.*)*',
name: 'NotFound',
diff --git a/client/src/scss/pages/shared/_vaga.scss b/client/src/scss/pages/shared/_vaga.scss
new file mode 100644
index 0000000..6087a89
--- /dev/null
+++ b/client/src/scss/pages/shared/_vaga.scss
@@ -0,0 +1,78 @@
+main {
+ @include flex(row, flex-start, start);
+ height: calc(100vh - 80px);
+ background-color: $primary-color-dark;
+ .content {
+ height: calc(100vh - 80px);
+ width: 100%;
+ background-color: $primary-color-dark;
+ @include flex(column, flex-start, start);
+ padding: 20px 100px;
+
+ .vaga-header {
+ h3 {
+ @include font-inter(700);
+ font-size: 2rem;
+ color: $font-color-dark;
+ }
+
+ .status {
+ @include font-inter(300);
+ font-size: 1rem;
+ color: $font-color-dark-2;
+ }
+ }
+
+ .vaga-info {
+ margin-top: 20px;
+
+ h2 {
+ @include font-inter(700);
+ font-size: 1.5rem;
+ color: $secondary-color-orange;
+ margin-bottom: 10px;
+ }
+
+ .requisitos, .beneficios {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+
+ li {
+ margin-bottom: 5px;
+
+ p {
+ @include font-inter(300);
+ font-size: 1rem;
+ color: $font-color-dark-2;
+ }
+ }
+ }
+
+ .vaga-details, .vaga-remuneracao {
+ margin-top: 20px;
+
+ p {
+ @include font-inter(300);
+ font-size: 1rem;
+ color: $font-color-dark-2;
+
+ strong {
+ font-weight: 700;
+ }
+ }
+ }
+
+ .descricao {
+ margin-top: 20px;
+ margin-bottom: 20px;
+
+ p {
+ @include font-inter(300);
+ font-size: 1rem;
+ color: $font-color-dark-2;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/client/src/scss/pages/shared/_vagas.scss b/client/src/scss/pages/shared/_vagas.scss
index 7ab8264..dc6ddab 100644
--- a/client/src/scss/pages/shared/_vagas.scss
+++ b/client/src/scss/pages/shared/_vagas.scss
@@ -3,12 +3,8 @@
main {
@include flex(row, flex-start, start);
- width: 100vw;
- height: 100vh;
- min-height: calc(100vh - 80px);
- border-bottom: 1px solid #0000008f;
+ height: calc(100vh - 80px);
background-color: $primary-color-dark;
- position: relative;
.content {
@include flex(column, flex-start, start);
@@ -88,7 +84,7 @@
.vaga {
@include flex(column, flex-start, start);
width: 80%;
- height: 90px;
+ height: 140px;
margin-bottom: 10px;
@include m-screen(1400px) {
@@ -130,6 +126,18 @@
.contentVaga {
@include flex(column, flex-start, start);
+ width: 70%;
+
+ .info{
+ @include flex(row, space-between, start);
+ width: 100%;
+
+ label {
+ @include font-inter(600);
+ color: $primary-color-dark;
+
+ }
+ }
}
.box-button{
diff --git a/client/src/services/api/shared.js b/client/src/services/api/shared.js
index 2621fc5..1edf062 100644
--- a/client/src/services/api/shared.js
+++ b/client/src/services/api/shared.js
@@ -50,4 +50,16 @@ export const getVagas = async () => {
} catch (error) {
return error.response.data;
}
+}
+
+export const getVaga = async (id) => {
+ try {
+ const response = await api.get('shared/vaga', {
+ params: id
+ });
+ console.log(response.data.alunos);
+ return response;
+ } catch (error) {
+ return error.response.data;
+ }
}
\ No newline at end of file
diff --git a/client/src/views/shared/PerfilAluno.vue b/client/src/views/shared/PerfilAluno.vue
index 8fb89f6..31bdab8 100644
--- a/client/src/views/shared/PerfilAluno.vue
+++ b/client/src/views/shared/PerfilAluno.vue
@@ -359,7 +359,6 @@ export default {
this.aluno.rm = this.$route.params.rm;
await this.getCurriculoAluno();
await this.possuiVinculo();
- await this.getCurriculoAluno();
console.log(this.conected);
diff --git a/client/src/views/shared/Pesquisa.vue b/client/src/views/shared/Pesquisa.vue
index 3b4172a..a2f2be9 100644
--- a/client/src/views/shared/Pesquisa.vue
+++ b/client/src/views/shared/Pesquisa.vue
@@ -20,7 +20,9 @@
-
+
@@ -39,8 +41,8 @@
+
-
+
+
diff --git a/client/src/views/shared/Vagas.vue b/client/src/views/shared/Vagas.vue
index ea113a6..537264c 100644
--- a/client/src/views/shared/Vagas.vue
+++ b/client/src/views/shared/Vagas.vue
@@ -2,11 +2,11 @@
-
+
-
+
-
+
{{ vaga.titulo }}
-
{{ vaga.remuneracao }}
-
{{ vaga.cargaHoraria }}
-
{{ vaga.endereco }}
-
{{ vaga.curso }}
+
+
+
+
+
@@ -40,8 +55,8 @@
+
-