This repository has been archived by the owner on Oct 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
142 lines (123 loc) · 6.13 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
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<!--
_ __ _ _ _
__ _____ _ __ | |_ / _(_)_ __ ___| |_ _| |__
\ \ /\ / / _ \| '_ \| __| |_| \ \/ / / __| | | | | '_ \
\ V V / (_) | | | | |_| _| |> < | (__| | |_| | |_) |
\_/\_/ \___/|_| |_|\__|_| |_/_/\_(_)___|_|\__,_|_.__/
Issues? Requests? Info? Want to hang out?
contact@wontfix.club
Source code available at
https://github.com/Marc3842h/wontfix.club
-->
<title> wontfix.club </title> <!-- Title can only be seen before our Marquee script starts (on first load) -->
<link rel="shortcut icon" href="/favicon.png" />
<meta charset="UTF-8">
<meta lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="wontfix.club">
<meta property="og:description" content="Marc3842h. wontfix /closed.">
<meta property="og:url" content="https://wontfix.club">
<meta property="og:image" content="https://wontfix.club/favicon.png">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Bungee|Alegreya">
<link rel="stylesheet" href="/css/fa-svg-with-js.css">
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
<div class="main-container video-overlay">
<div class="title">
MARC3842H
<div class="subtitle">
won't fix //closed
</div>
<div class="links">
<a class="youtube-link" href="https://www.youtube.com/channel/UCidxL4MfjfLCNVd_qdSgXpg" target="_blank">
<i class="fab fa-youtube"></i>
</a>
 
<a class="github-link" href="https://github.com/Marc3842h" target="_blank">
<i class="fab fa-github"></i>
</a>
 
<a class="steam-link" href="https://steamcommunity.com/id/Marc3842h" target="_blank">
<i class="fab fa-steam"></i>
</a>
</div>
<!--<div class="toggle-button">
<a href="#">Toggle video</a>
</div>-->
</div>
</div>
<div class="video-background"></div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script src="/js/fontawesome-all.min.js"></script>
<script src="/js/jquery.vide.js"></script>
<!-- Marquee title for that general b1g HvH feeling -->
<script type="text/javascript">
var title = " wontfix.club ";
function marqueeTitle() {
title = title.substring(1) + title.substring(0, 1);
$(document).attr("title", title);
setTimeout(marqueeTitle, 300);
}
$(marqueeTitle());
</script>
<!-- Music: Night Lovell - Beneath Anime: Corpse Princess-->
<script type="text/javascript">
$(function() {
// Exclude the iPad
Modernizr.addTest('ipad', function() {
return !!navigator.userAgent.match(/iPad/i);
});
// Exclude the iPhone
Modernizr.addTest('iphone', function() {
return !!navigator.userAgent.match(/iPhone/i);
});
// Exclude the iPod touch
Modernizr.addTest('ipod', function() {
return !!navigator.userAgent.match(/iPod/i);
});
// Exclude android phones and tablets
Modernizr.addTest('android', function() {
return !!navigator.userAgent.match(/android/i);
});
// Add a test to Modernizr combining all platforms
Modernizr.addTest('excludedplatforms', function() {
return (Modernizr.ipad || Modernizr.ipod || Modernizr.iphone || Modernizr.android);
});
if(!Modernizr.excludedplatforms) {
if(Modernizr.video.webm || Modernizr.video.h264 || Modernizr.video.ogg) {
$(".video-background").vide("/vid/night_lovell_beneath.mp4", {
volume: 0.25,
playbackRate: 1,
muted: false,
loop: true,
autoplay: true,
resizing: true,
bgColor: "transparent"
});
console.log("[WONTFIX.CLUB] Detected desktop platform. Video will be preloaded.");
var toggleButton = $(".toggle-button");
toggleButton.css("visibility", "visible");
toggleButton.on("click", function() {
var videoBg = $(".video-background");
if(videoBg.css("visibility") === "hidden") {
videoBg.css("visibility", "visible");
} else {
videoBg.css("visibility", "hidden");
}
});
}
} else {
console.log("[WONTFIX.CLUB] Detected mobile platform. Disabling video.");
}
});
</script>
</body>
</html>