Spaces:
Running
Running
Update index.html
Browse files- index.html +112 -6
index.html
CHANGED
@@ -16,6 +16,24 @@
|
|
16 |
h1 {
|
17 |
margin-bottom: 40px;
|
18 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
.balloons {
|
20 |
display: flex;
|
21 |
justify-content: center;
|
@@ -35,31 +53,119 @@
|
|
35 |
min-width: 220px;
|
36 |
text-align: center;
|
37 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
.live {
|
39 |
background: red !important;
|
40 |
}
|
41 |
</style>
|
42 |
</head>
|
43 |
<body>
|
44 |
-
<h1>Bem-vindo ao Servidor de Minecraft</h1>
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
<h2>Canais</h2>
|
47 |
<div class="balloons">
|
48 |
<a id="streamer1" href="https://www.twitch.tv/gui1325" target="_blank">Canal do gui1325</a>
|
49 |
<a id="streamer2" href="https://www.twitch.tv/alatolouco" target="_blank">Canal do alatolouco</a>
|
50 |
</div>
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
<script>
|
53 |
-
const clientId = "SEU_CLIENT_ID"; // Substitua pelo seu
|
54 |
-
const accessToken = "SEU_ACCESS_TOKEN"; // Gere um token temporário
|
55 |
const streamers = [
|
56 |
{ id: "streamer1", name: "gui1325" },
|
57 |
{ id: "streamer2", name: "alatolouco" }
|
58 |
];
|
59 |
|
60 |
async function checkLiveStatus() {
|
61 |
-
const streamerNames = streamers.map(s => s.name).join("&
|
62 |
-
const url = `https://api.twitch.tv/helix/streams
|
63 |
|
64 |
const response = await fetch(url, {
|
65 |
headers: {
|
|
|
16 |
h1 {
|
17 |
margin-bottom: 40px;
|
18 |
}
|
19 |
+
.server-info {
|
20 |
+
background: #444;
|
21 |
+
padding: 20px;
|
22 |
+
border-radius: 10px;
|
23 |
+
display: inline-block;
|
24 |
+
margin-bottom: 20px;
|
25 |
+
}
|
26 |
+
.images {
|
27 |
+
display: flex;
|
28 |
+
justify-content: center;
|
29 |
+
gap: 20px;
|
30 |
+
margin-bottom: 20px;
|
31 |
+
}
|
32 |
+
.images img {
|
33 |
+
width: 200px;
|
34 |
+
height: auto;
|
35 |
+
border-radius: 10px;
|
36 |
+
}
|
37 |
.balloons {
|
38 |
display: flex;
|
39 |
justify-content: center;
|
|
|
53 |
min-width: 220px;
|
54 |
text-align: center;
|
55 |
}
|
56 |
+
.download-btn {
|
57 |
+
display: inline-block;
|
58 |
+
background: #FF5722;
|
59 |
+
color: white;
|
60 |
+
padding: 10px 20px;
|
61 |
+
border-radius: 10px;
|
62 |
+
text-decoration: none;
|
63 |
+
font-size: 18px;
|
64 |
+
font-weight: bold;
|
65 |
+
margin-top: 20px;
|
66 |
+
width: 225px;
|
67 |
+
text-align: center;
|
68 |
+
}
|
69 |
+
.update-btn {
|
70 |
+
display: inline-block;
|
71 |
+
background: #00BFAE;
|
72 |
+
color: white;
|
73 |
+
padding: 8px 16px;
|
74 |
+
border-radius: 10px;
|
75 |
+
text-decoration: none;
|
76 |
+
font-size: 14px;
|
77 |
+
font-weight: bold;
|
78 |
+
margin-top: 40px;
|
79 |
+
width: auto;
|
80 |
+
text-align: center;
|
81 |
+
}
|
82 |
+
.overlay {
|
83 |
+
position: fixed;
|
84 |
+
top: 0;
|
85 |
+
left: 0;
|
86 |
+
width: 100%;
|
87 |
+
height: 100%;
|
88 |
+
background-color: rgba(0, 0, 0, 0.7);
|
89 |
+
display: none;
|
90 |
+
justify-content: center;
|
91 |
+
align-items: center;
|
92 |
+
z-index: 1000;
|
93 |
+
}
|
94 |
+
.update-content {
|
95 |
+
background-color: #333;
|
96 |
+
color: white;
|
97 |
+
padding: 30px;
|
98 |
+
border-radius: 10px;
|
99 |
+
width: 80%;
|
100 |
+
max-width: 600px;
|
101 |
+
text-align: left;
|
102 |
+
font-size: 18px;
|
103 |
+
}
|
104 |
+
.close-btn {
|
105 |
+
display: inline-block;
|
106 |
+
background: #FF5722;
|
107 |
+
color: white;
|
108 |
+
padding: 10px 20px;
|
109 |
+
border-radius: 10px;
|
110 |
+
text-decoration: none;
|
111 |
+
font-size: 18px;
|
112 |
+
font-weight: bold;
|
113 |
+
margin-top: 20px;
|
114 |
+
text-align: center;
|
115 |
+
}
|
116 |
.live {
|
117 |
background: red !important;
|
118 |
}
|
119 |
</style>
|
120 |
</head>
|
121 |
<body>
|
122 |
+
<h1>Bem-vindo ao Servidor de Minecraft (Original / Pirata)</h1>
|
123 |
+
|
124 |
+
<div class="images">
|
125 |
+
<img src="https://i.imgur.com/zsmEYPR.png" alt="Imagem 1">
|
126 |
+
<img src="https://i.imgur.com/SaNVNqS.jpeg" alt="Imagem 2">
|
127 |
+
</div>
|
128 |
+
|
129 |
+
<h2>Original</h2>
|
130 |
+
<div class="server-info">
|
131 |
+
<p><strong>Nome:</strong> THE DWELLERS (JAVA)</p>
|
132 |
+
<p><strong>IP:</strong> THEDWELLERS_.aternos.me</p>
|
133 |
+
</div>
|
134 |
+
|
135 |
+
<h2>Pirata</h2>
|
136 |
+
<div class="server-info">
|
137 |
+
<p><strong>Nome:</strong> Castles and Fortress (JAVA)</p>
|
138 |
+
<p><strong>IP:</strong> SOBREVIVENCIA_HARD.aternos.me:21355</p>
|
139 |
+
</div>
|
140 |
+
|
141 |
<h2>Canais</h2>
|
142 |
<div class="balloons">
|
143 |
<a id="streamer1" href="https://www.twitch.tv/gui1325" target="_blank">Canal do gui1325</a>
|
144 |
<a id="streamer2" href="https://www.twitch.tv/alatolouco" target="_blank">Canal do alatolouco</a>
|
145 |
</div>
|
146 |
|
147 |
+
<h2>Links de download</h2>
|
148 |
+
<div class="download-btns">
|
149 |
+
<a href="https://huggingface.co/spaces/kuoramwoyo/IPFROMMINECRAFT/resolve/main/THEDWELLERS/THE%20DWELLERS%201.0.0.mrpack" class="download-btn" download>Baixar THE DWELLERS</a>
|
150 |
+
<a href="https://huggingface.co/spaces/kuoramwoyo/IPFROMMINECRAFT/resolve/main/CastlesandFortress/Castles%20and%20Fortress%201.0.0.mrpack" class="download-btn" download>Baixar Castles and Fortress</a>
|
151 |
+
</div>
|
152 |
+
|
153 |
+
<h2>Canais de Suporte</h2>
|
154 |
+
<div class="balloons">
|
155 |
+
<a href="https://discord.gg/AGDmFu4CDG" target="_blank">Discord</a>
|
156 |
+
</div>
|
157 |
+
|
158 |
<script>
|
159 |
+
const clientId = "SEU_CLIENT_ID"; // Substitua pelo seu Client ID da Twitch
|
160 |
+
const accessToken = "SEU_ACCESS_TOKEN"; // Gere um token temporário na Twitch
|
161 |
const streamers = [
|
162 |
{ id: "streamer1", name: "gui1325" },
|
163 |
{ id: "streamer2", name: "alatolouco" }
|
164 |
];
|
165 |
|
166 |
async function checkLiveStatus() {
|
167 |
+
const streamerNames = streamers.map(s => `user_login=${s.name}`).join("&");
|
168 |
+
const url = `https://api.twitch.tv/helix/streams?${streamerNames}`;
|
169 |
|
170 |
const response = await fetch(url, {
|
171 |
headers: {
|