logfilesrefsstats
diff options
context:
space:
mode:
-rw-r--r--cow.gifbin0 -> 29953 bytes
-rw-r--r--explode.gifbin0 -> 50165 bytes
-rw-r--r--index.html47
-rw-r--r--script.js44
-rw-r--r--style.css79
-rw-r--r--typingfast.gifbin0 -> 633046 bytes
-rw-r--r--underconstruction.gifbin0 -> 89525 bytes
7 files changed, 170 insertions, 0 deletions
diff --git a/cow.gif b/cow.gif
new file mode 100644
index 0000000..4dedbfb
--- /dev/null
+++ b/cow.gif
Binary files differ
diff --git a/explode.gif b/explode.gif
new file mode 100644
index 0000000..f437323
--- /dev/null
+++ b/explode.gif
Binary files differ
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..9c877c9
--- /dev/null
+++ b/index.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>initframs.dev</title>
+ <link href="style.css" rel="stylesheet" />
+</head>
+
+<body>
+ <div id="ipaddr" <div id="bandconditionsnotice">
+ Band conditions are in the format <span>day/night</span>
+ </div>
+ <div>
+ Last updated: 11/7/2026
+ </div>
+ <div id=" counter-small">
+ You are visitor number <span>1</span><span>2</span><span>3</span><span>4</span><span>5</span>
+ </div>
+ <div id="title">
+ <img id="gif" src="explode.gif" />
+ <blink>
+ <h1>initframs.dev</h1>
+ </blink>
+ <img id="gif" src="cow.gif" />
+ </div>
+ <marquee id="ticker" direction="right" scrollamount="20">
+ CURRENT TIME: <span id="clock">LOADING...</span>
+ &nbsp; *** &nbsp;
+ TODAY'S DATE: <span id="date">LOADING...</span>
+ &nbsp; *** &nbsp;
+ SOLAR FLUX INDEX: <span id="sfi">LOADING...</span>
+ &nbsp; *** &nbsp;
+ 80M BAND: <span id="band80">LOADING...</span>
+ &nbsp; *** &nbsp;
+ 40M BAND: <span id="band40">LOADING...</span>
+ &nbsp; *** &nbsp;
+ 20M BAND: <span id="band20">LOADING...</span>
+ &nbsp; *** &nbsp;
+ 10M BAND: <span id="band10">LOADING...</span>
+ &nbsp; *** &nbsp;
+ </marquee>
+ <script src="script.js"></script>
+</body>
+
+</html> \ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..a25125e
--- /dev/null
+++ b/script.js
@@ -0,0 +1,44 @@
+function updateClock() {
+ const now = new Date();
+
+ document.querySelectorAll("#clock").forEach(el => {
+ el.textContent = now.toLocaleTimeString();
+ });
+
+ document.querySelectorAll("#date").forEach(el => {
+ el.textContent = now.toLocaleDateString();
+ });
+}
+
+function updateMarqueeApis() {
+ fetch("https://www.mapforham.com/hf-propagation/data/solar.json")
+ .then(response => response.json())
+ .then(data => {
+ console.log("Got data:", data);
+ console.log(data.solar_flux);
+
+ document.querySelectorAll("#sfi").forEach(el => {
+ el.textContent = data.solar_flux;
+ });
+ document.querySelectorAll("#band40").forEach(el => {
+ el.textContent = data.bands_detail[3].day + "/" + data.bands_detail[3].night;
+ });
+ document.querySelectorAll("#band20").forEach(el => {
+ el.textContent = data.bands_detail[5].day + "/" + data.bands_detail[5].night;
+ });
+ document.querySelectorAll("#band80").forEach(el => {
+ el.textContent = data.bands_detail[1].day + "/" + data.bands_detail[1].night;
+ });
+ document.querySelectorAll("#band10").forEach(el => {
+ el.textContent = data.bands_detail[9].day + "/" + data.bands_detail[9].night;
+ });
+ })
+ .catch(error => {
+ console.error("api error:", error);
+ });
+}
+
+updateClock();
+updateMarqueeApis();
+setInterval(updateClock, 1000);
+setInterval(updateMarqueeApis, 60000); \ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..949f9f6
--- /dev/null
+++ b/style.css
@@ -0,0 +1,79 @@
+html,
+body {
+ background-color: lime;
+ text-align: center;
+}
+
+#title {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ width: 100%;
+ margin-bottom: 40px;
+}
+
+#gif {
+ width: 128px;
+ margin: 20px;
+}
+
+h1 {
+ color: blue;
+ font-size: 80px;
+ margin: 20px;
+}
+
+marquee {
+ width: 100%;
+ color: red;
+ font-size: 30px;
+ font-weight: bold;
+}
+
+#counter-big {
+ position: absolute;
+ top: 40px;
+ left: 80px;
+ font-size: 40px;
+}
+
+#counter-big span {
+ display: inline-block;
+ background-color: black;
+ color: yellow;
+ margin-top: 10px;
+ padding: 10px;
+ font-size: 50px;
+}
+
+#bandconditionsnotice {
+ font-size: 20px;
+}
+
+#bandconditionsnotice span {
+ color: #ff00ff;
+ font-weight: bold;
+ font-size: 30px;
+}
+
+blink {
+ animation: blink 1s step-start infinite;
+}
+
+@keyframes blink {
+ 0% {
+ visibility: visible;
+ }
+
+ 50% {
+ visibility: visible;
+ }
+
+ 50% {
+ visibility: hidden;
+ }
+
+ 75% {
+ visibility: visible;
+ }
+} \ No newline at end of file
diff --git a/typingfast.gif b/typingfast.gif
new file mode 100644
index 0000000..b1e34ab
--- /dev/null
+++ b/typingfast.gif
Binary files differ
diff --git a/underconstruction.gif b/underconstruction.gif
new file mode 100644
index 0000000..2e10508
--- /dev/null
+++ b/underconstruction.gif
Binary files differ