-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportfolio.html
159 lines (159 loc) · 5.07 KB
/
portfolio.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<link rel="shortcut icon" type="image/x-icon" href="logo.png">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portfólio | bgtechmind | design gráfico</title>
<link rel="stylesheet" href="styles.css">
<style>
nav ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
}
.portfolio {
width: 90%;
max-width: 1200px;
margin: 20px auto;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 10px;
}
.gallery img {
width: 100%;
height: auto;
display: block;
cursor: pointer;
}
.social-icons img {
height: 30px;
margin: 0 10px;
}
@media (max-width: 600px) {
.gallery {
grid-template-columns: repeat(2, 1fr);
}
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.9);
justify-content: center;
align-items: center;
}
.modal-content {
max-width: 90%;
max-height: 90%;
}
.modal-content img {
width: 100%;
height: auto;
}
.close {
position: absolute;
top: 15px;
right: 35px;
color: #fff;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}
.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
</style>
</head>
<body>
<header>
<div class="logo">
<a href="index.html"><img src="bgtechmind.png" alt="Logo da Agência"></a>
</div>
<nav>
<ul class="menu">
<li><a href="portfolio.html">Portfólio</a></li>
<li><a href="sobre.html">+Sobre</a></li>
</ul>
</nav>
</header>
<section class="portfolio">
<h2>Nosso Portfólio</h2>
<div class="gallery">
<div class="gallery-item">
<img src="FlyerADMBG-12-de-junho.png" alt="Projeto 1" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="burger123123.jpg" alt="Projeto 2" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="art02.png" alt="Projeto 6" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="Coffee-Flyer.jpg" alt="Projeto 3" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="cartaz-michel-16-de-out.jpg" alt="Projeto 4" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="burgersolo.jpg" alt="Projeto 5" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="flyerpresbmarcelo.jpg" alt="Projeto 6" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="Campanha do Renovo.jpg" alt="Projeto 7" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="planet-burger.png" alt="Projeto 8" onclick="openModal(this)">
</div>
<div class="gallery-item">
<img src="luizinho-lanches.jpg" alt="Projeto 9" onclick="openModal(this)">
</div>
</div>
</section>
<div id="myModal" class="modal">
<span class="close" onclick="closeModal()">×</span>
<div class="modal-content">
<img id="img01">
</div>
</div>
<footer>
<div class="social-icons">
<a href="https://www.facebook.com/profile.php?id=61567390179474"></a>
<a href="https://www.instagram.com/bg.techmind?utm_source=ig_web_button_share_sheet&igsh=ZDNlZDc0MzIxNw=="><img src="instagram.ico" alt="Instagram"></a>
<p>© 2024 bgtechmind. Todos os direitos reservados. | E-mail: adm@bgtechmind.com.br</p>
</div>
</footer>
<script>
function openModal(element) {
var modal = document.getElementById("myModal");
var modalImg = document.getElementById("img01");
modal.style.display = "flex";
modalImg.src = element.src;
}
function closeModal() {
var modal = document.getElementById("myModal");
modal.style.display = "none";
}
</script>
</body>
</html>