-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdreamer.html
More file actions
80 lines (73 loc) · 2.33 KB
/
Copy pathdreamer.html
File metadata and controls
80 lines (73 loc) · 2.33 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>DEANSand</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- 🔁 VIDEO BACKGROUND -->
<div class="video-wrapper">
<video class="video-bg" autoplay muted loop playsinline>
<source src="media/138556-769988117_medium.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
<!-- 🖼️ FADE-IN BACKGROUND OVERLAY -->
<div class="background-fade"></div>
<!-- 🔷 HEXAGON GRID -->
<div class="hex-grid main-content">
<div class="hex-container outer-container hex-NORTHEAST">
<a href="dreamer/the-day.html" class="hex-inner outer-inner">The <br/>DAY
</a>
</div>
<div class="hex-container outer-container hex-SOUTHEAST">
<a href="dreamer/the-night.html" class="hex-inner outer-inner">The <br/>NIGHT
</a>
</div>
<div class="hex-container outer-container hex-SOUTHWEST">
<a href="dreamer/the-rules.html" class="hex-inner outer-inner">The <br/>Rules
</a>
</div>
<div class="hex-container outer-container hex-NORTHWEST">
<a href="dreamer/the-world.html" class="hex-inner outer-inner">The <br/>World
</a>
</div>
<div class="hex-container outer-container hex-SOUTH">
<a href="dreamer/villains.html" class="hex-inner outer-inner">Villains
</a>
</div>
<div class="hex-container outer-container hex-NORTH">
<a href="dreamer/friends.html" class="hex-inner outer-inner">Friends
</a>
</div>
<div class="hex-container main-container main">
<a href="projecty.html" class="hex-inner main-inner">BACK
</a>
</div>
</div>
<script src="script.js"></script>
<!-- Preload videos for faster navigation -->
<script>
// Preload other videos for faster navigation
function preloadVideos(videoUrls) {
videoUrls.forEach(url => {
const link = document.createElement('link');
link.rel = 'preload';
link.as = 'video';
link.href = url;
link.type = 'video/mp4';
document.head.appendChild(link);
});
}
// Preload videos after page load
document.addEventListener('DOMContentLoaded', function() {
preloadVideos([
'media/background.mp4',
'media/12530-239934669_medium.mp4'
]);
});
</script>
</body>
</html>