forked from Pankaj0038/dcodeKi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (102 loc) · 3.37 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
<!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 href="./index.html">About</a>
<a href="./Components/downloads/download.html" target="_blank">Downloads</a>
<a href="./Components/contributors/contributors.html" target="_blank">Contributors</a>
<a 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>
</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>