-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
103 lines (100 loc) · 4.85 KB
/
index.html
File metadata and controls
103 lines (100 loc) · 4.85 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
102
103
<!DOCTYPE html>
<html>
<head>
<!-- Title and favicon tags -->
<title>Earthbound Companion: Home</title>
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">
<link rel="manifest" href="./site.webmanifest">
<link rel="mask-icon" href="./safari-pinned-tab.svg" color="#a9221c">
<meta name="apple-mobile-web-app-title" content="Earthbound Companion">
<meta name="application-name" content="Earthbound Companion">
<meta name="msapplication-TileColor" content="#a9221c">
<meta name="theme-color" content="#ffffff">
<!-- SEO and utility tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A companion WebApp for the Earthbound game">
<meta name="keywords" content="earthbound, companion, videogame, webapp">
<!-- Bootstrap 5 tags -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
<!-- Local scripts -->
<script src="./scripts/main.js"></script>
<script src="./scripts/home.js"></script>
<!-- Local stylesheets -->
<link rel="stylesheet" href="./styles/main.css">
</head>
<body class="main-body">
<nav class="navbar navbar-expand-lg navbar-dark m-3">
<div class="container-fluid">
<a class="navbar-brand" href="#">Earthbound Companion</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./equipmenttesting/">Equipment Testing</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="/wiki" role="button" id="dropdownMenuLink"
data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
Wiki
</a>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<li><a class="dropdown-item" href="./wiki/enemies/">Enemies</a></li>
<li><a class="dropdown-item" href="./wiki/items/">Items</a></li>
<li><a class="dropdown-item" href="./wiki/maps/">Maps</a></li>
<li><a class="dropdown-item" href="./wiki/shops/">Shops</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="./savefileviewer/">Save file viewer</a>
</li>
</ul>
<form class="d-flex" autocomplete="off" onsubmit="return false">
<div class="autocomplete" style="margin-right: 10px;">
<input class="form-control me-2" id="searchLabel" type="search" placeholder="Search" aria-label="Search">
</div>
<button class="btn btn-outline-light" id="searchButton" type="button">Search</button>
</form>
</div>
</div>
</nav>
<div class="container-sm">
<div class="row">
<div class="col">
<h1 class="text-white">Welcome to Earthbound Companion!</h1>
</div>
<div class="earthbound-image-div">
<img src="./EBwallpaper.png" style="border-radius: 25px; padding-bottom: 20px;" width="100%">
<span>Creators: Andrea Leonardo, Federico Chiesa</span>
</div>
</div>
</div>
<div class="toast-container">
<div class="toast bg-dark text-white" role="alert" aria-live="assertive" aria-atomic="true" id="surveyToast">
<div class="toast-body">
Hey! Would you help us improve this website by taking a short usability survey?<br>We won't ask for your
personal data, we promise!
</div>
<div class="mb-2 me-2 d-flex justify-content-end">
<button type="button" onclick="setSurveyCookie()" class="btn btn-secondary btn-sm me-2"
data-bs-dismiss="toast">Don't ask again</button>
<button type="button" class="btn btn-light btn-sm"
onclick="window.open('https://docs.google.com/forms/d/1gTPUuU9rI2ghVn-WRfypgAV2GOOJQItU4Ueio89xn28')">OK!</button>
</div>
</div>
</div>
<script>showSurveyToast()</script>
</body>
</html>