-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
192 lines (164 loc) · 10.4 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!-- Author: Abhishek Bhardwaj (https://github.com/Abhi5h3k) -->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Secreto</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="container-fluid">
<div class="row">
<nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top">
<div class="container-fluid">
<a class="btn animate__animated animate__bounce side_nav_btn" data-bs-toggle="offcanvas"
href="#secreto" role="button" aria-controls="secreto">
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor"
class="bi bi-list" viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5" />
</svg>
</a>
Secreto
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
<ul class="navbar-nav">
<!-- Add any other navigation items here if needed -->
</ul>
</div>
</div>
</nav>
</div>
<div class="row">
<div class="offcanvas offcanvas-start" tabindex="-1" id="secreto" aria-labelledby="secretoLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="secretoLabel">Secreto</h5>
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas"
aria-label="Close"></button>
</div>
<div class="offcanvas-body main-container">
<div class="accordion" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Discover Your Secret Code 🏴☠️
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne"
data-bs-parent="#accordionExample">
<div class="accordion-body">
<div class="card">
<img class="card-img-top" src="./images/ghostMode.gif" alt="ghost mode">
<div class=" p-3">
<h5 class="card-title">You Secret Treasure 🗝️</h5>
<p class="card-text">Ahoy! You've got your secret code, matey! Share this
code with your friends to join you on your private journey. Happy
sailing! 🏴☠️.
</p>
<p id="mySecretCode"
class="animate__animated animate__fadeIn animate__infinite animate__slow">
</p>
<!-- <button id="generateCodeBtn" type="button" class="btn btn-primary">Generate
Code</button>
</div> -->
</div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Join a Mate's Quest ⚓️
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo"
data-bs-parent="#accordionExample">
<div class="accordion-body">
<div class="form-floating mb-3">
<input type="text" class="form-control" id="secretInput"
placeholder="Enter secret code..">
<label for="secretInput">Enter Secret Code</label>
</div>
<div class="row">
<div class="col-sm-12">
<button id="connectUsingCodeBtn" type="button"
class="btn btn-primary">Connect</button>
</div>
</div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseThree" aria-expanded="false"
aria-controls="collapseThree">
Navigate the Chat Waters ⛵
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse"
aria-labelledby="headingThree" data-bs-parent="#accordionExample">
<div class="accordion-body3">
<div>
<select id="recipientSelect" class="form-select">
<!-- Options will be dynamically populated -->
</select>
</div>
<br>
<div class="chat-container">
<div class="chat-messages">
<!-- Add more messages here -->
</div>
<div class="input-group message-input">
<input type="text" class="form-control"
placeholder="Type your message...">
<button id="sendMsgBtn" class="btn send-btn">
<img src="./images/send.svg"
class="animate__animated animate__heartBeat animate__repeat-3"
alt="Trash Icon" width="16" height="16">
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-12 overflow-auto">
<div id="containerForCards" class="row row-cols-1 row-cols-md-4 g-4 p-4 justify-content-center">
<!-- Add more cards here -->
</div>
<img class="centered-div" src="./images/logo2.gif">
<video id="local-video" class="P-2" playsinline muted></video>
</div>
<audio id="notificationSound">
<source src="./sound/msg.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<script src="./js/lib/notify.min.js"></script>
<script src="https://unpkg.com/peerjs@1.5.2/dist/peerjs.min.js"></script>
<!-- Enjoyhint library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/kineticjs/5.2.0/kinetic.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.2/jquery.scrollTo.min.js"></script>
<link href="./js/lib/enjoyhint-master/enjoyhint.css" rel="stylesheet">
<script src="./js/lib/enjoyhint-master/enjoyhint.js"></script>
<script src="./js/main.js"></script>
<script src="./js/core.js"></script>
</body>
</html>
<!-- Credit : -->
<!-- Ghost Gif By : https://giphy.com/csak -->
<!-- Message Sound Effect by Lesiakower https://pixabay.com/users/lesiakower-25701529/ -->