Skip to content

Commit 62213a3

Browse files
committed
Change file structure
1 parent efbd2b9 commit 62213a3

File tree

9 files changed

+952
-952
lines changed

9 files changed

+952
-952
lines changed
Lines changed: 352 additions & 352 deletions
Large diffs are not rendered by default.
Lines changed: 312 additions & 312 deletions
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.
Lines changed: 110 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,110 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T3DK8F7FPD"></script>
5-
<script>
6-
window.dataLayer = window.dataLayer || [];
7-
function gtag(){dataLayer.push(arguments);}
8-
gtag('js', new Date());
9-
10-
gtag('config', 'G-T3DK8F7FPD');
11-
</script>
12-
<meta charset="UTF-8">
13-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
14-
<meta name="description" content="With over 12000 Members and 50,000 Messages sent each month, join one of the biggest Java Communities to help, get help and discuss programming in Java."/>
15-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
16-
<link rel="stylesheet" href="./css/styles.css">
17-
<link rel="stylesheet" href="./css/queries.css">
18-
<link rel="shortcut icon" href="./assets/LogoBlue_NoBG.png" type="image/x-icon">
19-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">
20-
<title>Java Discord - Java Community on Discord</title>
21-
</head>
22-
<body>
23-
<!-- Navbar -->
24-
<div class="Navbar" id="navbar">
25-
<nav>
26-
<img src="./assets/LogoBlue_NoBG.png" alt="JavaCommunityLogo">
27-
<button class="hamburger" id="hamburger">
28-
<i class="fas fa-bars"></i>
29-
</button>
30-
<ul class="nav-ul" id="nav-ul">
31-
<li><a href="https://github.com/java-discord" target="_blank">GitHub</a></li>
32-
<li><a href="#" class="active-link">Home<hr></a></li>
33-
<li><a href="./rules.html">Rules</a></li>
34-
</ul>
35-
<a href="https://discord.gg/X3NmMgzFKF" class="nav-ul join-btn" id="nav-ul">Join</a>
36-
</nav>
37-
</div>
38-
<!-- Content -->
39-
<header>
40-
<div class="container">
41-
<div class="left-box">
42-
<h1>HELP.<br>CODE.<br>LEARN.</h1>
43-
</div>
44-
<div style="flex: 2;"></div>
45-
<div class="right-box">
46-
<p>
47-
Get help, share ideas and chat with thousands of Java developers from across the globe. <br>
48-
Welcome to the Java Community, one of the biggest
49-
Discords about Java.
50-
</p>
51-
<div class="button">
52-
<a href="https://discord.gg/X3NmMgzFKF">JOIN NOW!</a>
53-
</div>
54-
</div>
55-
</div>
56-
</header>
57-
<!-- Footer -->
58-
<footer>
59-
<div class="copyright">
60-
<p>&copy 2022 JavaDiscord | JavaDiscord is not affiliated, associated, or endorsed with/by Discord or Oracle</p>
61-
</div>
62-
</footer>
63-
<!-- Cookie-Banner -->
64-
<div class="cookie-container">
65-
<div class="cookie-content">
66-
<h2 id="cookie-policy">Cookie policy</h2>
67-
<p>
68-
We are using cookies to analyse traffic on this website.
69-
You accept the use of cookies by closing or dismissing this message, scrolling the page, clicking a link/button or by continuing to browse in any way.
70-
</p>
71-
</div>
72-
<div class="cookie-links">
73-
<a href="#" id="got-it-btn" class="cookie-btn">Got it!</a>
74-
</div>
75-
</div>
76-
<!-- JS -->
77-
<script type="text/javascript">
78-
// Hamburger menu
79-
const hamburger = document.getElementById("hamburger");
80-
const navUL = document.getElementById("nav-ul");
81-
const navbar = document.querySelector("nav");
82-
83-
hamburger.addEventListener("click", () => {
84-
navUL.classList.toggle("show");
85-
navbar.classList.toggle("bottom-shadow-effect");
86-
});
87-
88-
// Scroll effect
89-
window.addEventListener("scroll", function() {
90-
var navbar = document.getElementById("navbar");
91-
navbar.classList.toggle("navbar-scrolling", window.scrollY > 0);
92-
});
93-
94-
// Cookie
95-
const cookieContainer = document.querySelector(".cookie-container");
96-
const cookieButton = document.querySelector(".cookie-btn");
97-
98-
cookieButton.addEventListener("click", () => {
99-
cookieContainer.classList.remove("active");
100-
localStorage.setItem("cookieContainerDisplayed", "true");
101-
});
102-
103-
setTimeout(() => {
104-
if (!localStorage.getItem("cookieContainerDisplayed")) {
105-
cookieContainer.classList.add("active")
106-
}
107-
}, 1000);
108-
</script>
109-
</body>
110-
</html>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T3DK8F7FPD"></script>
5+
<script>
6+
window.dataLayer = window.dataLayer || [];
7+
function gtag(){dataLayer.push(arguments);}
8+
gtag('js', new Date());
9+
10+
gtag('config', 'G-T3DK8F7FPD');
11+
</script>
12+
<meta charset="UTF-8">
13+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
14+
<meta name="description" content="With over 12000 Members and 50,000 Messages sent each month, join one of the biggest Java Communities to help, get help and discuss programming in Java."/>
15+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
16+
<link rel="stylesheet" href="./css/styles.css">
17+
<link rel="stylesheet" href="./css/queries.css">
18+
<link rel="shortcut icon" href="./assets/LogoBlue_NoBG.png" type="image/x-icon">
19+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">
20+
<title>Java Discord - Java Community on Discord</title>
21+
</head>
22+
<body>
23+
<!-- Navbar -->
24+
<div class="Navbar" id="navbar">
25+
<nav>
26+
<img src="./assets/LogoBlue_NoBG.png" alt="JavaCommunityLogo">
27+
<button class="hamburger" id="hamburger">
28+
<i class="fas fa-bars"></i>
29+
</button>
30+
<ul class="nav-ul" id="nav-ul">
31+
<li><a href="https://github.com/java-discord" target="_blank">GitHub</a></li>
32+
<li><a href="#" class="active-link">Home<hr></a></li>
33+
<li><a href="./rules.html">Rules</a></li>
34+
</ul>
35+
<a href="https://discord.gg/X3NmMgzFKF" class="nav-ul join-btn" id="nav-ul">Join</a>
36+
</nav>
37+
</div>
38+
<!-- Content -->
39+
<header>
40+
<div class="container">
41+
<div class="left-box">
42+
<h1>HELP.<br>CODE.<br>LEARN.</h1>
43+
</div>
44+
<div style="flex: 2;"></div>
45+
<div class="right-box">
46+
<p>
47+
Get help, share ideas and chat with thousands of Java developers from across the globe. <br>
48+
Welcome to the Java Community, one of the biggest
49+
Discords about Java.
50+
</p>
51+
<div class="button">
52+
<a href="https://discord.gg/X3NmMgzFKF">JOIN NOW!</a>
53+
</div>
54+
</div>
55+
</div>
56+
</header>
57+
<!-- Footer -->
58+
<footer>
59+
<div class="copyright">
60+
<p>&copy 2022 JavaDiscord | JavaDiscord is not affiliated, associated, or endorsed with/by Discord or Oracle</p>
61+
</div>
62+
</footer>
63+
<!-- Cookie-Banner -->
64+
<div class="cookie-container">
65+
<div class="cookie-content">
66+
<h2 id="cookie-policy">Cookie policy</h2>
67+
<p>
68+
We are using cookies to analyse traffic on this website.
69+
You accept the use of cookies by closing or dismissing this message, scrolling the page, clicking a link/button or by continuing to browse in any way.
70+
</p>
71+
</div>
72+
<div class="cookie-links">
73+
<a href="#" id="got-it-btn" class="cookie-btn">Got it!</a>
74+
</div>
75+
</div>
76+
<!-- JS -->
77+
<script type="text/javascript">
78+
// Hamburger menu
79+
const hamburger = document.getElementById("hamburger");
80+
const navUL = document.getElementById("nav-ul");
81+
const navbar = document.querySelector("nav");
82+
83+
hamburger.addEventListener("click", () => {
84+
navUL.classList.toggle("show");
85+
navbar.classList.toggle("bottom-shadow-effect");
86+
});
87+
88+
// Scroll effect
89+
window.addEventListener("scroll", function() {
90+
var navbar = document.getElementById("navbar");
91+
navbar.classList.toggle("navbar-scrolling", window.scrollY > 0);
92+
});
93+
94+
// Cookie
95+
const cookieContainer = document.querySelector(".cookie-container");
96+
const cookieButton = document.querySelector(".cookie-btn");
97+
98+
cookieButton.addEventListener("click", () => {
99+
cookieContainer.classList.remove("active");
100+
localStorage.setItem("cookieContainerDisplayed", "true");
101+
});
102+
103+
setTimeout(() => {
104+
if (!localStorage.getItem("cookieContainerDisplayed")) {
105+
cookieContainer.classList.add("active")
106+
}
107+
}, 1000);
108+
</script>
109+
</body>
110+
</html>

0 commit comments

Comments
 (0)