-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
138 lines (117 loc) · 3.25 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
<!DOCTYPE html>
<html>
<head>
<title>Here have some silly flash games</title>
<style>
@font-face {
font-family: 'Jersey10';
src: url('Jersey10-Regular.ttf') format('truetype');
}
body {
background-color: #f2f2f2;
font-family: 'Press Start 2P', Arial, sans-serif;
text-align: center;
padding-top: 100px;
}
h1 {
font-size: 36px;
color: #333;
margin-bottom: 20px;
}
p {
font-size: 18px;
color: #666;
margin-bottom: 40px;
}
.logo {
margin-bottom: 40px;
}
/* Other existing styles here */
.tab {
display: inline-block;
margin: 0 10px;
font-size: 24px;
color: #333;
text-decoration: none;
transition: color 0.3s ease;
}
.tab:hover {
color: #555;
}
.active {
color: #555;
}
.content {
display: none;
margin-top: 40px;
}
.content.active {
display: block;
}
.flash-games {
margin-top: 60px;
}
.flash-games h2 {
font-size: 28px;
color: #333;
margin-bottom: 10px;
}
.flash-games p {
font-size: 16px;
color: #666;
margin-bottom: 20px;
}
</style>
<script>
function copyToClipboard(text) {
const textarea = document.createElement('textarea');
textarea.value = text;
document.body.appendChild(textarea);
textarea.select();
document.execCommand('copy');
document.body.removeChild(textarea);
alert('Email copied to clipboard: ' + text);
}
function loadFlashGame(gameUrl) {
// Use Ruffle to load the Flash game
// Insert Ruffle code here
}
window.onload = function() {
const tabs = document.querySelectorAll('.tab');
const contents = document.querySelectorAll('.content');
tabs.forEach((tab, index) => {
tab.addEventListener('click', () => {
tabs.forEach((tab) => tab.classList.remove('active'));
contents.forEach((content) => content.classList.remove('active'));
tab.classList.add('active');
contents[index].classList.add('active');
});
});
};
</script>
</head>
<body>
<div class="logo">
<img src="image1.png" alt="Logo" width="600">
</div>
<h1>Website Under Construction</h1>
<p>Sorry for the inconvenience. We are currently working on our website and will be back soon!</p>
<a href="https://github.com/RamWorks-Development-Group/RamHub" class="github-button">GitHub</a>
<a href="https://youtube.com/@Ram_Networks" class="youtube-button">YouTube</a>
<a href="https://twitch.tv/ramnetworks" class="twitch-button">Twitch</a>
<button class="contact-button" onclick="copyToClipboard('thealt@skiff.com')">Contact Us</button>
<a href="#" class="tab">Home</a>
<a href="#" class="tab">About Us</a>
<a href="#" class="tab active">Flash Games</a>
<div class="content">
<div class="flash-games">
<h2>Flash Games</h2>
<p>Enjoy some classic Flash games with Ruffle!</p>
<!-- Place to display Flash games -->
<div id="flash-game-container"></div>
<!-- Example button to load a Flash game -->
<button onclick="loadFlashGame('game.swf')">Load Game</button>
</div>
</div>
</body>
</html>