-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
133 lines (116 loc) · 6.04 KB
/
Copy pathindex.html
File metadata and controls
133 lines (116 loc) · 6.04 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
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
<!DOCTYPE html>
<html>
<head>
<title>Codeunity | Home</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="shortcut icon" href="https://i.ibb.co/GdjyJnT/ethereum.phttps://i.ibb.co/LzX8QR2/crypto.pngng" type="image/x-icon">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
body, html {
height: 100%;
line-height: 1.8;
}
/* Full height image header */
.bgimg-1 {
background-position: center;
background-size: cover;
background-image: url("https://i.ibb.co/3d2YnFs/crypto.jpg");
min-height: 100%;
}
.w3-bar .w3-button {
padding: 16px;
}
</style>
</head>
<body>
<!-- Navbar (sit on top) -->
<div class="w3-top">
<div class="w3-bar w3-white w3-card" id="myNavbar">
<a href="#home" class="w3-bar-item w3-button w3-wide">UNITY TRADE PLUS</a>
<!-- Right-sided navbar links -->
<div class="w3-right 3-card w3-hide-small">
<a href="#about" class="w3-bar-item w3-button"> ABOUT</a>
<a href="#team" class="w3-bar-item w3-button"><i class="fa fa-user"></i> TEAM</a>
<a href="#work" class="w3-bar-item w3-button"><i class="fa fa-th"></i> WORK</a>
<a href="#pricing" class="w3-bar-item w3-button w3-hide" id="p1"><i class="fa fa-usd"></i> PRICING</a>
<a href="#contact" class="w3-bar-item w3-button w3-hide" id="p2"><i class="fa fa-envelope"></i> CONTACT</a>
<script async src="https://telegram.org/js/telegram-widget.js?19" data-telegram-login="codeunitybot" data-size="large" data-onauth="onTelegramAuth(user)" data-onunauth="onTelegramUnAuth()" data-request-access="write"></script>
</div>
<!-- Hide right-floated links on small screens and replace them with a menu icon -->
<a href="javascript:void(0)" class="w3-bar-item w3-button w3-right w3-hide-large w3-hide-medium" onclick="w3_open()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<!-- Sidebar on small screens when clicking the menu icon -->
<nav class="w3-sidebar w3-bar-block w3-black w3-card w3-animate-left w3-hide-medium w3-hide-large" style="display:none" id="mySidebar">
<a href="javascript:void(0)" onclick="w3_close()" class="w3-bar-item w3-button w3-large w3-padding-16">Close ×</a>
<a href="#about" onclick="w3_close()" class="w3-bar-item w3-button">ABOUT</a>
<a href="#team" onclick="w3_close()" class="w3-bar-item w3-button">TEAM</a>
<a href="#work" onclick="w3_close()" class="w3-bar-item w3-button">WORK</a>
<a href="#pricing" onclick="w3_close()" class="w3-bar-item w3-button w3-hide" id="p1s">PRICING</a>
<a href="#contact" onclick="w3_close()" class="w3-bar-item w3-button w3-hide" id="p2s">CONTACT</a>
<script async src="https://telegram.org/js/telegram-widget.js?19" data-telegram-login="codeunitybot" data-size="large" data-onauth="onTelegramAuth(user)" data-onunauth="onTelegramUnAuth()" data-request-access="write"></script>
</nav>
<!-- Header with full-height image -->
<header class="bgimg-1 w3-display-container w3-grayscale-min" id="home">
<div class="w3-display-left w3-text-white" style="padding:48px">
<span class="w3-jumbo w3-hide-small">Start something that matters</span><br>
<span class="w3-xxlarge w3-hide-large w3-hide-medium">Start something that matters</span><br>
<span class="w3-large">Stop wasting valuable time with projects that just isn't you.</span>
<p><a href="#about" class="w3-button w3-white w3-padding-large w3-large w3-margin-top w3-opacity w3-hover-opacity-off">Learn more and start today</a></p>
</div>
<div class="w3-display-bottomleft w3-text-grey w3-large" style="padding:24px 48px">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
</div>
</header>
<div id="home">Lorem ipsum dolor sit amet consectetur adipisicing elit. Delectus magni, quibusdam sint, officiis ullam laborum at id, consectetur deleniti nemo a accusamus est dolorum. Architecto delectus provident illum ipsa adipisci?</div>
<script>
localStorage.setItem('isAuth',false)
window.addEventListener('DOMContentLoaded', (event) => {
if(localStorage.getItem('isAuth')===true) {
document.getElementById('p1').className = 'w3-bar-item w3-button'
document.getElementById('p2').className = 'w3-bar-item w3-button'
document.getElementById('p1s').className = 'w3-bar-item w3-button'
document.getElementById('p2s').className = 'w3-bar-item w3-button'
}
});
function onTelegramAuth(user) {
localStorage.setItem('isAuth',true)
document.getElementById('p1').className = 'w3-bar-item w3-button'
document.getElementById('p2').className = 'w3-bar-item w3-button'
document.getElementById('p1s').className = 'w3-bar-item w3-button'
document.getElementById('p2s').className = 'w3-bar-item w3-button'
}
function onTelegramUnAuth() {
localStorage.setItem('isAuth',false)
document.getElementById('p1').className = 'w3-bar-item w3-button w3-hide'
document.getElementById('p2').className = 'w3-bar-item w3-button w3-hide'
document.getElementById('p1s').className = 'w3-bar-item w3-button w3-hide'
document.getElementById('p2s').className = 'w3-bar-item w3-button w3-hide'
}
// Toggle between showing and hiding the sidebar when clicking the menu icon
const mySidebar = document.getElementById("mySidebar");
function w3_open() {
if (mySidebar.style.display === 'block') {
mySidebar.style.display = 'none';
} else {
mySidebar.style.display = 'block';
}
}
// Close the sidebar with the close button
function w3_close() {
mySidebar.style.display = "none";
}
</script>
</body>
</html>