-
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
33d2c13
commit af57082
Showing
5 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
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
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,26 @@ | ||
import senacTech from '../json/senacTech.json' assert {type: 'json'} | ||
|
||
let desafios = [] | ||
desafios = senacTech | ||
//console.table(desafios) | ||
|
||
const desafiosSenacTech = document.getElementById('senac_tech') | ||
|
||
const mostrarProjetos = (listaDesafios) => { | ||
listaDesafios.map(desafio => { | ||
desafiosSenacTech.innerHTML += | ||
` | ||
<article class="card bg-light borda-cor-especial card-largura p-0 m-4 col-12 col-md-4"> | ||
<img src="${desafio.imagem}" class="card-img-top card-posicao-imagem" alt="${desafio.alt}"> | ||
<div class="card-body"> | ||
<h5 class="card-title">${desafio.titulo}</h5> | ||
<p class="card-text">${desafio.texto}</p> | ||
<a href="${desafio.site}" target="_blank" class="btn btn-info botao-cor-especial">Visite o site</a> | ||
<a href="${desafio.repositorio}" target="_blank" class="btn btn-info botao-cor-especial">Repositório Git</a> | ||
</div> | ||
</article> | ||
` | ||
}) | ||
} | ||
|
||
mostrarProjetos(desafios) |
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,10 @@ | ||
[ | ||
{ | ||
"imagem": "img/bancoDeSangueWeb.png", | ||
"alt": "Imagem do site Banco De Sangue", | ||
"titulo": "Site Banco De Sangue", | ||
"texto": "Projeto em desenvolvimento. Este projeto é uma aplicação web do bancoDeSangue feito em java. Mais informações no README.md do repositorio", | ||
"site": "https://cruz-andre.github.io/bancoDeSangueWeb/", | ||
"repositorio": "https://github.com/Cruz-Andre/bancoDeSangueWeb" | ||
} | ||
] |