-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.html
146 lines (132 loc) · 4.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DcodeKi</title>
<link rel="icon" type="image/x-icon" href="./dcodeKi-app/logo.png" />
</head>
<body>
<link rel="stylesheet" href="style.css" />
<!-- <div class="nav-bar">
<nav>
<img class="logo" src="./dcodeKi-app/logo.png" alt="align box" width="50" height="50">
<a href="#">Contact</a>
<a href="#">Contributors</a>
<a href="#">Download</a>
<a href="index.html">About</a>
</nav>
</div> -->
<header class="nav-bar">
<nav>
<div class="logo-container">
<a href="./index.html"
><img
class="logo"
src="./dcodeKi-app/logo.png"
alt="align box"
width="50"
height="50"
/></a>
</div>
<div class="navigation-items" id="navigation-items">
<a class="stag" href="./index.html">About</a>
<a class="stag" href="./Components/downloads/download.html" target="_blank">Downloads</a>
<a class="stag" href="./Components/contributors/contributors.html" target="_blank">Contributors</a>
<a class="stag" href="./Components/conatact_page/contact.html" target="_blank"
>ContactUs</a
>
</div>
<div class="hamburger">
<span id="openHam">☰</span>
<span id="closeHam">✖</span>
</div>
</nav>
</header>
<div class="heroContainer">
<div class="hero-left">
<h3>What is DcodeKi ?</h3>
<p>
DcodeKi is a encoder decoder tool written in python and made with kivy
framework (to create Graphical User Interface) and KivyMD (for icons).
</p>
<button class="btn-join">Join DcodeKi →</button>
</div>
<div class="hero-right">
<img src="./dcodeKi-app/ec.gif" alt="">
</div>
</div>
<footer class="footer">
</div>
<ul class="social-icon">
<li class="social-icon__item">
<a class="social-icon__link" href="#">
<ion-icon name="logo-github"></ion-icon>
</a>
</li>
<li class="social-icon__item">
<a class="social-icon__link" href="#">
<ion-icon name="logo-twitter"></ion-icon>
</a>
</li>
<li class="social-icon__item">
<a class="social-icon__link" href="#">
<ion-icon name="logo-linkedin"></ion-icon>
</a>
</li>
</ul>
<p>©2024 Pankaj Barman | All Rights Reserved</p>
</footer>
<script
type="module"
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"
></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js" integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
var tl = gsap.timeline();
tl.from(".nav-bar", {
y:-20,
opacity:0,
delay:0.5,
duration:1,
})
tl.from(".logo-container", {
x:-50,
duration:1,
opacity:0,
})
tl.from(".hero-left h3", {
opacity:0,
x:-20,
})
tl.from(".hero-left p", {
opacity:0,
x:20,
})
tl.from(".btn-join,.hero-right img", {
opacity:0,
scale:1.3,
})
tl.from("footer", {
opacity:0,
})
</script>
</body>
<script>
let openHam = document.querySelector("#openHam");
let closeHam = document.querySelector("#closeHam");
let navigationItems = document.querySelector("#navigation-items");
const hamburgerEvent = (navigation, close, open) => {
navigationItems.style.display = navigation;
closeHam.style.display = close;
openHam.style.display = open;
};
openHam.addEventListener("click", () =>
hamburgerEvent("flex", "block", "none")
);
closeHam.addEventListener("click", () =>
hamburgerEvent("none", "none", "block")
);
</script>
</html>