-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2548911
commit 29ea53d
Showing
8 changed files
with
81 additions
and
22 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,7 +1,16 @@ | ||
export class Vaga { | ||
"id": number; | ||
"nome": string; | ||
"foto": string; | ||
"descricao": string; | ||
"salario": number; | ||
id: number = 0; | ||
nome: string = ""; | ||
foto: string = ""; | ||
descricao: string = ""; | ||
salario: number = 0; | ||
|
||
|
||
constructor(id:number, nome:string, foto:string, descricao:string, salario:number){ | ||
this.id = id; | ||
this.nome = nome; | ||
this.foto = foto; | ||
this.descricao = descricao; | ||
this.salario = salario; | ||
} | ||
} |
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,28 @@ | ||
header div{ | ||
width: 100%; | ||
height: 50px; | ||
} | ||
|
||
.lista-vagas{ | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
} | ||
|
||
.lista-vagas .card{ | ||
margin: 10px 20px; | ||
min-height: 400px; | ||
} | ||
|
||
.card-vagas{ | ||
display: flex; | ||
} | ||
|
||
footer { | ||
background: #343A40; | ||
width: 100%; | ||
height: 50px; | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
} |
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,14 +1,30 @@ | ||
<div *ngFor="let vaga of vagas"> | ||
|
||
|
||
<div class="card" style="width: 18rem;"> | ||
<img src="assets\img\vagas\{{vaga.foto}}" class="card-img-top" alt="..."> | ||
<div class="card-body"> | ||
<h5 class="card-title">Código da vaga: {{vaga.id}}</h5> | ||
<h5 class="card-title">Vaga: {{vaga.nome}}</h5> | ||
<p class="card-text"> Descrição da vaga: {{vaga.descricao}} </p> | ||
<p class="card-text"> Salário: R$ {{vaga.salario}},00 </p> | ||
<header> | ||
<div class="p-3 mb-2 bg-warning text-dark"></div> | ||
</header> | ||
<section class="lista-vagas"> | ||
<div class="mt-5"> | ||
<div class="container"> | ||
<article class="card-vagas"> | ||
<div *ngFor="let vaga of vagas"> | ||
<div class="card" style="width: 18rem"> | ||
<img | ||
src="assets\img\vagas\{{ vaga.foto }}" | ||
class="card-img-top" | ||
alt="..." | ||
/> | ||
<div class="card-body"> | ||
<h5 class="card-title">Código da vaga: {{ vaga.id }}</h5> | ||
<h5 class="card-title">Vaga: {{ vaga.nome }}</h5> | ||
<p class="card-text">Descrição da vaga: {{ vaga.descricao }}</p> | ||
<p class="card-text">Salário: R$ {{ vaga.salario }},00</p> | ||
</div> | ||
</div> | ||
</div> | ||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
</div> | ||
<footer > | ||
|
||
</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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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