-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (54 loc) · 2.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://cdn.icon-icons.com/icons2/1154/PNG/512/1486564410-chat_81504.png"
type="image/x-icon">
<title>ChatBox</title>
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="./styles/navbar.css">
<link rel="stylesheet" href="./styles/home.css">
</head>
<body>
<div id="homecontainer">
<nav>
<!-- <h1 id="brandName"><span>Chat</span>Box</h1> -->
<h1 class="brandName">Chat<span>Box</span></h1>
<ul>
<li><button onclick="location.href='/'">Home</button></li>
<li><button onclick="location.href='/join'">Chat</button></li>
<li><button onclick="location.href='/about'">About</button></li>
</ul>
<button class="btn" onclick="location.href='/about#footersec'">Let's Connect</button>
<button id="menuBtn" class="btn" onclick="{document.getElementById('sidenav').style.display = 'flex';}"
style="border: none;">
<img class="icon" src="https://cdn-icons-png.flaticon.com/512/1828/1828859.png" alt="menu">
</button>
</nav>
<div id="sidenav">
<button class="btn" onclick="{document.getElementById('sidenav').style.display = 'none';}"
style="border: none;">
<img class="icon" src="https://cdn-icons-png.flaticon.com/512/507/507257.png" style="transform: rotate(180deg);" alt="arrow">
</button>
<ul>
<li><button onclick="location.href='/'">Home</button></li>
<li><button onclick="location.href='/join'">Chat</button></li>
<li><button onclick="location.href='/about'">About</button></li>
</ul>
<button class="btn" onclick="location.href='/about#footersec'">Let's Connect</button>
</div>
<div id="homebody">
<div>
<h1 class="brandName">Welcome to Chat<span>Box</span></h1>
<p>"Instant Chat, Connect and Explore with Ease!"</p>
<button class="btn" onclick="location.href='/create'">Create New Chat</button>
<button class="btn" onclick="location.href='/join'">Join Chat</button>
</div>
<div>
<img src="./img/teenager-girl-chatting.png" alt="Chatting">
</div>
</div>
</div>
</body>
</html>