Spaces:
Configuration error
Configuration error
Upload 3 files
Browse files- background.png +2 -0
- index.html +142 -0
- verses_data.js +16 -0
background.png
ADDED
|
index.html
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
<!DOCTYPE html>
|
| 3 |
+
<html lang="en">
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8" />
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
| 7 |
+
<title>Tongues of Fire</title>
|
| 8 |
+
<link href="https://fonts.googleapis.com/css2?family=Parisienne&family=Space+Mono&display=swap" rel="stylesheet">
|
| 9 |
+
<style>
|
| 10 |
+
body {
|
| 11 |
+
margin: 0;
|
| 12 |
+
font-family: 'Space Mono', monospace;
|
| 13 |
+
background: url('background.png') no-repeat center center fixed;
|
| 14 |
+
background-size: cover;
|
| 15 |
+
color: #000;
|
| 16 |
+
}
|
| 17 |
+
header {
|
| 18 |
+
padding: 30px;
|
| 19 |
+
display: flex;
|
| 20 |
+
justify-content: space-between;
|
| 21 |
+
align-items: center;
|
| 22 |
+
flex-wrap: wrap;
|
| 23 |
+
}
|
| 24 |
+
.title {
|
| 25 |
+
font-family: 'Parisienne', cursive;
|
| 26 |
+
font-size: 3rem;
|
| 27 |
+
color: #fff;
|
| 28 |
+
text-shadow: 2px 2px 6px #8b5e34;
|
| 29 |
+
}
|
| 30 |
+
.scroll-btn {
|
| 31 |
+
background-image: linear-gradient(to right, #b87b3c, #8b5e34);
|
| 32 |
+
border: 2px solid #5a3d1c;
|
| 33 |
+
border-radius: 15px;
|
| 34 |
+
padding: 10px 20px;
|
| 35 |
+
font-family: 'Space Mono', monospace;
|
| 36 |
+
color: white;
|
| 37 |
+
cursor: pointer;
|
| 38 |
+
}
|
| 39 |
+
.dropdown {
|
| 40 |
+
position: relative;
|
| 41 |
+
}
|
| 42 |
+
.dropdown-content {
|
| 43 |
+
display: none;
|
| 44 |
+
position: absolute;
|
| 45 |
+
right: 0;
|
| 46 |
+
background-color: #fff;
|
| 47 |
+
min-width: 240px;
|
| 48 |
+
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
|
| 49 |
+
z-index: 1;
|
| 50 |
+
border-radius: 6px;
|
| 51 |
+
}
|
| 52 |
+
.dropdown-content a {
|
| 53 |
+
color: #000;
|
| 54 |
+
padding: 12px 16px;
|
| 55 |
+
text-decoration: none;
|
| 56 |
+
display: block;
|
| 57 |
+
font-family: 'Space Mono', monospace;
|
| 58 |
+
}
|
| 59 |
+
.dropdown-content a:hover {
|
| 60 |
+
background-color: #eee;
|
| 61 |
+
}
|
| 62 |
+
.dropdown:hover .dropdown-content {
|
| 63 |
+
display: block;
|
| 64 |
+
}
|
| 65 |
+
.notebook-paper {
|
| 66 |
+
background-color: rgba(255, 255, 255, 0.94);
|
| 67 |
+
background-image: linear-gradient(to bottom, #c9d2e1 1px, transparent 1px);
|
| 68 |
+
background-size: 100% 25px;
|
| 69 |
+
padding: 40px;
|
| 70 |
+
margin: 40px auto;
|
| 71 |
+
width: 90%;
|
| 72 |
+
max-width: 900px;
|
| 73 |
+
border-radius: 10px;
|
| 74 |
+
border: 1px solid #aaa;
|
| 75 |
+
font-family: 'Parisienne', cursive;
|
| 76 |
+
font-size: 2rem;
|
| 77 |
+
box-shadow: 0 5px 10px rgba(0,0,0,0.1);
|
| 78 |
+
}
|
| 79 |
+
.verse-reference {
|
| 80 |
+
text-align: right;
|
| 81 |
+
font-family: 'Space Mono', monospace;
|
| 82 |
+
font-size: 1.2rem;
|
| 83 |
+
margin-top: 10px;
|
| 84 |
+
}
|
| 85 |
+
</style>
|
| 86 |
+
</head>
|
| 87 |
+
<body>
|
| 88 |
+
<header>
|
| 89 |
+
<div class="title">Tongues of Fire</div>
|
| 90 |
+
<button class="scroll-btn" onclick="location.reload()">📜 Speak, Lord</button>
|
| 91 |
+
<div class="dropdown">
|
| 92 |
+
<button class="scroll-btn">Tools</button>
|
| 93 |
+
<div class="dropdown-content">
|
| 94 |
+
<a href="chapter.html">Random Chapter Generator</a>
|
| 95 |
+
<a href="book.html">Random Book Generator</a>
|
| 96 |
+
<a href="daily.html">Daily Reading Plan</a>
|
| 97 |
+
<a href="bride.html">Bride-Ready End Time Plan</a>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
</header>
|
| 101 |
+
|
| 102 |
+
<section class="notebook-paper">
|
| 103 |
+
<div><strong>Echoes from the Throne</strong></div>
|
| 104 |
+
<div id="main-verse"></div>
|
| 105 |
+
<div class="verse-reference" id="main-ref"></div>
|
| 106 |
+
</section>
|
| 107 |
+
|
| 108 |
+
<section class="notebook-paper">
|
| 109 |
+
<div><strong>Thus Says the LORD: †Word from OT</strong></div>
|
| 110 |
+
<div id="ot-verse"></div>
|
| 111 |
+
<div class="verse-reference" id="ot-ref"></div>
|
| 112 |
+
</section>
|
| 113 |
+
|
| 114 |
+
<section class="notebook-paper">
|
| 115 |
+
<div><strong>From the Upper Room: †Word from NT</strong></div>
|
| 116 |
+
<div id="nt-verse"></div>
|
| 117 |
+
<div class="verse-reference" id="nt-ref"></div>
|
| 118 |
+
</section>
|
| 119 |
+
|
| 120 |
+
<script src="verses_data.js"></script>
|
| 121 |
+
<script>
|
| 122 |
+
function getRandom(arr) {
|
| 123 |
+
return arr[Math.floor(Math.random() * arr.length)];
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
window.onload = function() {
|
| 127 |
+
const main = getRandom(VERSE_DATA.all);
|
| 128 |
+
const ot = getRandom(VERSE_DATA.ot);
|
| 129 |
+
const nt = getRandom(VERSE_DATA.nt);
|
| 130 |
+
|
| 131 |
+
document.getElementById('main-verse').innerText = `"${main.text}"`;
|
| 132 |
+
document.getElementById('main-ref').innerText = main.reference;
|
| 133 |
+
|
| 134 |
+
document.getElementById('ot-verse').innerText = `"${ot.text}"`;
|
| 135 |
+
document.getElementById('ot-ref').innerText = ot.reference;
|
| 136 |
+
|
| 137 |
+
document.getElementById('nt-verse').innerText = `"${nt.text}"`;
|
| 138 |
+
document.getElementById('nt-ref').innerText = nt.reference;
|
| 139 |
+
};
|
| 140 |
+
</script>
|
| 141 |
+
</body>
|
| 142 |
+
</html>
|
verses_data.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
const VERSE_DATA = {
|
| 3 |
+
all: [
|
| 4 |
+
{ text: "For God so loved the world that He gave His only begotten Son...", reference: "John 3:16", type: "nt" },
|
| 5 |
+
{ text: "In the beginning God created the heavens and the earth.", reference: "Genesis 1:1", type: "ot" },
|
| 6 |
+
{ text: "The Lord is my shepherd; I shall not want.", reference: "Psalm 23:1", type: "ot" },
|
| 7 |
+
{ text: "Jesus wept.", reference: "John 11:35", type: "nt" },
|
| 8 |
+
{ text: "Trust in the Lord with all your heart.", reference: "Proverbs 3:5", type: "ot" },
|
| 9 |
+
{ text: "I can do all things through Christ who strengthens me.", reference: "Philippians 4:13", type: "nt" }
|
| 10 |
+
],
|
| 11 |
+
ot: [],
|
| 12 |
+
nt: []
|
| 13 |
+
};
|
| 14 |
+
|
| 15 |
+
VERSE_DATA.ot = VERSE_DATA.all.filter(v => v.type === "ot");
|
| 16 |
+
VERSE_DATA.nt = VERSE_DATA.all.filter(v => v.type === "nt");
|