-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
251 lines (244 loc) · 10.1 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!DOCTYPE html>
<html lang="ja">
<head>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="icon.png" sizes="256x256">
<link rel="icon" type="image/png" href="icon.png" sizes="256x256">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>24san - Minecraftサーバー</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.0/css/all.css">
<style>
body {
background: url('webback.png') no-repeat center center fixed;
background-size: cover;
color: #fff;
padding-top: 70px;
margin: auto;
}
a[href^="http"]:after,
a[href^="//"]:after {
margin: 0 0 0 3px;
font-family: "Font Awesome 5 Free";
content: '\f35d';
font-weight: 900;
}
a[href^="https://www.rectus.co.jp/"]:after {
margin: inherit;
font-family: inherit;
content: '';
font-weight: inherit;
}
.navbar {
background-color: #141414;
padding: 1rem;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.navbar .navbar-brand {
font-size: 1.5rem;
}
.navbar .nav-link {
font-size: 1.1rem;
}
.jumbotron {
background-color: rgba(0, 0, 0, 0.6);
color: white;
text-shadow: 2px 2px 2px #000;
transition: background-color 0.3s ease;
padding: 5rem 2rem;
min-height: 600px;
}
.jumbotron h1 {
font-size: 3rem;
}
.jumbotron p.lead {
font-size: 1.25rem;
}
.jumbotron.scrolled {
background-color: rgba(0, 0, 0, 0.8);
}
.episode-image {
width: 100%;
height: auto;
border-radius: 8px;
}
.episode-title {
margin-top: 10px;
font-size: 1.2em;
color: #ccc;
}
.tab-content {
min-height: 500px;
}
.footer {
background-color: #141414;
color: #bbb;
padding: 20px 0;
text-align: center;
width: 100%;
}
.footer a {
color: #bbb;
text-decoration: none;
margin: 0 15px;
}
.footer a:hover {
text-decoration: underline;
}
.nav-tabs .nav-link {
color: #fff;
}
.nav-tabs .nav-link.active {
color: #000;
}
@media (max-width: 576px) {
.jumbotron h1 {
font-size: 2.5rem;
}
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">24san</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav me-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">ホーム</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://www.youtube.com/@KYATAP/featured" target="_blank">youtube</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://minecraft.jp/servers/24san.org" target="_blank">投票</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#rule">ルール</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">お問い合わせ</a>
</li>
</ul>
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="#">プロフィール</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container mt-4">
<div class="jumbotron p-6 p-md-5 text-white rounded">
<div class="col-md-8 mx-auto px-0">
<h1 class="display-5">ようこそ<br>24sanサーバへ!</h1>
<p class="lead my-3">以下のボタンから参加できます。</p>
<div class="d-grid gap-2 d-md-flex justify-content-md-center mb-3">
<a href="#" id="copy-minecraft" class="btn btn-primary btn-lg text-white">マイクラに参加</a>
<a href="#" class="btn btn-secondary btn-lg text-white">discordに参加</a>
</div>
<h2 class="mt-5">サーバー情報</h2>
<div class="row mt-3">
<div class="col-md-6">
<h4>統合版</h4>
<p>サーバーアドレス:<span id="bedrock-address">24san.org</span></p>
<p>ポート:<span id="bedrock-port">19132</span></p>
<p>ゲーマータグ:<span id="gamertag">zz24san</span></p>
</div>
<div class="col-md-6">
<h4>JAVA版</h4>
<p>サーバーアドレス:<span id="java-address">24san.org</span></p>
</div>
</div>
<div class="text-center mt-4">
<a href="#" class="btn btn-info btn-lg text-white">サーバーの参加方法</a>
</div>
</div>
</div>
<ul class="nav nav-tabs mt-4" id="myTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="episodes-tab" data-bs-toggle="tab" data-bs-target="#episodes" type="button" role="tab" aria-controls="episodes" aria-selected="true">お知らせ</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="recommended-tab" data-bs-toggle="tab" data-bs-target="#recommended" type="button" role="tab" aria-controls="recommended" aria-selected="false">ロビー紹介</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="special-videos-tab" data-bs-toggle="tab" data-bs-target="#special-videos" type="button" role="tab" aria-controls="special-videos" aria-selected="false">サバイバル紹介</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="details-tab" data-bs-toggle="tab" data-bs-target="#details" type="button" role="tab" aria-controls="details" aria-selected="false">ルール</button>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="episodes" role="tabpanel" aria-labelledby="episodes-tab">
<div class="row mt-4">
<div class="col-12">
<p>お知らせコンテンツはここに表示されます。</p>
</div>
</div>
</div>
<div class="tab-pane fade" id="recommended" role="tabpanel" aria-labelledby="recommended-tab">
<div class="row mt-4">
<div class="col-12">
<p>おすすめのコンテンツはここに表示されます。</p>
</div>
</div>
</div>
<div class="tab-pane fade" id="special-videos" role="tabpanel" aria-labelledby="special-videos-tab">
<div class="row mt-4">
<div class="col-12">
<p>特典映像はここに表示されます。</p>
</div>
</div>
</div>
<div class="tab-pane fade" id="details" role="tabpanel" aria-labelledby="details-tab">
<div class="row mt-4">
<div class="col-12">
<p id="rule">作品の詳細情報はここに表示されます。</p>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-12">
<a href="#">プライバシーポリシー</a>
<a href="#">サーバールール</a>
<a href="#">お問い合わせ</a>
<a href="#">対応デバイス</a>
<p class="mt-3">© 2024 24san. All Rights Reserved.</p>
</div>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
document.getElementById('copy-minecraft').addEventListener('click', function(event) {
event.preventDefault();
const textToCopy = '24san.org';
navigator.clipboard.writeText(textToCopy).then(function() {
alert('サーバーアドレスがクリップボードにコピーされました: ' + textToCopy);
}, function(err) {
console.error('クリップボードへのコピーに失敗しました: ', err);
});
});
document.addEventListener("scroll", function() {
const jumbotron = document.querySelector(".jumbotron");
if (window.scrollY > 50) {
jumbotron.classList.add("scrolled");
} else {
jumbotron.classList.remove("scrolled");
}
});
</script>
</body>
</html>