Compare commits
10 Commits
3790f4160d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c4d13c8c6 | |||
| f7aedb5fc7 | |||
| 3d95d19da5 | |||
| 30142a0425 | |||
| caaf618466 | |||
| 4a14dd20a4 | |||
| 4d20434319 | |||
| 6fbc21cda1 | |||
| 4128d3a871 | |||
| 8a4fd94b6c |
@@ -1 +1 @@
|
||||
# The Krzak.og homepage
|
||||
# The [Krzak.org](https://krzak.org) homepage
|
||||
|
||||
@@ -1,279 +1,190 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Krzak.org - Recommended Applications</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<!-- Favicons -->
|
||||
<link rel="icon" type="image/svg+xml" href="/favicons/favicon.svg" />
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="16x16"
|
||||
href="/favicons/favicon-16x16.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="32x32"
|
||||
href="/favicons/favicon-32x32.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="48x48"
|
||||
href="/favicons/favicon-48x48.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="96x96"
|
||||
href="/favicons/favicon-96x96.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="192x192"
|
||||
href="/favicons/favicon-192x192.png"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="180x180"
|
||||
href="/favicons/favicon-180x180.png"
|
||||
/>
|
||||
<link rel="shortcut icon" href="/favicons/favicon.ico" />
|
||||
<head>
|
||||
<title>Krzak.org - Recommended Applications</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<!-- PWA -->
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="theme-color" content="#2a1a5e" />
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="container fade-in">
|
||||
<h1 class="slide-down">
|
||||
<span class="icon">
|
||||
<img src="/icon.svg" alt="krzak.org" />
|
||||
</span>
|
||||
Recommended Apps
|
||||
</h1>
|
||||
<p class="slide-down" style="animation-delay: 0.1s">
|
||||
If you know of better applications, let me know!
|
||||
</p>
|
||||
<!-- Favicons -->
|
||||
<link rel="icon" type="image/svg+xml" href="/favicons/favicon.svg" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="48x48" href="/favicons/favicon-48x48.png" />
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="/favicons/favicon-96x96.png" />
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/favicons/favicon-192x192.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/favicon-180x180.png" />
|
||||
<link rel="shortcut icon" href="/favicons/favicon.ico" />
|
||||
|
||||
<div class="slide-up" style="animation-delay: 0.2s">
|
||||
<h2>Fediverse</h2>
|
||||
<div class="app-gallery">
|
||||
<!-- Aria -->
|
||||
<div class="app-card highlighted">
|
||||
<img
|
||||
src="https://raw.githubusercontent.com/poppingmoon/aria/main/assets/icons/aria.png"
|
||||
alt="Aria icon"
|
||||
class="app-icon"
|
||||
/>
|
||||
<div>
|
||||
<h4>Aria</h4>
|
||||
<p>Better integration with Misskey/Sharkey.</p>
|
||||
<div class="app-platforms">
|
||||
<a
|
||||
href="https://apps.apple.com/app/aria-for-misskey/id6499410880"
|
||||
target="_blank"
|
||||
>iOS</a
|
||||
>
|
||||
<a
|
||||
href="https://play.google.com/store/apps/details?id=com.poppingmoon.aria"
|
||||
target="_blank"
|
||||
>Android</a
|
||||
>
|
||||
<a
|
||||
href="https://github.com/poppingmoon/aria/releases/latest"
|
||||
target="_blank"
|
||||
>Desktop</a
|
||||
>
|
||||
</div>
|
||||
<!-- PWA -->
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="theme-color" content="#2a1a5e" />
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container fade-in">
|
||||
<h1 class="slide-down">
|
||||
<span class="icon">
|
||||
<img src="/icon.svg" alt="krzak.org" />
|
||||
</span>
|
||||
Recommended Apps
|
||||
</h1>
|
||||
<p class="slide-down" style="animation-delay: 0.1s">
|
||||
If you know of better applications, let me know!
|
||||
</p>
|
||||
|
||||
<div class="slide-up" style="animation-delay: 0.2s">
|
||||
<h2>Fediverse</h2>
|
||||
<div class="app-gallery">
|
||||
<!-- Aria -->
|
||||
<div class="app-card highlighted">
|
||||
<img src="https://raw.githubusercontent.com/poppingmoon/aria/main/assets/icons/aria.png"
|
||||
alt="Aria icon" class="app-icon" />
|
||||
<div>
|
||||
<h4>Aria</h4>
|
||||
<p>Better integration with Misskey/Sharkey.</p>
|
||||
<div class="app-platforms">
|
||||
<a href="https://apps.apple.com/app/aria-for-misskey/id6499410880" target="_blank">iOS</a>
|
||||
<a href="https://play.google.com/store/apps/details?id=com.poppingmoon.aria"
|
||||
target="_blank">Android</a>
|
||||
<a href="https://github.com/poppingmoon/aria/releases/latest" target="_blank">Desktop</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Ice Cubes -->
|
||||
<div class="app-card">
|
||||
<img
|
||||
src="https://raw.githubusercontent.com/Dimillian/IceCubesApp/refs/heads/main/Images/AppIcon.png"
|
||||
alt="Ice Cubes icon"
|
||||
class="app-icon"
|
||||
/>
|
||||
<div>
|
||||
<h4>Ice Cubes</h4>
|
||||
<p>Native UI.</p>
|
||||
<div class="app-platforms">
|
||||
<a
|
||||
href="https://apps.apple.com/pl/app/ice-cubes-for-mastodon/id6444915884"
|
||||
target="_blank"
|
||||
>iOS</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Ice Cubes -->
|
||||
<div class="app-card">
|
||||
<img src="https://raw.githubusercontent.com/Dimillian/IceCubesApp/refs/heads/main/Images/AppIcon.png"
|
||||
alt="Ice Cubes icon" class="app-icon" />
|
||||
<div>
|
||||
<h4>Ice Cubes</h4>
|
||||
<p>Native UI.</p>
|
||||
<div class="app-platforms">
|
||||
<a href="https://apps.apple.com/pl/app/ice-cubes-for-mastodon/id6444915884"
|
||||
target="_blank">iOS</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Mastodon -->
|
||||
<div class="app-card">
|
||||
<img
|
||||
src="https://joinmastodon.org/logos/logo-purple.svg"
|
||||
alt="Mastodon icon"
|
||||
class="app-icon"
|
||||
/>
|
||||
<div>
|
||||
<h4>Mastodon</h4>
|
||||
<p>Native UI.</p>
|
||||
<div class="app-platforms">
|
||||
<a
|
||||
href="https://play.google.com/store/apps/details?id=org.joinmastodon.android&hl=en"
|
||||
target="_blank"
|
||||
>Android</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Mastodon -->
|
||||
<div class="app-card">
|
||||
<img src="https://joinmastodon.org/logos/logo-purple.svg" alt="Mastodon icon" class="app-icon" />
|
||||
<div>
|
||||
<h4>Mastodon</h4>
|
||||
<p>Native UI.</p>
|
||||
<div class="app-platforms">
|
||||
<a href="https://play.google.com/store/apps/details?id=org.joinmastodon.android&hl=en"
|
||||
target="_blank">Android</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="slide-up" style="animation-delay: 0.3s">
|
||||
<h2>Music</h2>
|
||||
<div class="app-gallery">
|
||||
<!-- Chora -->
|
||||
<div class="app-card highlighted">
|
||||
<img
|
||||
src="https://play-lh.googleusercontent.com/5VZUvdzma7Gl_h-3J5TlRbqOpnU1QUdntD5XpJyjA-_s7ZXlhOoBxELFJl0fuiQzGAQ=w240-h480-rw"
|
||||
alt="Chora icon"
|
||||
class="app-icon"
|
||||
/>
|
||||
<div>
|
||||
<h4>Chora</h4>
|
||||
<p>Modern client for Android.</p>
|
||||
<div class="app-platforms">
|
||||
<a
|
||||
href="https://play.google.com/store/apps/details?id=com.craftworks.music"
|
||||
target="_blank"
|
||||
>Android</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Amperfy -->
|
||||
<div class="app-card highlighted">
|
||||
<img
|
||||
src="https://raw.githubusercontent.com/BLeeEZ/amperfy/master/.github/Icon-40.png"
|
||||
alt="Amperfy icon"
|
||||
class="app-icon"
|
||||
/>
|
||||
<div>
|
||||
<h4>Amperfy</h4>
|
||||
<p>Good client for Apple platforms.</p>
|
||||
<div class="app-platforms">
|
||||
<a
|
||||
href="https://apps.apple.com/app/amperfy-music/id1530145038#?platform=iphone"
|
||||
target="_blank"
|
||||
>iOS/macOS</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Aonsoku -->
|
||||
<div class="app-card highlighted">
|
||||
<img
|
||||
src="https://raw.githubusercontent.com/victoralvesf/aonsoku/main/src-tauri/icons/128x128.png"
|
||||
alt="Aonsoku icon"
|
||||
class="app-icon"
|
||||
/>
|
||||
<div>
|
||||
<h4>Aonsoku</h4>
|
||||
<p>Lightweight client for desktop.</p>
|
||||
<div class="app-platforms">
|
||||
<a
|
||||
href="https://github.com/victoralvesf/aonsoku"
|
||||
target="_blank"
|
||||
>Desktop</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Feishin -->
|
||||
<div class="app-card">
|
||||
<img
|
||||
src="https://raw.githubusercontent.com/jeffvli/feishin/refs/heads/development/assets/icons/512x512.png"
|
||||
alt="Feishin icon"
|
||||
class="app-icon"
|
||||
/>
|
||||
<div>
|
||||
<h4>Feishin</h4>
|
||||
<p>Feature-rich desktop player.</p>
|
||||
<div class="app-platforms">
|
||||
<a
|
||||
href="https://github.com/jeffvli/feishin"
|
||||
target="_blank"
|
||||
>Desktop</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ultrasonic -->
|
||||
<div class="app-card">
|
||||
<img
|
||||
src="https://ultrasonic.gitlab.io/assets/img/favicon-512.png"
|
||||
alt="ultrasonic icon"
|
||||
class="app-icon"
|
||||
/>
|
||||
<div>
|
||||
<h4>ultrasonic</h4>
|
||||
<p>Older, but still functional client.</p>
|
||||
<div class="app-platforms">
|
||||
<a
|
||||
href="https://play.google.com/store/apps/details?id=org.moire.ultrasonic"
|
||||
target="_blank"
|
||||
>Android</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="slide-up" style="animation-delay: 0.4s; margin-top: 32px">
|
||||
<strong>Music Note:</strong> I recommend NOT using the website
|
||||
for playback, unless you want to, for example, change your
|
||||
password. The website is unable to display lyrics for all songs.
|
||||
</p>
|
||||
|
||||
<br />
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.5s">
|
||||
<a href="/">
|
||||
<strong>Back</strong>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Back to top button -->
|
||||
<button
|
||||
id="back-to-top"
|
||||
class="back-to-top"
|
||||
aria-label="Back to top"
|
||||
title="Back to top"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polyline points="18 15 12 9 6 15"></polyline>
|
||||
</svg>
|
||||
</button>
|
||||
<div class="slide-up" style="animation-delay: 0.3s">
|
||||
<h2>Music</h2>
|
||||
<div class="app-gallery">
|
||||
<!-- Chora -->
|
||||
<div class="app-card highlighted">
|
||||
<img src="https://play-lh.googleusercontent.com/5VZUvdzma7Gl_h-3J5TlRbqOpnU1QUdntD5XpJyjA-_s7ZXlhOoBxELFJl0fuiQzGAQ=w240-h480-rw"
|
||||
alt="Chora icon" class="app-icon" />
|
||||
<div>
|
||||
<h4>Chora</h4>
|
||||
<p>Modern client for Android.</p>
|
||||
<div class="app-platforms">
|
||||
<a href="https://play.google.com/store/apps/details?id=com.craftworks.music"
|
||||
target="_blank">Android</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Amperfy -->
|
||||
<div class="app-card highlighted">
|
||||
<img src="https://raw.githubusercontent.com/BLeeEZ/amperfy/master/.github/Icon-40.png"
|
||||
alt="Amperfy icon" class="app-icon" />
|
||||
<div>
|
||||
<h4>Amperfy</h4>
|
||||
<p>Good client for Apple platforms.</p>
|
||||
<div class="app-platforms">
|
||||
<a href="https://apps.apple.com/app/amperfy-music/id1530145038#?platform=iphone"
|
||||
target="_blank">iOS/macOS</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Aonsoku -->
|
||||
<div class="app-card highlighted">
|
||||
<img src="https://raw.githubusercontent.com/victoralvesf/aonsoku/main/src-tauri/icons/128x128.png"
|
||||
alt="Aonsoku icon" class="app-icon" />
|
||||
<div>
|
||||
<h4>Aonsoku</h4>
|
||||
<p>Lightweight client for desktop.</p>
|
||||
<div class="app-platforms">
|
||||
<a href="https://github.com/victoralvesf/aonsoku" target="_blank">Desktop</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Feishin -->
|
||||
<div class="app-card">
|
||||
<img src="https://raw.githubusercontent.com/jeffvli/feishin/refs/heads/development/assets/icons/512x512.png"
|
||||
alt="Feishin icon" class="app-icon" />
|
||||
<div>
|
||||
<h4>Feishin</h4>
|
||||
<p>Feature-rich desktop player.</p>
|
||||
<div class="app-platforms">
|
||||
<a href="https://github.com/jeffvli/feishin" target="_blank">Desktop</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ultrasonic -->
|
||||
<div class="app-card">
|
||||
<img src="https://ultrasonic.gitlab.io/assets/img/favicon-512.png" alt="ultrasonic icon"
|
||||
class="app-icon" />
|
||||
<div>
|
||||
<h4>ultrasonic</h4>
|
||||
<p>Older, but still functional client.</p>
|
||||
<div class="app-platforms">
|
||||
<a href="https://play.google.com/store/apps/details?id=org.moire.ultrasonic"
|
||||
target="_blank">Android</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/refresh.js"></script>
|
||||
<script src="/animations.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<p class="slide-up" style="animation-delay: 0.4s; margin-top: 32px">
|
||||
<strong>Music Note:</strong> I recommend NOT using the website
|
||||
for playback, unless you want to, for example, change your
|
||||
password. The website is unable to display lyrics for all songs.
|
||||
</p>
|
||||
|
||||
<br />
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.5s">
|
||||
<a href="/">
|
||||
<strong>Back</strong>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="librecounter fade-in" style="animation-delay: 0.75s">
|
||||
<span class="librecounter-text">
|
||||
Indexed by
|
||||
<a href="https://librecounter.org/referer/show" target="_blank">LibreCounter</a>
|
||||
</span>
|
||||
<a href="https://librecounter.org/referer/show" target="_blank">
|
||||
<img src="https://librecounter.org/counter.svg" referrerpolicy="unsafe-url" alt="LibreCounter" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Back to top button -->
|
||||
<button id="back-to-top" class="back-to-top" aria-label="Back to top" title="Back to top">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polyline points="18 15 12 9 6 15"></polyline>
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<script src="/refresh.js"></script>
|
||||
<script src="/animations.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
165
contact.html
165
contact.html
@@ -1,98 +1,81 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Krzak.org - Contact</title>
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="container fade-in">
|
||||
<h1 class="slide-down">
|
||||
<span class="icon">
|
||||
<img src="/icon.svg" alt="krzak.org" />
|
||||
</span>
|
||||
Krzak.org
|
||||
</h1>
|
||||
<p class="slide-down">Contact:</p>
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.1s">
|
||||
<a href="https://fedi.krzak.org/@krzak">
|
||||
<strong>Fediverse</strong>
|
||||
<span>@krzak@fedi.krzak.org</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.15s">
|
||||
<a href="mailto:admin@krzak.org">
|
||||
<strong>Mail</strong>
|
||||
<span>admin@krzak.org</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.2s">
|
||||
<a href="">
|
||||
<strong>Discord</strong>
|
||||
<span>n0va_bot</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="fade-in" style="animation-delay: 0.25s">Support:</p>
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.3s">
|
||||
<a href="">
|
||||
<strong>Blik</strong>
|
||||
<span>+48 536 605 450</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<br />
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.35s">
|
||||
<a href="/">
|
||||
<strong>Back</strong>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="librecounter fade-in" style="animation-delay: 0.4s">
|
||||
<span class="librecounter-text">
|
||||
Indexed by
|
||||
<a href="https://librecounter.org/referer/show" target="_blank"
|
||||
>LibreCounter</a
|
||||
>
|
||||
</span>
|
||||
<a href="https://librecounter.org/referer/show" target="_blank">
|
||||
<img
|
||||
src="https://librecounter.org/counter.svg"
|
||||
referrerpolicy="unsafe-url"
|
||||
alt="LibreCounter"
|
||||
/>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Krzak.org - Contact</title>
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container fade-in">
|
||||
<h1 class="slide-down">
|
||||
<span class="icon">
|
||||
<img src="/icon.svg" alt="krzak.org" />
|
||||
</span>
|
||||
Krzak.org
|
||||
</h1>
|
||||
<p class="slide-down">Contact:</p>
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.1s">
|
||||
<a href="https://fedi.krzak.org/@krzak">
|
||||
<strong>Fediverse</strong>
|
||||
<span>@krzak@fedi.krzak.org</span>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.15s">
|
||||
<a href="mailto:admin@krzak.org">
|
||||
<strong>Mail</strong>
|
||||
<span>admin@krzak.org</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.2s">
|
||||
<a href="">
|
||||
<strong>Discord</strong>
|
||||
<span>n0va_bot</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="fade-in" style="animation-delay: 0.25s">Support:</p>
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.3s">
|
||||
<a href="">
|
||||
<strong>Blik</strong>
|
||||
<span>+48 536 605 450</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<br />
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.35s">
|
||||
<a href="/">
|
||||
<strong>Back</strong>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="librecounter fade-in" style="animation-delay: 0.4s">
|
||||
<span class="librecounter-text">
|
||||
Indexed by
|
||||
<a href="https://librecounter.org/referer/show" target="_blank">LibreCounter</a>
|
||||
</span>
|
||||
<a href="https://librecounter.org/referer/show" target="_blank">
|
||||
<img src="https://librecounter.org/counter.svg" referrerpolicy="unsafe-url" alt="LibreCounter" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Back to top button -->
|
||||
<button
|
||||
id="back-to-top"
|
||||
class="back-to-top"
|
||||
aria-label="Back to top"
|
||||
title="Back to top"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polyline points="18 15 12 9 6 15"></polyline>
|
||||
</svg>
|
||||
</button>
|
||||
<!-- Back to top button -->
|
||||
<button id="back-to-top" class="back-to-top" aria-label="Back to top" title="Back to top">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
||||
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polyline points="18 15 12 9 6 15"></polyline>
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<script src="/refresh.js"></script>
|
||||
<script src="/animations.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<script src="/refresh.js"></script>
|
||||
<script src="/animations.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
11
index.html
11
index.html
@@ -89,13 +89,14 @@
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.5s">
|
||||
<a href="https://link.krzak.org">
|
||||
<strong>Link Manager</strong>
|
||||
<strong>Link Shortener</strong>
|
||||
<span>Shlink</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.55s">
|
||||
<a href="/mc">
|
||||
<strong>Minecraft</strong>
|
||||
<strong>Minecraft Server</strong>
|
||||
<span>Fabric 1.21.10</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.6s">
|
||||
@@ -104,12 +105,16 @@
|
||||
</a>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.65s">
|
||||
<a href="https://discord.gg/CY3Zr6baD7">
|
||||
<strong>Discord server</strong>
|
||||
</a>
|
||||
<li class="slide-up" style="animation-delay: 0.7s">
|
||||
<a href="/contact">
|
||||
<strong>Contact</strong>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="fade-in" style="animation-delay: 0.7s">
|
||||
<p class="fade-in" style="animation-delay: 0.75s">
|
||||
If you want an account on any of these, want to suggest
|
||||
something new or get a subdomain, just message me
|
||||
</p>
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
"theme_color": "#2a1a5e",
|
||||
"background_color": "#2a1a5e",
|
||||
"display": "standalone"
|
||||
}
|
||||
}
|
||||
608
mc.html
608
mc.html
@@ -1,56 +1,558 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Krzak.org - Minecraft</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
<script src="/refresh.js"></script>
|
||||
<script src="/animations.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container fade-in">
|
||||
<h1 class="slide-down">
|
||||
<span class="icon">
|
||||
<img src="/icon.svg" alt="krzak.org" />
|
||||
</span>
|
||||
Krzak.org
|
||||
</h1>
|
||||
<p>
|
||||
<h3>Instrukcja</h3>
|
||||
<ol>
|
||||
<li>
|
||||
Zainstalujcie fabric 1.21.10
|
||||
</li>
|
||||
<li>
|
||||
Zainstalujcie moda AutoModpack
|
||||
</li>
|
||||
<li>
|
||||
Dołączcie na krzak.org i, kiedy o to zapyta, wklejcie tekst z pliku automodpack_fingerprint.txt
|
||||
</li>
|
||||
</ol>
|
||||
<h3>Polecam też dodać nasz resourcepack</h3>
|
||||
<h3>Do skinów polecam ely.by jak ktoś nie ma premium (nie musi)</h3>
|
||||
</p>
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.1s">
|
||||
<a href="">
|
||||
<strong>IP</strong>
|
||||
<span>krzak.org</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.15s">
|
||||
<a href="/mc/automodpack_fingerprint.txt">
|
||||
<strong>Fingerprint</strong>
|
||||
<span>automodpack_fingerprint.txt</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="slide-up" style="animation-delay: 0.2s">
|
||||
<a href="/mc/pack.zip">
|
||||
<strong>resourcepack</strong>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Krzak.org - Minecraft</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
<style>
|
||||
.server-status-widget {
|
||||
background: var(--link-bg);
|
||||
border-radius: 16px;
|
||||
padding: 24px;
|
||||
border: 1px solid var(--container-border);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
|
||||
margin: 24px 0;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.server-status-widget:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.4);
|
||||
border-color: var(--link-hover-border);
|
||||
}
|
||||
|
||||
.status-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 20px;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.status-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
font-size: 1.3rem;
|
||||
font-weight: 600;
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
.status-indicator {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
animation: pulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.status-indicator.online {
|
||||
background-color: #4ade80;
|
||||
box-shadow: 0 0 12px #4ade80;
|
||||
}
|
||||
|
||||
.status-indicator.offline {
|
||||
background-color: #f87171;
|
||||
box-shadow: 0 0 12px #f87171;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 0.7;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
.status-info {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 16px;
|
||||
margin-bottom: 16px;
|
||||
animation: fadeSlideUp 0.5s ease-out forwards 0.2s;
|
||||
}
|
||||
|
||||
@keyframes fadeSlideUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.info-card {
|
||||
background: rgba(42, 26, 94, 0.4);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
border: 1px solid rgba(244, 162, 97, 0.3);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.info-card:hover {
|
||||
transform: scale(1.02);
|
||||
background: rgba(42, 26, 94, 0.6);
|
||||
border-color: rgba(244, 162, 97, 0.5);
|
||||
box-shadow: 0 4px 12px rgba(244, 162, 97, 0.2);
|
||||
}
|
||||
|
||||
.info-card.copyable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.info-label {
|
||||
font-size: 0.85rem;
|
||||
color: var(--subtitle-color);
|
||||
margin-bottom: 6px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
font-size: 1.3rem;
|
||||
color: var(--text-color);
|
||||
font-weight: 600;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.server-motd {
|
||||
background: rgba(42, 26, 94, 0.4);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
border: 1px solid rgba(244, 162, 97, 0.3);
|
||||
font-family: 'Courier New', monospace;
|
||||
color: var(--text-color);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
animation: fadeSlideUp 0.5s ease-out forwards 0.4s;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.server-motd:hover {
|
||||
background: rgba(42, 26, 94, 0.6);
|
||||
border-color: rgba(244, 162, 97, 0.5);
|
||||
}
|
||||
|
||||
.last-updated {
|
||||
font-size: 0.8rem;
|
||||
color: var(--subtitle-color);
|
||||
text-align: right;
|
||||
margin-top: 12px;
|
||||
animation: fadeIn 0.5s ease-out forwards 0.6s;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
.loading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
color: var(--subtitle-color);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 3px solid rgba(244, 162, 97, 0.3);
|
||||
border-top-color: var(--link-color);
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.error-message {
|
||||
color: #f87171;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
background: rgba(248, 113, 113, 0.1);
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(248, 113, 113, 0.3);
|
||||
}
|
||||
|
||||
.players-list {
|
||||
margin-top: 8px;
|
||||
font-size: 0.9rem;
|
||||
color: var(--subtitle-color);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.fingerprint-widget {
|
||||
background: var(--link-bg);
|
||||
border-radius: 16px;
|
||||
padding: 24px;
|
||||
border: 1px solid var(--container-border);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
|
||||
margin: 24px 0;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.fingerprint-widget:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.4);
|
||||
border-color: var(--link-hover-border);
|
||||
}
|
||||
|
||||
/* Copy button styles */
|
||||
.info-value-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.copy-button {
|
||||
background: rgba(244, 162, 97, 0.1);
|
||||
border: 1px solid rgba(244, 162, 97, 0.3);
|
||||
border-radius: 8px;
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.copy-button:hover {
|
||||
background: rgba(244, 162, 97, 0.2);
|
||||
border-color: var(--link-hover-border);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.copy-button.copied {
|
||||
background: rgba(74, 222, 128, 0.2);
|
||||
border-color: rgba(74, 222, 128, 0.5);
|
||||
}
|
||||
|
||||
.copy-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: var(--link-color);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Resourcepack widget styles */
|
||||
.resourcepack-widget {
|
||||
background: var(--link-bg);
|
||||
border-radius: 16px;
|
||||
padding: 0;
|
||||
border: 1px solid var(--container-border);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
|
||||
margin: 24px 0;
|
||||
transition: all 0.3s ease;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.resourcepack-widget:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.4);
|
||||
border-color: var(--link-hover-border);
|
||||
}
|
||||
|
||||
.resourcepack-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 20px 24px;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.resourcepack-link:hover {
|
||||
background: rgba(42, 26, 94, 0.3);
|
||||
}
|
||||
|
||||
.resourcepack-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
color: var(--link-color);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.resourcepack-link div {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.resourcepack-link strong {
|
||||
display: block;
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.resourcepack-desc {
|
||||
font-size: 0.9rem;
|
||||
color: var(--subtitle-color);
|
||||
}
|
||||
|
||||
.download-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: var(--subtitle-color);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Disable card hover for copy cards */
|
||||
#fingerprintCard {
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
#fingerprintCard:hover {
|
||||
transform: none !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container fade-in">
|
||||
<h1 class="slide-down">
|
||||
<span class="icon">
|
||||
<img src="/icon.svg" alt="krzak.org" />
|
||||
</span>
|
||||
Krzak.org - Minecraft
|
||||
</h1>
|
||||
|
||||
<div class="server-status-widget slide-up" style="animation-delay: 0.1s" id="statusWidget">
|
||||
<div class="loading">
|
||||
<div class="spinner"></div>
|
||||
<span>Loading server status...</span>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<div class="slide-up" style="animation-delay: 0.2s">
|
||||
<h3>Instrukcja</h3>
|
||||
<ol>
|
||||
<li>Zainstalujcie fabric 1.21.10</li>
|
||||
<li>Zainstalujcie moda AutoModpack</li>
|
||||
<li>Dołączcie na krzak.org i, kiedy o to zapyta, wklejcie tekst z pliku automodpack_fingerprint.txt</li>
|
||||
</ol>
|
||||
<h3>Polecam też dodać nasz resourcepack</h3>
|
||||
<h3>Do skinów polecam ely.by jak ktoś nie ma premium (nie musi)</h3>
|
||||
</div>
|
||||
|
||||
<div class="fingerprint-widget slide-up" style="animation-delay: 0.3s" id="fingerprintWidget">
|
||||
<div class="info-card" id="fingerprintCard">
|
||||
<div class="info-label">AutoModpack Fingerprint</div>
|
||||
<div class="info-value-wrapper">
|
||||
<div class="info-value" id="fingerprintValue">
|
||||
3b180a41fe913487c1c86ad79c6dc085d01a272ac2da556f4bf7379ee3a535f8</div>
|
||||
<button class="copy-button" data-copy-target="fingerprintValue" title="Copy to clipboard">
|
||||
<svg class="copy-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
|
||||
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="resourcepack-widget slide-up" style="animation-delay: 0.35s">
|
||||
<a href="/mc/pack.zip" class="resourcepack-link">
|
||||
<svg class="resourcepack-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path
|
||||
d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z">
|
||||
</path>
|
||||
<polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline>
|
||||
<line x1="12" y1="22.08" x2="12" y2="12"></line>
|
||||
</svg>
|
||||
<div>
|
||||
<strong>Download Resource Pack</strong>
|
||||
<span class="resourcepack-desc">Custom vanillatweaks setup</span>
|
||||
</div>
|
||||
<svg class="download-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
|
||||
<polyline points="7 10 12 15 17 10"></polyline>
|
||||
<line x1="12" y1="15" x2="12" y2="3"></line>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="slide-up" style="animation-delay: 0.4s">
|
||||
<a href="/">
|
||||
<strong>Back</strong>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="librecounter fade-in" style="animation-delay: 0.75s">
|
||||
<span class="librecounter-text">
|
||||
Indexed by
|
||||
<a href="https://librecounter.org/referer/show" target="_blank">LibreCounter</a>
|
||||
</span>
|
||||
<a href="https://librecounter.org/referer/show" target="_blank">
|
||||
<img src="https://librecounter.org/counter.svg" referrerpolicy="unsafe-url" alt="LibreCounter" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Back to top button -->
|
||||
<button id="back-to-top" class="back-to-top" aria-label="Back to top" title="Back to top">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polyline points="18 15 12 9 6 15"></polyline>
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<script src="/refresh.js"></script>
|
||||
<script src="/animations.js"></script>
|
||||
<script>
|
||||
// Configuration
|
||||
const SERVER_ADDRESS = 'krzak.org';
|
||||
const FINGERPRINT = '3b180a41fe913487c1c86ad79c6dc085d01a272ac2da556f4bf7379ee3a535f8';
|
||||
const REFRESH_INTERVAL = 30000;
|
||||
|
||||
// Single event listener for all copy buttons (event delegation)
|
||||
document.addEventListener('click', function (e) {
|
||||
const copyButton = e.target.closest('.copy-button');
|
||||
if (!copyButton) return;
|
||||
|
||||
const target = copyButton.dataset.copyTarget;
|
||||
const textToCopy = target === 'serverAddress' ? SERVER_ADDRESS : FINGERPRINT;
|
||||
|
||||
navigator.clipboard.writeText(textToCopy).then(() => {
|
||||
// Show success feedback
|
||||
const originalHTML = copyButton.innerHTML;
|
||||
copyButton.innerHTML = '<svg class="copy-icon" viewBox="0 0 24 24"><polyline points="20 6 9 17 4 12"></polyline></svg>';
|
||||
copyButton.classList.add('copied');
|
||||
|
||||
setTimeout(() => {
|
||||
copyButton.innerHTML = originalHTML;
|
||||
copyButton.classList.remove('copied');
|
||||
}, 2000);
|
||||
}).catch(err => console.error('Failed to copy:', err));
|
||||
});
|
||||
|
||||
// Server status functions
|
||||
async function fetchServerStatus() {
|
||||
try {
|
||||
const response = await fetch(`https://api.mcsrvstat.us/3/${SERVER_ADDRESS}`);
|
||||
return await response.json();
|
||||
} catch (error) {
|
||||
console.error('Error fetching server status:', error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
function formatMOTD(motd) {
|
||||
if (!motd) return 'No MOTD available';
|
||||
if (typeof motd === 'object' && motd.clean) {
|
||||
return Array.isArray(motd.clean) ? motd.clean.join('\n') : motd.clean;
|
||||
}
|
||||
return Array.isArray(motd) ? motd.join('\n') : motd;
|
||||
}
|
||||
|
||||
function renderStatus(data) {
|
||||
const widget = document.getElementById('statusWidget');
|
||||
|
||||
if (!data || !data.online) {
|
||||
widget.innerHTML = `
|
||||
<div class="status-header">
|
||||
<div class="status-title">
|
||||
<div class="status-indicator offline"></div>
|
||||
Server Status
|
||||
</div>
|
||||
</div>
|
||||
<div class="error-message">
|
||||
Server is currently offline or unreachable
|
||||
</div>
|
||||
<div class="last-updated">
|
||||
Last checked: ${new Date().toLocaleTimeString()}
|
||||
</div>
|
||||
`;
|
||||
return;
|
||||
}
|
||||
|
||||
const playersOnline = data.players?.online || 0;
|
||||
const playersMax = data.players?.max || 0;
|
||||
const version = data.version || 'Unknown';
|
||||
const motd = formatMOTD(data.motd);
|
||||
const playersList = data.players?.list || [];
|
||||
|
||||
widget.innerHTML = `
|
||||
<div class="status-header">
|
||||
<div class="status-title">
|
||||
<div class="status-indicator online"></div>
|
||||
Server Status
|
||||
</div>
|
||||
</div>
|
||||
<div class="status-info">
|
||||
<div class="info-card">
|
||||
<div class="info-label">Players Online</div>
|
||||
<div class="info-value">${playersOnline} / ${playersMax}</div>
|
||||
${playersList.length > 0 ? `
|
||||
<div class="players-list">
|
||||
${playersList.slice(0, 10).join(', ')}${playersList.length > 10 ? '...' : ''}
|
||||
</div>
|
||||
` : ''}
|
||||
</div>
|
||||
<div class="info-card">
|
||||
<div class="info-label">Version</div>
|
||||
<div class="info-value" style="font-size: 1.1rem;">${version}</div>
|
||||
</div>
|
||||
<div class="info-card" id="serverAddressCard">
|
||||
<div class="info-label">Server Address</div>
|
||||
<div class="info-value-wrapper">
|
||||
<div class="info-value" style="font-size: 1rem;">${SERVER_ADDRESS}</div>
|
||||
<button class="copy-button" data-copy-target="serverAddress" title="Copy to clipboard">
|
||||
<svg class="copy-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
|
||||
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
${motd ? `<div class="server-motd">${motd}</div>` : ''}
|
||||
<div class="last-updated">
|
||||
Last updated: ${new Date().toLocaleTimeString()}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
async function updateStatus() {
|
||||
renderStatus(await fetchServerStatus());
|
||||
}
|
||||
|
||||
// Initial load and auto-refresh
|
||||
updateStatus();
|
||||
setInterval(updateStatus, REFRESH_INTERVAL);
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1 +0,0 @@
|
||||
3b180a41fe913487c1c86ad79c6dc085d01a272ac2da556f4bf7379ee3a535f8
|
||||
12
refresh.js
12
refresh.js
@@ -8,9 +8,9 @@
|
||||
function reloadStylesheets() {
|
||||
// Force reload all stylesheets
|
||||
const links = document.querySelectorAll('link[rel="stylesheet"]');
|
||||
links.forEach(link => {
|
||||
const href = link.href.split('?')[0];
|
||||
link.href = href + '?t=' + new Date().getTime();
|
||||
links.forEach((link) => {
|
||||
const href = link.href.split("?")[0];
|
||||
link.href = href + "?t=" + new Date().getTime();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
const data = JSON.parse(event.data);
|
||||
if (data.type === "reload") {
|
||||
console.log("Repository updated, reloading page...");
|
||||
|
||||
|
||||
// First reload stylesheets
|
||||
reloadStylesheets();
|
||||
|
||||
|
||||
// Then hard reload the page after a brief delay
|
||||
setTimeout(() => {
|
||||
window.location.reload(true);
|
||||
@@ -69,4 +69,4 @@
|
||||
eventSource.close();
|
||||
}
|
||||
});
|
||||
})();
|
||||
})();
|
||||
|
||||
31
server.py
Normal file
31
server.py
Normal file
@@ -0,0 +1,31 @@
|
||||
import os
|
||||
import sys
|
||||
from http.server import HTTPServer as S
|
||||
from http.server import SimpleHTTPRequestHandler as H
|
||||
|
||||
|
||||
class C(H):
|
||||
def do_GET(self):
|
||||
p = self.path
|
||||
if p.endswith("/"):
|
||||
base_path = p.rstrip("/")
|
||||
html_file = base_path + ".html"
|
||||
if os.path.exists(os.path.join(os.getcwd(), html_file.lstrip("/"))):
|
||||
p = html_file
|
||||
else:
|
||||
p += "index.html"
|
||||
elif "." not in p.split("/")[-1]:
|
||||
r = os.path.join(os.getcwd(), p.lstrip("/"))
|
||||
if os.path.exists(r + ".html"):
|
||||
p += ".html"
|
||||
elif os.path.isdir(r):
|
||||
p += "/index.html"
|
||||
self.path = p
|
||||
return H.do_GET(self)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
d = sys.argv[1] if len(sys.argv) > 1 else "."
|
||||
p = int(sys.argv[2]) if len(sys.argv) > 2 else 8000
|
||||
os.chdir(d)
|
||||
S(("0.0.0.0", p), C).serve_forever()
|
||||
34
sitemap.xml
34
sitemap.xml
@@ -1,15 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://krzak.org/</loc>
|
||||
<lastmod>2023-10-27</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://krzak.org/contact.html</loc>
|
||||
<lastmod>2023-10-27</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://krzak.org/mc.html</loc>
|
||||
<lastmod>2023-10-27</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://krzak.org/</loc>
|
||||
<lastmod>2025-11-19</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://krzak.org/applications</loc>
|
||||
<lastmod>2025-11-19</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://krzak.org/contact</loc>
|
||||
<lastmod>2025-11-19</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://krzak.org/mc</loc>
|
||||
<lastmod>2025-11-19</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
668
styles.css
668
styles.css
@@ -1,506 +1,496 @@
|
||||
:root {
|
||||
--bg-gradient-1: #2a1a5e;
|
||||
--bg-gradient-2: #8b4789;
|
||||
--bg-gradient-3: #f4a261;
|
||||
--container-bg: rgba(42, 26, 94, 0.7);
|
||||
--container-border: rgba(244, 162, 97, 0.8);
|
||||
--text-color: #ffe8d6;
|
||||
--link-color: #f4a261;
|
||||
--link-bg: rgba(139, 71, 137, 0.3);
|
||||
--link-hover-bg: rgba(244, 162, 97, 0.3);
|
||||
--link-hover-border: rgba(244, 162, 97, 0.8);
|
||||
--subtitle-color: #dda15e;
|
||||
--glow-color: rgba(244, 162, 97, 0.7);
|
||||
--bg-gradient-1: #2a1a5e;
|
||||
--bg-gradient-2: #8b4789;
|
||||
--bg-gradient-3: #f4a261;
|
||||
--container-bg: rgba(42, 26, 94, 0.7);
|
||||
--container-border: rgba(244, 162, 97, 0.8);
|
||||
--text-color: #ffe8d6;
|
||||
--link-color: #f4a261;
|
||||
--link-bg: rgba(139, 71, 137, 0.3);
|
||||
--link-hover-bg: rgba(244, 162, 97, 0.3);
|
||||
--link-hover-border: rgba(244, 162, 97, 0.8);
|
||||
--subtitle-color: #dda15e;
|
||||
--glow-color: rgba(244, 162, 97, 0.7);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
background: linear-gradient(
|
||||
var(--bg-gradient-1),
|
||||
var(--bg-gradient-2),
|
||||
var(--bg-gradient-3)
|
||||
)
|
||||
no-repeat fixed;
|
||||
color: var(--text-color);
|
||||
font-family:
|
||||
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
||||
Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 16px;
|
||||
min-height: 100vh;
|
||||
transition: all 0.5s ease;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(var(--bg-gradient-1),
|
||||
var(--bg-gradient-2),
|
||||
var(--bg-gradient-3)) no-repeat fixed;
|
||||
color: var(--text-color);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
||||
"Helvetica Neue", Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 16px;
|
||||
min-height: 100vh;
|
||||
transition: all 0.5s ease;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
transition: 0.5s ease;
|
||||
background: radial-gradient(
|
||||
circle at 20% 50%,
|
||||
rgba(255, 255, 255, 0.08) 0%,
|
||||
transparent 50%
|
||||
);
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
transition: 0.5s ease;
|
||||
background: radial-gradient(circle at 20% 50%,
|
||||
rgba(255, 255, 255, 0.08) 0%,
|
||||
transparent 50%);
|
||||
}
|
||||
|
||||
.container {
|
||||
background: var(--container-bg);
|
||||
border-radius: 20px;
|
||||
padding: 24px;
|
||||
border: 1px solid var(--container-border);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
margin: auto;
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: var(--container-bg);
|
||||
border-radius: 20px;
|
||||
padding: 24px;
|
||||
border: 1px solid var(--container-border);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
margin: auto;
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 16px 0;
|
||||
font-size: clamp(1.5rem, 5vw, 2rem);
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
|
||||
color: var(--text-color);
|
||||
transition: color 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin: 0 0 16px 0;
|
||||
font-size: clamp(1.5rem, 5vw, 2rem);
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
|
||||
color: var(--text-color);
|
||||
transition: color 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 32px;
|
||||
margin-bottom: 16px;
|
||||
font-size: clamp(1.2rem, 4vw, 1.5rem);
|
||||
color: var(--subtitle-color);
|
||||
border-bottom: 1px solid rgba(244, 162, 97, 0.3);
|
||||
padding-bottom: 8px;
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
|
||||
margin-top: 32px;
|
||||
margin-bottom: 16px;
|
||||
font-size: clamp(1.2rem, 4vw, 1.5rem);
|
||||
color: var(--subtitle-color);
|
||||
border-bottom: 1px solid rgba(244, 162, 97, 0.3);
|
||||
padding-bottom: 8px;
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
flex-shrink: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
flex-shrink: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.icon img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--text-color);
|
||||
transition: color 0.3s ease;
|
||||
margin: 16px 0;
|
||||
font-size: 1rem;
|
||||
color: var(--text-color);
|
||||
transition: color 0.3s ease;
|
||||
margin: 16px 0;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 20px 0 0 0;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
li:last-child {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
li a {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 18px 20px;
|
||||
border-radius: 12px;
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
background-color: var(--link-bg);
|
||||
border: 1px solid transparent;
|
||||
min-height: 56px;
|
||||
gap: 12px;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
touch-action: manipulation;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 18px 20px;
|
||||
border-radius: 12px;
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
background-color: var(--link-bg);
|
||||
border: 1px solid transparent;
|
||||
min-height: 56px;
|
||||
gap: 12px;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
touch-action: manipulation;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
li a::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
rgba(244, 162, 97, 0.1),
|
||||
transparent
|
||||
);
|
||||
transition: left 0.5s ease;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg,
|
||||
transparent,
|
||||
rgba(244, 162, 97, 0.1),
|
||||
transparent);
|
||||
transition: left 0.5s ease;
|
||||
}
|
||||
|
||||
li a:active {
|
||||
transform: scale(0.98);
|
||||
background-color: var(--link-hover-bg);
|
||||
transform: scale(0.98);
|
||||
background-color: var(--link-hover-bg);
|
||||
}
|
||||
|
||||
li a strong {
|
||||
font-weight: 600;
|
||||
color: var(--link-color);
|
||||
transition: color 0.3s ease;
|
||||
font-size: 1.05rem;
|
||||
font-weight: 600;
|
||||
color: var(--link-color);
|
||||
transition: color 0.3s ease;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
li a span {
|
||||
font-weight: 300;
|
||||
color: var(--subtitle-color);
|
||||
transition: color 0.3s ease;
|
||||
font-size: 0.9rem;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-weight: 300;
|
||||
color: var(--subtitle-color);
|
||||
transition: color 0.3s ease;
|
||||
font-size: 0.9rem;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
br {
|
||||
display: block;
|
||||
margin: 16px 0;
|
||||
content: "";
|
||||
display: block;
|
||||
margin: 16px 0;
|
||||
content: "";
|
||||
}
|
||||
|
||||
/* LibreCounter */
|
||||
.librecounter {
|
||||
margin-top: 24px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid rgba(244, 162, 97, 0.3);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
min-height: 73px;
|
||||
margin-top: 24px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid rgba(244, 162, 97, 0.3);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
min-height: 73px;
|
||||
}
|
||||
|
||||
.librecounter-text {
|
||||
color: var(--text-color);
|
||||
font-size: 0.9rem;
|
||||
opacity: 0.9;
|
||||
color: var(--text-color);
|
||||
font-size: 0.9rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.librecounter-text a {
|
||||
color: var(--link-color);
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
color: var(--link-color);
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.librecounter-text a:hover {
|
||||
color: var(--subtitle-color);
|
||||
text-decoration: underline;
|
||||
color: var(--subtitle-color);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.librecounter a {
|
||||
display: inline-block;
|
||||
transition:
|
||||
transform 0.2s ease,
|
||||
opacity 0.2s ease;
|
||||
flex-shrink: 0;
|
||||
line-height: 0;
|
||||
display: inline-block;
|
||||
transition: transform 0.2s ease, opacity 0.2s ease;
|
||||
flex-shrink: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.librecounter a:hover {
|
||||
transform: scale(1.05);
|
||||
opacity: 0.9;
|
||||
transform: scale(1.05);
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.librecounter img {
|
||||
display: block;
|
||||
height: 64px;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
height: 64px;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Back to top button */
|
||||
.back-to-top {
|
||||
position: fixed;
|
||||
bottom: 24px;
|
||||
right: 24px;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
background: var(--link-bg);
|
||||
border: 1px solid var(--container-border);
|
||||
color: var(--link-color);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: all 0.3s ease;
|
||||
z-index: 1000;
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
|
||||
position: fixed;
|
||||
bottom: 24px;
|
||||
right: 24px;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
background: var(--link-bg);
|
||||
border: 1px solid var(--container-border);
|
||||
color: var(--link-color);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: all 0.3s ease;
|
||||
z-index: 1000;
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.back-to-top.visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.back-to-top:hover {
|
||||
background: var(--link-hover-bg);
|
||||
border-color: var(--link-hover-border);
|
||||
transform: translateY(-2px);
|
||||
background: var(--link-hover-bg);
|
||||
border-color: var(--link-hover-border);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.back-to-top:active {
|
||||
transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes slideDown {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes slideUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.fade-in {
|
||||
animation: fadeIn 0.6s ease-out forwards;
|
||||
animation: fadeIn 0.6s ease-out forwards;
|
||||
}
|
||||
|
||||
.slide-down {
|
||||
animation: slideDown 0.6s ease-out forwards;
|
||||
animation: slideDown 0.6s ease-out forwards;
|
||||
}
|
||||
|
||||
.slide-up {
|
||||
animation: slideUp 0.6s ease-out forwards;
|
||||
opacity: 0;
|
||||
animation: slideUp 0.6s ease-out forwards;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
li a:hover {
|
||||
background-color: var(--link-hover-bg);
|
||||
border-color: var(--link-hover-border);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
li a:hover {
|
||||
background-color: var(--link-hover-bg);
|
||||
border-color: var(--link-hover-border);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
li a:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
li a:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
body {
|
||||
padding: 24px;
|
||||
}
|
||||
body {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 32px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.container {
|
||||
padding: 32px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
h1 {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
li {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
.container {
|
||||
padding: 20px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
.container {
|
||||
padding: 20px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
li a {
|
||||
padding: 16px 18px;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 4px;
|
||||
}
|
||||
li a {
|
||||
padding: 16px 18px;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
li a span {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
li a span {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.back-to-top {
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
.back-to-top {
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
* {
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
* {
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
.fade-in,
|
||||
.slide-down,
|
||||
.slide-up {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
.fade-in,
|
||||
.slide-down,
|
||||
.slide-up {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* App Gallery Styles */
|
||||
.app-gallery {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 20px;
|
||||
margin-top: 20px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.app-card {
|
||||
background: var(--link-bg);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
border: 1px solid transparent;
|
||||
transition: all 0.2s ease-out;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: var(--link-bg);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
border: 1px solid transparent;
|
||||
transition: all 0.2s ease-out;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.app-card:hover {
|
||||
transform: translateY(-4px) scale(1.03);
|
||||
background-color: var(--link-hover-bg);
|
||||
border-color: var(--link-hover-border);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.app-card:hover {
|
||||
transform: translateY(-4px) scale(1.03);
|
||||
background-color: var(--link-hover-bg);
|
||||
border-color: var(--link-hover-border);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
.app-card:active {
|
||||
transform: scale(0.98);
|
||||
background-color: var(--link-hover-bg);
|
||||
transform: scale(0.98);
|
||||
background-color: var(--link-hover-bg);
|
||||
}
|
||||
|
||||
.app-icon {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 20px;
|
||||
margin-bottom: 16px;
|
||||
object-fit: cover;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 20px;
|
||||
margin-bottom: 16px;
|
||||
object-fit: cover;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.app-card h4 {
|
||||
margin: 0 0 8px 0;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: var(--link-color);
|
||||
margin: 0 0 8px 0;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
.app-card p {
|
||||
font-size: 0.85rem;
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
flex-grow: 1;
|
||||
color: var(--text-color);
|
||||
opacity: 0.9;
|
||||
font-size: 0.85rem;
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
flex-grow: 1;
|
||||
color: var(--text-color);
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.app-platforms {
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.app-platforms a {
|
||||
background: rgba(244, 162, 97, 0.25);
|
||||
backdrop-filter: blur(5px);
|
||||
-webkit-backdrop-filter: blur(5px);
|
||||
border: 1px solid rgba(244, 162, 97, 0.4);
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
padding: 6px 12px;
|
||||
border-radius: 12px;
|
||||
transition:
|
||||
transform 0.2s ease,
|
||||
background-color 0.2s ease;
|
||||
display: inline-block;
|
||||
background: rgba(244, 162, 97, 0.25);
|
||||
backdrop-filter: blur(5px);
|
||||
-webkit-backdrop-filter: blur(5px);
|
||||
border: 1px solid rgba(244, 162, 97, 0.4);
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
padding: 6px 12px;
|
||||
border-radius: 12px;
|
||||
transition: transform 0.2s ease, background-color 0.2s ease;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.app-platforms a:hover {
|
||||
transform: scale(1.05);
|
||||
background: rgba(244, 162, 97, 0.4);
|
||||
transform: scale(1.05);
|
||||
background: rgba(244, 162, 97, 0.4);
|
||||
}
|
||||
|
||||
.app-card.highlighted {
|
||||
border-color: var(--glow-color);
|
||||
box-shadow:
|
||||
0 0 12px 2px var(--glow-color),
|
||||
inset 0 0 15px -5px var(--glow-color);
|
||||
}
|
||||
border-color: var(--glow-color);
|
||||
box-shadow: 0 0 12px 2px var(--glow-color),
|
||||
inset 0 0 15px -5px var(--glow-color);
|
||||
}
|
||||
437
thingy.html
Normal file
437
thingy.html
Normal file
@@ -0,0 +1,437 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Krzak.org - Portal</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
/* Base Styles */
|
||||
body {
|
||||
background-color: #1a0f3e;
|
||||
color: #ffe8d6;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/* Scanline effect */
|
||||
background-image:
|
||||
linear-gradient(
|
||||
rgba(18, 16, 16, 0) 50%,
|
||||
rgba(0, 0, 0, 0.25) 50%
|
||||
),
|
||||
linear-gradient(
|
||||
90deg,
|
||||
rgba(255, 0, 0, 0.06),
|
||||
rgba(0, 255, 0, 0.02),
|
||||
rgba(0, 0, 255, 0.06)
|
||||
);
|
||||
background-size:
|
||||
100% 2px,
|
||||
3px 100%;
|
||||
}
|
||||
|
||||
/* Layout Container */
|
||||
.main-table {
|
||||
width: 800px;
|
||||
background-color: #2a1a5e;
|
||||
border: 2px solid #f4a261;
|
||||
border-right: 4px solid #c47e45;
|
||||
border-bottom: 4px solid #c47e45;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
a {
|
||||
color: #f4a261;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
a:hover {
|
||||
color: #ffffff;
|
||||
text-decoration: underline;
|
||||
background-color: #8b4789;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
/* Sidebar Styling */
|
||||
.sidebar {
|
||||
background-color: #1f1345;
|
||||
padding: 10px;
|
||||
border-right: 1px solid #f4a261;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.nav-header {
|
||||
color: #dda15e;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-weight: bold;
|
||||
border-bottom: 1px dashed #dda15e;
|
||||
margin-bottom: 5px;
|
||||
margin-top: 15px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
display: block;
|
||||
padding: 4px;
|
||||
border-left: 3px solid transparent;
|
||||
}
|
||||
.nav-link:hover {
|
||||
border-left: 3px solid #f4a261;
|
||||
background-color: #2a1a5e;
|
||||
}
|
||||
|
||||
/* Main Content Styling */
|
||||
.content {
|
||||
padding: 20px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
color: #f4a261;
|
||||
font-size: 24px;
|
||||
margin-top: 0;
|
||||
text-shadow: 2px 2px #000000;
|
||||
}
|
||||
|
||||
/* The "Window" Box style for sections */
|
||||
.retro-box {
|
||||
border: 2px ridge #8b4789;
|
||||
background-color: #251752;
|
||||
padding: 10px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.marquee-container {
|
||||
border: 1px inset #f4a261;
|
||||
background: #000000;
|
||||
color: #00ff00;
|
||||
font-family: monospace;
|
||||
padding: 2px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
/* Pixelated dividers */
|
||||
hr {
|
||||
border: 0;
|
||||
border-bottom: 1px dashed #f4a261;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
font-size: 10px;
|
||||
color: #dda15e;
|
||||
text-align: center;
|
||||
padding-top: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<br />
|
||||
<center>
|
||||
<!-- Main Layout Table -->
|
||||
<table class="main-table" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<!-- SIDEBAR (Left Column) -->
|
||||
<td width="200" class="sidebar">
|
||||
<center>
|
||||
<img
|
||||
src="/icon.svg"
|
||||
width="80"
|
||||
height="80"
|
||||
alt="Krzak Logo"
|
||||
style="
|
||||
border: 2px solid #f4a261;
|
||||
margin-bottom: 10px;
|
||||
"
|
||||
/>
|
||||
<br />
|
||||
<font size="1">est. 2024</font>
|
||||
</center>
|
||||
|
||||
<span class="nav-header">:: MAIN ::</span>
|
||||
<a href="/" class="nav-link">[ Home ]</a>
|
||||
<a href="/contact" class="nav-link">[ Contact ]</a>
|
||||
<a href="/applications" class="nav-link">[ Apps ]</a>
|
||||
|
||||
<span class="nav-header">:: SERVICES ::</span>
|
||||
<a href="https://fedi.krzak.org" class="nav-link"
|
||||
>Fediverse</a
|
||||
>
|
||||
<a href="https://git.krzak.org" class="nav-link"
|
||||
>Git Repo</a
|
||||
>
|
||||
<a href="https://music.krzak.org" class="nav-link"
|
||||
>Music</a
|
||||
>
|
||||
<a href="https://rss.krzak.org" class="nav-link">RSS</a>
|
||||
|
||||
<span class="nav-header">:: GAME ::</span>
|
||||
<a href="/mc" class="nav-link">Minecraft</a>
|
||||
|
||||
<br /><br />
|
||||
<center>
|
||||
<div
|
||||
style="
|
||||
border: 1px inset #8b4789;
|
||||
background: #000;
|
||||
padding: 4px;
|
||||
font-family: monospace;
|
||||
font-size: 10px;
|
||||
"
|
||||
>
|
||||
SERVER STATUS<br />
|
||||
<font id="mc-status-text" color="#ffff00"
|
||||
>CHECKING...</font
|
||||
><br />
|
||||
<span id="mc-players"></span>
|
||||
</div>
|
||||
</center>
|
||||
</td>
|
||||
|
||||
<!-- CONTENT (Right Column) -->
|
||||
<td class="content">
|
||||
<!-- Header -->
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><h1>Welcome to Krzak.org</h1></td>
|
||||
<td align="right">
|
||||
<font size="1" color="#dda15e"
|
||||
>Logged in as: Guest</font
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- Marquee -->
|
||||
<div class="marquee-container">
|
||||
<marquee
|
||||
id="system-marquee"
|
||||
scrollamount="4"
|
||||
scrolldelay="100"
|
||||
>
|
||||
++ WELCOME TO THE NETWORK ++ UPDATES: MINECRAFT
|
||||
SERVER 1.21.10 LIVE ++ CHECK OUT THE NEW APPS
|
||||
SECTION ++
|
||||
</marquee>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Hi, welcome to krzak.org. This is my personal corner
|
||||
of the interwebs.
|
||||
<br />
|
||||
Use the navigation on the left to explore my
|
||||
services.
|
||||
</p>
|
||||
|
||||
<!-- "Latest News" Box -->
|
||||
<div class="retro-box">
|
||||
<b>:: LATEST NEWS ::</b>
|
||||
<ul>
|
||||
<li>
|
||||
Added
|
||||
<a href="/applications"
|
||||
>Recommended Applications</a
|
||||
>
|
||||
page.
|
||||
</li>
|
||||
<li>
|
||||
Updated Minecraft server to Fabric 1.21.10.
|
||||
</li>
|
||||
<li>Fixed RSS feed integration.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Services Grid (Nested Table) -->
|
||||
<b>:: QUICK LINKS ::</b>
|
||||
<table width="100%" border="0" cellpadding="5">
|
||||
<tr>
|
||||
<td width="33%" align="center">
|
||||
<a href="https://paste.krzak.org">
|
||||
<div
|
||||
style="
|
||||
border: 1px solid #f4a261;
|
||||
padding: 5px;
|
||||
margin: 2px;
|
||||
"
|
||||
>
|
||||
<b>PASTE</b><br />
|
||||
<font size="1">Opengist</font>
|
||||
</div>
|
||||
</a>
|
||||
</td>
|
||||
<td width="33%" align="center">
|
||||
<a href="https://share.krzak.org">
|
||||
<div
|
||||
style="
|
||||
border: 1px solid #f4a261;
|
||||
padding: 5px;
|
||||
margin: 2px;
|
||||
"
|
||||
>
|
||||
<b>SHARE</b><br />
|
||||
<font size="1">FilePizza</font>
|
||||
</div>
|
||||
</a>
|
||||
</td>
|
||||
<td width="33%" align="center">
|
||||
<a href="https://link.krzak.org">
|
||||
<div
|
||||
style="
|
||||
border: 1px solid #f4a261;
|
||||
padding: 5px;
|
||||
margin: 2px;
|
||||
"
|
||||
>
|
||||
<b>LINK</b><br />
|
||||
<font size="1">Shlink</font>
|
||||
</div>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<p>
|
||||
If you want an account on any of these, want to
|
||||
suggest something new or get a subdomain, just
|
||||
<a href="mailto:admin@krzak.org">message me</a>.
|
||||
</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="footer">
|
||||
<!-- Hidden Counter Image to increment stats -->
|
||||
<img
|
||||
src="https://librecounter.org/counter.svg"
|
||||
referrerpolicy="unsafe-url"
|
||||
width="0"
|
||||
height="0"
|
||||
alt=""
|
||||
style="display: none"
|
||||
/>
|
||||
|
||||
Total Visitors:
|
||||
<b><span id="visitor-count">...</span></b
|
||||
><br />
|
||||
Indexed by
|
||||
<a
|
||||
href="https://librecounter.org/referer/show"
|
||||
target="_blank"
|
||||
>LibreCounter</a
|
||||
>
|
||||
<br />
|
||||
© 2024 Krzak.org | <a href="#">Top of Page</a>
|
||||
<br /><br />
|
||||
<!-- Fake Buttons for aesthetic -->
|
||||
<img
|
||||
src="https://imgs.search.brave.com/a80w-button-placeholder"
|
||||
width="88"
|
||||
height="31"
|
||||
style="
|
||||
background: #8b4789;
|
||||
border: 1px solid #000;
|
||||
"
|
||||
alt="HTML4"
|
||||
/>
|
||||
<img
|
||||
src="https://imgs.search.brave.com/a80w-button-placeholder"
|
||||
width="88"
|
||||
height="31"
|
||||
style="
|
||||
background: #f4a261;
|
||||
border: 1px solid #000;
|
||||
"
|
||||
alt="CSS"
|
||||
/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
|
||||
<!-- Legacy JavaScript for Functionality -->
|
||||
<script type="text/javascript">
|
||||
// Helper for cross-browser JSON fetching (IE7+ compatible logic)
|
||||
function fetchJSON(url, callback) {
|
||||
var proxyUrl = `https://cors.krzak.org/get?url=${encodeURIComponent(url)}`;
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onreadystatechange = function () {
|
||||
if (xhr.readyState === 4) {
|
||||
if (xhr.status === 200) {
|
||||
try {
|
||||
var data = JSON.parse(xhr.responseText);
|
||||
// Handle double-encoded JSON in the contents field
|
||||
var contents =
|
||||
typeof data.contents === "string"
|
||||
? JSON.parse(data.contents)
|
||||
: data.contents;
|
||||
callback(contents);
|
||||
} catch (e) {
|
||||
console.error("JSON Parse Error:", e);
|
||||
}
|
||||
} else {
|
||||
console.error(
|
||||
"Request failed with status:",
|
||||
xhr.status,
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
xhr.open("GET", proxyUrl, true);
|
||||
xhr.setRequestHeader("Accept", "application/json");
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
// 1. Fetch Visitor Count
|
||||
fetchJSON(
|
||||
"https://librecounter.org/krzak.org/siteStats",
|
||||
function (data) {
|
||||
var countEl = document.getElementById("visitor-count");
|
||||
if (countEl && data && data.total) {
|
||||
countEl.innerHTML = data.total;
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
// 2. Fetch Minecraft Server Status
|
||||
fetchJSON("https://api.mcsrvstat.us/3/krzak.org", function (data) {
|
||||
var statusText = document.getElementById("mc-status-text");
|
||||
var playersEl = document.getElementById("mc-players");
|
||||
var marquee = document.getElementById("system-marquee");
|
||||
|
||||
if (data.online) {
|
||||
if (statusText) {
|
||||
statusText.innerHTML = "ONLINE";
|
||||
statusText.color = "#00ff00"; // Green
|
||||
}
|
||||
if (playersEl) {
|
||||
playersEl.innerHTML =
|
||||
"[" +
|
||||
data.players.online +
|
||||
"/" +
|
||||
data.players.max +
|
||||
"] Players";
|
||||
}
|
||||
// Update marquee with dynamic info
|
||||
if (marquee) {
|
||||
marquee.innerHTML =
|
||||
"++ SERVER ONLINE: " +
|
||||
data.players.online +
|
||||
" PLAYERS CONNECTED ++ VERSION: " +
|
||||
data.version +
|
||||
" ++ WELCOME TO KRZAK.ORG ++";
|
||||
}
|
||||
} else {
|
||||
if (statusText) {
|
||||
statusText.innerHTML = "OFFLINE";
|
||||
statusText.color = "#ff0000"; // Red
|
||||
}
|
||||
if (playersEl) {
|
||||
playersEl.innerHTML = "";
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user