Skip to content

Commit fbda1bb

Browse files
authored
Add index.html
1 parent 591e1c8 commit fbda1bb

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

JavaDiscord/index.html

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="description" content="With over 2,000 Members and 20,000 Messages sent each month, join one of the biggest Java Communities to help, get help and discuss programming in Java."/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<link rel="stylesheet" href="./css/styles.css">
9+
<link rel="stylesheet" href="./css/queries.css">
10+
<link rel="shortcut icon" href="./assets/LogoRedWhite.png" type="image/x-icon">
11+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">
12+
<title>Java Discord - Java Community on Discord</title>
13+
</head>
14+
<body>
15+
<!-- Navbar -->
16+
<div class="Navbar" id="navbar">
17+
<nav>
18+
<img src="./assets/LogoRedWhite.png" alt="JavaDiscordLogo">
19+
<button class="hamburger" id="hamburger">
20+
<i class="fas fa-bars"></i>
21+
</button>
22+
<ul class="nav-ul" id="nav-ul">
23+
<li><a href="https://github.com/java-discord" target="_blank">GitHub</a></li>
24+
<li><a href="#" class="active-link">Home<hr></a></li>
25+
<li><a href="./rules.html">Rules</a></li>
26+
</ul>
27+
<a href="https://discord.gg/x65hqE6" class="nav-ul join-btn" id="nav-ul">Join</a>
28+
</nav>
29+
</div>
30+
<!-- Content -->
31+
<header>
32+
<div class="container">
33+
<div class="left-box">
34+
<h1>HELP.<br>CODE.<br>LEARN.</h1>
35+
</div>
36+
<div style="flex: 2;"></div>
37+
<div class="right-box">
38+
<p>
39+
Get help, share ideas and chat with thousands of Java developers from across the globe. <br>
40+
Welcome to the Java Discord, one of the biggest
41+
Java Communities on Discord.
42+
</p>
43+
<div class="button">
44+
<a href="https://discord.gg/x65hqE6">JOIN NOW!</a>
45+
</div>
46+
</div>
47+
</div>
48+
</header>
49+
<!-- Footer -->
50+
<footer>
51+
<div class="copyright">
52+
<p>&copy 2021 JavaDiscord | JavaDiscord is not affiliated, associated, or endorsed with/by Discord or Oracle</p>
53+
</div>
54+
</footer>
55+
<!-- JS -->
56+
<script type="text/javascript">
57+
// Hamburger menu
58+
const hamburger = document.getElementById("hamburger");
59+
const navUL = document.getElementById("nav-ul");
60+
const navbar = document.querySelector("nav");
61+
62+
hamburger.addEventListener("click", () => {
63+
navUL.classList.toggle("show");
64+
navbar.classList.toggle("bottom-shadow-effect");
65+
});
66+
67+
// Scroll effect
68+
window.addEventListener("scroll", function() {
69+
var navbar = document.getElementById("navbar");
70+
navbar.classList.toggle("navbar-scrolling", window.scrollY > 0);
71+
});
72+
</script>
73+
</body>
74+
</html>

0 commit comments

Comments
 (0)