Modelo de Entrega Do Trabalho - Meu Portfólio - Yngridy Silva
Modelo de Entrega Do Trabalho - Meu Portfólio - Yngridy Silva
Modelo de Entrega Do Trabalho - Meu Portfólio - Yngridy Silva
ATIVIDADE PRÁTICA
SANTOS-SP
2023
1. Estrutura de pastas do projeto
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portfólio - Yngridy Silva</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
1
<!-- seção de projetos -->
<section class="project-section ">
<h1 class="project-heading">alguns dos meus projetos</h1>
<div class="project-container">
<div class="project-card">
<img src="img/projeto-1.png" class="project-img" alt="">
<div class="project-content">
<h1 class="project-title">meu portfólio</h1>
<p class="project-info">
Esse é o meu primeiro projeto de programação. Utilizei
HTML, CSS e JavaScript para fazer o meu portfólio.
</p>
<div class="project-btn-grp">
<button class="project-btn github">github repositó-
rio</button>
<a href="https://yngridysilva.000webhostapp.com/"
class="project-btn live">ver projeto</a>
</div>
</div>
</div>
<div class="project-card">
<img src="img/projeto-2.png" class="project-img" alt="">
<div class="project-content">
<h1 class="project-title">jogo da velha</h1>
<p class="project-info">
Projeto em andamento, ainda não foi concluído. Estou
fazendo o jogo da velha em C.
</p>
<div class="project-btn-grp">
<button class="project-btn github">github repositó-
rio</button>
<a href="https://www.exemplo.com" class="project-btn
live">ver projeto</a>
</div>
</div>
</div>
<div class="project-card">
<img src="img/projeto-3.png" class="project-img" alt="">
<div class="project-content">
<h1 class="project-title">jogo da memória</h1>
<p class="project-info">
Projeto em andamento, ainda não foi concluído. Estou
fazendo o jogo da memória em HTML, CSS e JavaScript.
</p>
<div class="project-btn-grp">
<button class="project-btn github">github repositó-
rio</button>
<a href="https://www.exemplo.com" class="project-btn
live">ver projeto</a>
</div>
</div>
</div>
<div class="project-card">
<img src="img/projeto-4.png" class="project-img" alt="">
<div class="project-content">
<h1 class="project-title">calculadora</h1>
<p class="project-info">
Projeto em andamento, ainda não foi concluído. Estou
fazendo a calculadora em Python.
</p>
<div class="project-btn-grp">
<button class="project-btn github">github repositó-
rio</button>
<a href="https://www.exemplo.com" class="project-btn
live">ver projeto</a>
</div>
</div>
</div>
</div>
</section>
</body>
</html>
body{
width: 100%;
max-width: 1400px;
display: block;
margin: auto;
min-height: 100vh;
background: #191919;
font-family: sans-serif;
}
.navbar{
width: 100%;
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 9;
background: #1a1a1a;
}
.link-group{
list-style: none;
display: flex;
}
.link a{
color: #fff;
opacity: 0.5;
text-decoration: none;
text-transform: capitalize;
padding: 10px 30px;
margin: 0 20px;
line-height: 80px;
transition: .5s;
font-size: 20px;
}
/* seção inicial */
.home-section.active,
.project-section.active,
.about-section.active,
.contact-section.active{
position: relative;
opacity: 1;
z-index: 8;
}
.home-section{
width: 100%;
height: 100vh;
padding: 0 150px;
display: flex;
align-items: center;
position: fixed;
top: 0;
opacity: 0;
transition: 1s;
}
.hero-heading{
color: #fff;
font-size: 120px;
text-transform: capitalize;
font-weight: 300;
}
.home-img{
position: absolute;
top: 0;
right: 0;
height: 100vh;
width: 50%;
object-fit: cover;
opacity: 0.2;
}
/* seção de projetos */
.project-section{
width: 100%;
min-height: 100vh;
padding: 150px 100px 100px;
position: fixed;
top: 0;
transition: 1s;
opacity: 0;
}
.project-heading{
font-size: 100px;
background: #252525;
text-transform: capitalize;
text-align: center;
margin-bottom: 50px;
color: #1a1a1a;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-stroke: 8px transparent;
}
.project-container{
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 100px;
}
.project-card{
height: 400px;
position: relative;
}
.project-img{
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
object-fit: cover;
transition: .5s;
}
.project-content{
position: relative;
padding: 40px;
color: #fff;
transition: .5s;
opacity: 0;
}
.project-title{
font-size: 50px;
text-transform: capitalize;
text-align: center;
font-weight: 300;
}
.project-info{
margin: 40px;
font-size: 20px;
line-height: 30px;
text-align: center;
}
.project-btn-grp{
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 20px;
}
.project-btn{
height: 40px;
text-transform: capitalize;
font-size: 18px;
border: none;
background: #000;
color: #fff;
cursor: pointer;
}
.project-btn.live {
background: none;
color: #fff;
border: 2px solid #fff;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
display: inline-block;
font-weight: bold;
text-align: center;
}
.project-btn.live:hover {
background: #0056b3;
border: 2px solid #0056b3;
}
.project-card:hover .project-img{
filter: blur(20px);
}
.project-card:hover .project-content{
opacity: 1;
}
.about{
width: 100%;
display: grid;
grid-template-columns: 30% 65%;
grid-gap: 40px;
}
.about-img-container{
position: relative;
}
.about-info{
color: #fff;
opacity: 0.6;
font-size: 20px;
line-height: 40px;
}
.about-img{
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 20px;
}
.download-cv-btn{
position: absolute;
bottom: 20px;
left: 50%;
transform: translatex(-50%);
padding: 10px 20px;
color: #fff;
border: none;
font-size: 16px;
text-transform: capitalize;
cursor: pointer;
transition: .5s;
background: rgba(0, 0, 0, 0.5);
}
.download-cv-btn:hover{
background: #000;
}
/* skills */
.skill-section{
position: relative;
margin: 100px 0;
}
.heading{
text-align: center;
font-size: 60px;
color: #fff;
text-transform: capitalize;
font-weight: 300;
margin-bottom: 100px;
}
.skills-container{
width: 95%;
margin: auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 100px;
color: #fff;
}
.skill-card{
position: relative;
}
.skill-img{
display: block;
margin: auto;
height: 200px;
}
.skill-name{
font-size: 30px;
font-weight: 300;
text-align: center;
text-transform: capitalize;
margin: 30px 0 20px;
}
.skill-info{
text-align: center;
opacity: 0.5;
font-size: 18px;
line-height: 30px;
}
.skill-level{
position: absolute;
top: 80px;
right: 0;
width: 150px;
height: 150px;
display: flex;
justify-content: center;
align-items: center;
font-size: 22px;
border-radius: 50%;
border: 10px solid;
}
.skill-card:nth-child(1) .skill-level{
background: #ff4f4f28;
border-color: #ff4f4f;
color: #ff4f4f;
}
.skill-card:nth-child(2) .skill-level{
background: #3225e028;
border-color: #4fa0ff;
color: #4fa0ff;
}
.skill-card:nth-child(3) .skill-level{
background: #edf11228;
border-color: #ffed4f;
color: #ffed4f;
}
/* linha do tempo */
.timeline{
display: block;
width: 80%;
margin: 150px auto;
}
.timeline .heading{
margin-bottom: 150px;
}
.card{
width: 45%;
padding: 30px;
border-radius: 10px;
color: #fff;
display: block;
margin: -80px 0;
position: relative;
background: #f00;
}
.card:nth-child(even){
margin-left: auto;
}
.card:nth-child(even):before{
content: '';
position: absolute;
left: -15%;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
border: 5px solid #191919;
border-radius: 50%;
}
.card:nth-child(even):after{
content: '';
position: absolute;
left: -8.5%;
top: 50%;
transform: translateY(-50%);
width: 7%;
height: 2px;
background: #fff;
z-index: -1;
}
.card:nth-child(2):before,
.card:nth-child(3):before,
.card:nth-child(4):before,
.card:nth-child(5):before,
.card:nth-child(6):before {
content: '';
position: absolute;
right: -13%;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
border: 5px solid #191919;
border-radius: 50%;
}
.card:nth-child(2):after,
.card:nth-child(3):after,
.card:nth-child(4):after,
.card:nth-child(5):after,
.card:nth-child(6):after {
content: '';
position: absolute;
right: -8.5%;
top: 50%;
transform: translateY(-50%);
width: 7%;
height: 2px;
background: #fff;
z-index: -1;
}
.card:nth-child(2):before{
background: #ff4f4f;
}
.card:nth-child(3), .card:nth-child(3):before{
background: #ffb84f;
}
.card:nth-child(4), .card:nth-child(4):before{
background: #3dca5c;
}
.card:nth-child(5), .card:nth-child(5):before{
background: #565252;
}
.card:nth-child(6), .card:nth-child(6):before{
background: #4fa0ff;
}
.card:nth-child(even) .card-body:before{
content: '';
position: absolute;
left: -12%;
top: 0;
width: 0px;
height: 100%;
border: 1px dashed #fff;
z-index: -1;
}
.card-title{
font-size: 30px;
font-weight: 300;
margin-bottom: 20px;
}
.contact-section{
position: absolute;
top: 0;
opacity: 0;
transition: 1s;
padding: 100px 150px;
height: 100vh;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 50px;
}
::placeholder{
color: #fff;
}
#msg{
height: 280px;
resize: none;
font-family: sans-serif;
}
.form-submit-btn{
background: #ff4f4f;
color: #fff;
text-transform: capitalize;
padding: 15px 40px;
display: block;
margin: auto;
border: none;
border-radius: 10px;
cursor: pointer;
}
.map{
width: 100%;
height: 100%;
padding: 10px;
border: 2px solid #fff;
background: rgba(255, 255, 255, 0.2);
border-radius: 10px;
}
.map inframe{
width: 100%;
height: 100%;
border-radius: 5px;
}
let activeLink = 0;
links.forEach((link, i) => {
link.addEventListener('click', () => {
if(activeLink !== i){
links[activeLink].classList.remove('active');
link.classList.add('active');
sections[activeLink].classList.remove('active');
setTimeout(() => {
activeLink = i;
sections[i].classList.add('active');
}, 1000);
}
})
})