-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (53 loc) · 2.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="My attempt at a custom programming language!">
<meta name="keywords" content="ION Lang, programming language, custom programming language, ION modules, ION module">
<meta name="author" content="ION606">
<meta property="og:title" content="The ION Language">
<meta property="og:description" content="My attempt at a custom programming language!">
<meta property="og:url" content="https://ionlang.ion606.com/">
<meta property="og:type" content="website">
<meta property="og:image" content="https://github.com/The-ION-Language/ION-Lang/blob/main/assets/ION_LANG_LOGO.png?raw=true">
<title>ION Lang Home</title>
<link rel="stylesheet" href="css/index.css">
<link rel="icon" type="image/x-icon"
href="https://raw.githubusercontent.com/The-ION-Language/ION-Lang/main/assets/ION_LANG_LOGO.png">
<script>
document.addEventListener('DOMContentLoaded', () => {
const installBtn = document.getElementById('installBtn');
const dropdown = document.getElementById('dropdown');
installBtn.addEventListener('click', () => {
if (dropdown.classList.contains('open')) {
dropdown.classList.remove('open');
} else {
dropdown.classList.add('open');
}
});
});
</script>
</head>
<body>
<div class="container">
<header>
<img src="https://github.com/The-ION-Language/ION-Lang/blob/main/assets/ION_LANG_LOGO.png?raw=true"
alt="ION Lang Logo" class="logo">
<h1>Welcome to ION Lang</h1>
</header>
<main>
<p>My attempt at a custom programming language!</p>
<div class="install-container">
<a class="btn" id="installBtn">Install ION Lang</a>
<div class="dropdown" id="dropdown">
<p>Run the following command to install:</p>
<code>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ION606/ION-Lang/main/utils/install.sh)"</code>
</div>
</div>
<a href="newmodule" class="btn" style="margin-bottom: 7px;">Upload Module</a><br>
<a href="https://github.com/The-ION-Language" class="btn">GitHub</a>
</main>
</div>
</body>
</html>