-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (91 loc) · 4.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Oakville Dragonflies</title>
<!-- Bootstrap CSS (CDN version) -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<!-- Link to the custom styles.css file -->
<link rel="stylesheet" href="style.css">
<!--Google font Sofia-->
<link href='https://fonts.googleapis.com/css?family=Sofia' rel='stylesheet'>
<link href="https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap" rel="stylesheet">
</head>
<body class="website-font">
<!-- Navbar (Bootstrap) -->
<nav class="navbar navbar-expand-lg navbar-dark bg-black fixed-top text-light">
<a class="navbar-brand blue-text" href="#">Oakville Dragonflies</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#home">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
</li>
</ul>
</div>
</nav>
<!-- Home Section -->
<section id="home">
<div class="container mt-5 text-light">
<h1>Welcome to the Oakville Dragonflies</h1>
<p>This is the homepage content.</p>
<!-- Bootstrap full-width container -->
<div class="container-fluid my-5">
<!-- Responsive image inside the container -->
<img src="media/medal-picture-whatsapp_2024.jpg" alt="A description of the image" class="img-fluid">
</div>
<p>
The current website font is just an example.
Any desired font from <a href="https://fonts.google.com/">https://fonts.google.com/</a> can be imported.
</p>
</div>
</section>
<!-- About Section -->
<section id="about">
<div class="container text-light">
<h1>About Us</h1>
<p>This page gives information about our application.</p>
<!-- Bootstrap full-width container -->
<div class="container-fluid my-5">
<!-- Video (muted because most browsers block autoplay for non-muted videos) -->
<video controls autoplay loop muted class="w-100"> <!-- Add 'controls' keyword for play/pause button. -->
<source src="media/oakville-dragonflies_drone-footage_2024.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<p>
The above video is on loop and autoplay in theory.
But this is a finnicky function to get working so I've added buttons as well.
</p>
<br>
<p>
The website is currently hosted on github. This is free to host static webpages.
A static webpage means that there is no server so there is very little user interaction.
For example, users will not be able to fill out a form and have the website collect this data.
However static websites can still be very useful for displaying information.
It is also possible to buy a domain name to connect this website to.
</p>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<div class="container text-light">
<h1>Contact Us</h1>
<p>If you have any questions, feel free to reach out!</p>
</div>
</section>
<!-- Bootstrap JS, Popper.js and jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>