-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
304 lines (267 loc) · 12.7 KB
/
index.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE html>
<html lang="es">
<head>
<title>EL ARTE DE LA RUINA</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Joaquín Solla Vázquez, Manuel Estévez Murado">
<meta name="description" content="El arte de la ruina - © Manuel Estévez Murado 2023">
<meta name="keywords" content="el arte de la ruina, arte, ruina, arte de la ruina, Manuel Estevez, Manuel Estevez Murado,
Joaquin Solla, Joaquin Solla Vazquez, Pontevedra, Bellas artes, uvigo, Ponte Caldelas, fotografia, urbex, Fujifilm, 2023, fotolibro, fotografias,
galicia, mapa, abandonado, tienda, tfg, trabajo fin de grado">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/index.css">
<link rel="icon" href="/assets/favicon.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<script>
document.addEventListener("contextmenu", function(e) {
e.preventDefault();
});
</script>
<div class="header-and-content">
<div id="navigation" style="display: none">
<script src="scripts/navigation.js"></script>
<div></div>
<div>
<p> </p>
<p><a style="cursor: pointer" onclick="closeNavigationAndScrollToIntro()">FOTOGRAFÍAS</a></p>
<p><a href="fotolibro.html">FOTOLIBRO</a></p>
<p><a href="informacion.html">INFORMACIÓN</a></p>
<p><a href="mapa.html">MAPA</a></p>
<p><a href="https://www.instagram.com/estevez.jpg/" target="_blank">INSTAGRAM</a></p>
<p><a href="contacto.html">CONTACTO</a></p>
</div>
<div></div>
</div>
<div class="index-home body-section">
<div id="bg-carousel">
<img src="assets/index/carousel_2.webp" alt="" style="width: 0; height: 0; opacity: 0;">
<img src="assets/index/carousel_3.webp" alt="" style="width: 0; height: 0; opacity: 0;">
<img src="assets/index/carousel_4.webp" alt="" style="width: 0; height: 0; opacity: 0;">
<img src="assets/index/carousel_5.webp" alt="" style="width: 0; height: 0; opacity: 0;">
<img src="assets/index/carousel_6.webp" alt="" style="width: 0; height: 0; opacity: 0;">
<img src="assets/index/carousel_7.webp" alt="" style="width: 0; height: 0; opacity: 0;">
<img src="assets/index/carousel_8.webp" alt="" style="width: 0; height: 0; opacity: 0;">
<img src="assets/index/carousel_9.webp" alt="" style="width: 0; height: 0; opacity: 0;">
<img src="assets/index/carousel_1.webp" alt="" style="width: 0; height: 0; opacity: 0;">
</div>
<script>
const images = [
'url(assets/index/carousel_3.webp)',
'url(assets/index/carousel_4.webp)',
'url(assets/index/carousel_5.webp)',
'url(assets/index/carousel_6.webp)',
'url(assets/index/carousel_7.webp)',
'url(assets/index/carousel_1.webp)',
'url(assets/index/carousel_8.webp)',
'url(assets/index/carousel_9.webp)',
'url(assets/index/carousel_2.webp)',
];
function changeBackground() {
const div = document.getElementById('bg-carousel');
let i = 0;
setInterval(() => {
div.style.backgroundImage = images[i];
i = (i + 1) % images.length;
}, 4000);
}
window.onload = () => {
changeBackground();
};
</script>
<video id="bg-video" poster="assets/drone_view_frame_0.webp" autoplay loop muted>
<source src="assets/drone_view_1080_16-9.mp4" type="video/mp4">
<source src="assets/drone_view_1080_16-9.webm" type="video/webm">
</video>
<script>
function centerVideo() {
var video = document.getElementById('bg-video');
var container = video.parentElement;
var containerWidth = container.offsetWidth;
var containerHeight = container.offsetHeight;
var videoAspectRatio = 16 / 9;
var containerAspectRatio = containerWidth / containerHeight;
if (containerAspectRatio > videoAspectRatio) {
video.style.width = '100%';
video.style.height = 'auto';
} else {
video.style.width = 'auto';
video.style.height = '100%';
}
}
window.addEventListener('resize', centerVideo);
</script>
<div class="header-container">
<header class="header-expanded body-section">
<div class="header-title">
<a href="index.html">
<h1>El arte de la ruina</h1>
<p class="author">Manuel Estévez Murado</p>
</a>
</div>
<div class="header-links">
<p>
<a style="cursor: pointer" onclick="scrollToIntro()">FOTOGRAFÍAS</a>
<a href="fotolibro.html">FOTOLIBRO</a>
<a href="informacion.html">INFORMACIÓN</a>
<a href="mapa.html">MAPA</a>
<a href="https://www.instagram.com/estevez.jpg/" target="_blank">INSTAGRAM</a>
<a href="contacto.html">CONTACTO</a>
</p>
</div>
</header>
<header class="header-collapsed body-section">
<div class="header-title">
<a href="index.html">
<h1>El arte de la ruina</h1>
<p class="author">Manuel Estévez Murado</p>
</a>
</div>
<div>
<div id="navigation-button" class="navigation-button" onclick="toggleNavigation(this)">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</div>
</div>
</header>
</div>
<div></div>
<div class="index-home-swipe-button">
<script>
function closeNavigationAndScrollToIntro(){
const navigationButton = document.getElementById("navigation-button");
toggleNavigation(navigationButton);
scrollToIntro()
}
function scrollToIntro(){
const targetElement = document.querySelector('#fotografias');
const targetPosition = targetElement.offsetTop;
const startPosition = window.pageYOffset;
const distance = targetPosition - startPosition;
const duration = 400;
let start = null;
window.requestAnimationFrame(step);
function step(timestamp) {
if (!start) start = timestamp;
const progress = timestamp - start;
window.scrollTo(0, easeInOutQuad(progress, startPosition, distance, duration));
if (progress < duration) window.requestAnimationFrame(step);
}
// Easing function para una transición suave
function easeInOutQuad(t, b, c, d) {
t /= d/2;
if (t < 1) return c/2*t*t + b;
t--;
return -c/2 * (t*(t-2) - 1) + b;
}
}
</script>
<a id="scroll-button" style="cursor: pointer" onclick="scrollToIntro()">
<p style="user-select: none; font-size: 1.25rem; font-style: italic">Desliza para ver las fotografías<br>
<i class="fa fa-angle-double-down" style="animation: bounce 2.5s infinite;"></i>
</p>
</a>
</div>
</div>
<div id="fotografias" class="index-galleries body-section-padding">
<div class="index-galleries-wrap">
<div class="index-galleries-section">
<a class="index-galleries-section-link" href="galeria/bodegones.html">
<div class="index-galleries-section-image" style="background-image: url('assets/thumbnail/bodegones/DSCF9496-HDR.webp')">
</div>
<p class="index-galleries-section-text no-select">
Bodegones
</p>
</a>
</div>
<div class="index-galleries-section">
<a class="index-galleries-section-link" href="galeria/interiores.html">
<div class="index-galleries-section-image" style="background-image: url('assets/thumbnail/interiores/DSCF3467.webp')">
</div>
<p class="index-galleries-section-text no-select">
Interiores
</p>
</a>
</div>
<div class="index-galleries-section">
<a class="index-galleries-section-link" href="galeria/naturaleza.html">
<div class="index-galleries-section-image" style="background-image: url('assets/thumbnail/naturaleza/DSCF3483.webp')">
</div>
<p class="index-galleries-section-text no-select">
Naturaleza
</p>
</a>
</div>
<div class="index-galleries-section">
<a class="index-galleries-section-link" href="galeria/graffitis.html">
<div class="index-galleries-section-image" style="background-image: url('assets/thumbnail/graffitis/DSCF0436.webp')">
</div>
<p class="index-galleries-section-text no-select">
Graffitis
</p>
</a>
</div>
<div class="index-galleries-section">
<a class="index-galleries-section-link" href="galeria/texturas.html">
<div class="index-galleries-section-image" style="background-image: url('assets/thumbnail/texturas/DSCF1054.webp')">
</div>
<p class="index-galleries-section-text no-select">
Texturas
</p>
</a>
</div>
<div class="index-galleries-section">
<a class="index-galleries-section-link" href="galeria/geometrica.html">
<div class="index-galleries-section-image" style="background-image: url('assets/thumbnail/geometrica/DSCF0415-HDR.webp')">
</div>
<p class="index-galleries-section-text no-select">
Geométrica
</p>
</a>
</div>
<div class="index-galleries-section">
<a class="index-galleries-section-link" href="galeria/grandes_construcciones.html">
<div class="index-galleries-section-image" style="background-image: url('assets/thumbnail/grandes_construcciones/DSCF0871.webp')">
</div>
<p class="index-galleries-section-text no-select">
Grandes construcciones
</p>
</a>
</div>
<div class="index-galleries-section">
<a class="index-galleries-section-link" href="galeria/aerea.html">
<div class="index-galleries-section-image" style="background-image: url('assets/thumbnail/aerea/DJI_0174.webp')">
</div>
<p class="index-galleries-section-text no-select">
Aérea
</p>
</a>
</div>
</div>
</div>
</div>
<footer>
<p>
© MANUEL ESTÉVEZ MURADO 2023
</p>
<p style="text-align: center"> </p>
<p style="text-align: center">
A mi padre y a mi madre, por su ayuda y apoyo constantes.
</p>
<p style="text-align: center">
A mis amigos y acompañantes de viaje.
</p>
<p style="text-align: center">
A <a class="content-link" href="https://joaquinsolla.com" target="_blank">Joaquín</a>, por desarrollar esta página web.
</p>
</footer>
</body>
</html>