-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
101 lines (89 loc) · 4.16 KB
/
Copy pathindex.html
File metadata and controls
101 lines (89 loc) · 4.16 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<title>Wesley Hack Club</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta http-equiv="cache-control" content="Private" />
<meta name="description" content="The homepage for Wesley HackClub.">
<meta name="keywords" content="Wesley,HackClub, Wesley HackClub">
<link rel="canonical" href="https://wesley.hackclub.com/">
<link rel="stylesheet" href="theme.css">
<script src="https://unpkg.com/lenis@1.1.20/dist/lenis.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
<script src="/very_important.js"></script>
<script>
// Initialize Lenis
const lenis = new Lenis({
autoRaf: true,
});
// Listen for the scroll event and log the event data
lenis.on('scroll', (e) => {
});
// Initialize GSAP animations
window.onload = function() {
gsap.fromTo(".heading101", { x: -100 }, { duration: 0.5, x: 0, opacity: 1, ease: "power2.out" });
gsap.fromTo(".heading102", { x: 100 }, { duration: 1, x: 0, opacity: 1, ease: "power2.out", delay: 0.5 });
gsap.fromTo(".intro p", { y: 20, opacity: 0 }, { duration: 1, y: 0, opacity: 1, stagger: 0.2, ease: "power2.out", delay: 1 });
gsap.fromTo(".members", { y: -50 }, { duration: 1, y: 0, opacity: 1, ease: "power2.out", delay: 1.5 });
gsap.fromTo("nav ul li, nav ul span", { y: -50 }, { duration: 1, y: 0, opacity: 1, stagger: 0.2, ease: "power2.out", delay: 2 });
if (window.innerWidth < 768) {
document.getElementById('smallScreenModal').style.display = 'block';
}
};
function closeModal() {
document.getElementById('smallScreenModal').style.display = 'none';
}
</script>
<link rel="stylesheet" href="https://unpkg.com/lenis@1.1.20/dist/lenis.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
</head>
<body>
<section class="section1">
<div class="topbar">
<div class="typing-effect"></div>
<div class="members">Member Count: 6ish</div>
<header class="header">
<nav>
<ul>
<li><a href="index.html">Home </a></li>
<span>|</span>
<li><a href="about.html">About</a></li>
<span>|</span>
<li><a href="mailto:kwiecien-fisherm@wesley.wa.edu.au">Contact</a></li>
</ul>
</nav>
</header>
</div>
<br>
<div class="heading-container">
<div class="heading101">Wesley</div>
<div class="heading102">HackClub<span class="cursor">|</span></div>
</div>
<div class="intro">
<p> Welcome to the Wesley Hackclub page. </p>
<p>The club is on every </p>
<p><span class="highlight">Tuesday lunch time</span> in the <span class="highlight">Hamer building.</span></p>
<p>Run by <span class="name">Michael K-F</span></p>
</div>
</section>
<section class="section2 fade-in" style="color: white">
<img class="location" src="image.png" alt="Map of where to go to get to Hack Club" width="auto" height="auto">
</section>
<br>
<br>
<br>
<!-- message for phones because mobile support is for smarter people -->
<div id="smallScreenModal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeModal()">×</span>
<p>This website is not designed for mobile devices because the developers are lazy. User error, get a laptop.</p>
</div>
</div>
<footer>
<p> © <script>document.write(new Date().getFullYear())</script> Wesley Hack Club</p>
</footer>
</body>
</html>