Skip to content

Commit

Permalink
add projetos SenacTech
Browse files Browse the repository at this point in the history
  • Loading branch information
Cruz-Andre committed Nov 24, 2023
1 parent 33d2c13 commit af57082
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
Binary file added img/bancoDeSangue.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bancoDeSangueWeb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<div class="collapse navbar-collapse justify-content-center" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-link active" aria-current="page" href="#">Home</a>
<a class="nav-link" href="#senacTech">Projetos SenacTech</a>
<a class="nav-link" href="#desafiosCompass">Desafios Compass.Uol</a>
<a class="nav-link" href="#codecamp">Projetos pessoais</a>
<a class="nav-link" href="#alura">Exercícios e desafios da Alura & Rocketseat</a>
Expand All @@ -53,10 +54,27 @@

<section id="ola" class="container-fluid container__secao">
<h1>Olá, sou André Cruz</h1>
<p>Estudando HTML & CSS | JavaScript | React</p>
<p>Estudando HTML & CSS | JavaScript | React | SQL | Java | PHP</p>
<p>Alguns dos meus projetos a seguir:</p>
</section>

<section id="senacTech" class="container-fluid container__secao">
<div id="senac_tech" class="row text-center justify-content-center">
<h1 class="container__titulo">Projetos SenacTech</h1>

<article class="card bg-light borda-cor-especial card-largura p-0 m-4 col-12 col-md-4">
<img src="img/bancoDeSangue.gif" class="card-img-top card-posicao-imagem" alt="gif do site meu primeiro e-commerce">
<div class="card-body">
<h5 class="card-title">bancoDeSangue</h5>
<p class="card-text">
Aplicação Java - CRUD para usuários/doadores e estoque de bolsas de sangue em hospitais
</p>
<a href="https://github.com/Cruz-Andre/bancoDeSangue" target="_blank" class="btn btn-info botao-cor-especial">Repositório Git</a>
</div>
</article>
</div>
</section>

<section id="desafiosCompass" class="container-fluid container__secao">
<div id="compass_uol" class="row text-center justify-content-center">
<h1 class="container__titulo">Desafios Compass.Uol</h1>
Expand Down Expand Up @@ -120,6 +138,7 @@ <h1 class="container__titulo">Exercícios e desafios concluídos dos cursos da A
crossorigin="anonymous">
</script>

<script type="module" src="./js/senacTech.js"></script>
<script type="module" src="./js/compass.js"></script>
<script type="module" src="./js/freeCodeCamp.js"></script>
<script type="module" src="./js/alura.js"></script>
Expand Down
26 changes: 26 additions & 0 deletions js/senacTech.js
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)
10 changes: 10 additions & 0 deletions json/senacTech.json
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"
}
]

0 comments on commit af57082

Please sign in to comment.