diff --git a/checklinks.js b/checklinks.js index fef91ff..9036854 100644 --- a/checklinks.js +++ b/checklinks.js @@ -15,6 +15,7 @@ const links = [ "https://cashu.btcforplebs.com", "https://fevela.btcforplebs.com", "https://coracle.btcforplebs.com", + "https://shipyard.btcforplebs.com", "https://live.btcforplebs.com", "https://nsec.btcforplebs.com", "https://ncryptdesec.btcforplebs.com", diff --git a/public/assets/css/main.css b/public/assets/css/main.css index 0491b21..eead4fe 100644 --- a/public/assets/css/main.css +++ b/public/assets/css/main.css @@ -611,3 +611,68 @@ footer { opacity: 0.5; } } + +/* Navbar Styles */ +.navbar { + background: linear-gradient(to bottom, var(--button-bg-top), var(--button-bg-bottom)); + border-bottom: 1px solid var(--button-border); + padding: 10px 20px; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); + margin-bottom: 20px; +} + +.navbar-container { + display: flex; + justify-content: space-between; + align-items: center; + max-width: 1200px; + margin: 0 auto; +} + +.navbar-logo { + display: flex; + align-items: center; + text-decoration: none; + color: var(--text-color); + font-weight: bold; + font-size: 1.2rem; +} + +.navbar-logo img { + height: 40px; + margin-right: 10px; + border-radius: 6px; +} + +.navbar-menu { + display: flex; + gap: 20px; +} + +.navbar-item { + text-decoration: none; + color: var(--text-color); + font-weight: 500; + padding: 8px 12px; + border-radius: 6px; + transition: background-color 0.2s, color 0.2s; +} + +.navbar-item:hover { + background-color: rgba(0, 0, 0, 0.05); + color: #F7931A; /* Bitcoin Orange */ +} + +/* Mobile Navbar */ +@media (max-width: 768px) { + .navbar-container { + flex-direction: column; + gap: 10px; + } + + .navbar-menu { + flex-wrap: wrap; + justify-content: center; + gap: 10px; + } +} diff --git a/public/assets/js/scripts.js b/public/assets/js/scripts.js index ce4b1a0..657fe5e 100644 --- a/public/assets/js/scripts.js +++ b/public/assets/js/scripts.js @@ -62,25 +62,4 @@ document.addEventListener('DOMContentLoaded', () => { } }) .catch(error => console.error('Error loading footer:', error)); - - // --- 5. Fetch and Display Last Update from Gitea ----------------------- - fetch('https://gitea.btcforplebs.com/api/v1/repos/btcforplebs/BTCforPlebs.com') - .then(response => response.json()) - .then(data => { - const lastUpdate = new Date(data.updated_at); - const formattedDate = lastUpdate.toLocaleDateString(); - const formattedTime = lastUpdate.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }); - - const updateText = document.getElementById('last-updated-text'); - if (updateText) { - updateText.textContent = `Website last updated: ${formattedDate} ${formattedTime}`; - } - }) - .catch(error => { - console.error('Error fetching last update:', error); - const updateText = document.getElementById('last-updated-text'); - if (updateText) { - updateText.textContent = 'Last update: Error fetching data.'; - } - }); }); \ No newline at end of file diff --git a/public/index.html b/public/index.html index 0042fa6..827ef0a 100644 --- a/public/index.html +++ b/public/index.html @@ -77,6 +77,8 @@ data-url="https://jumble.btcforplebs.com">⏳ Fevela ⏳ + Shipyard ⏳ Nostr Community (add community.btcforplebs.com) diff --git a/public/learn-cashu/index.html b/public/learn-cashu/index.html index 8d9d24a..db40c57 100644 --- a/public/learn-cashu/index.html +++ b/public/learn-cashu/index.html @@ -1,121 +1,113 @@ +
-
-Cashu is a lightweight, privacy‑preserving ecash system that runs on top of the Lightning Network and settles on‑chain. It uses zero‑knowledge proofs to hide the value of a transfer while remaining fully traceable when required.
- - -
+
Cashu is a lightweight, privacy‑preserving ecash system that runs on top of the Lightning Network and settles + on‑chain. It uses zero‑knowledge proofs to hide the value of a transfer while remaining fully traceable when + required.
- -Cashu is an ecash protocol that allows you to mint, transfer, and spend Bitcoin value without revealing the amount or the sender/receiver in public transactions. It leverages the Lightning Network for instant settlement while maintaining on‑chain traceability for regulatory compliance. Think of it as a privacy‑preserving UTXO that can be moved anywhere on the Lightning network.
-At the core of Cashu is a zero‑knowledge range proof that proves the value of a note without exposing it. This means you can pay for goods or services with a Cashu note and the recipient can verify that the note contains sufficient value, while the transaction remains private on‑chain.
-Cashu uses a set of “notes” minted by a mint and signed with a unique key. Each note contains an amount and a unique identifier that the mint keeps encrypted. Transfers are executed with the Lightning Network, but minting and redeeming are done via on‑chain transactions that are fully verifiable.
-Several wallet applications support Cashu, from the Cashu Web Wallet to Melt’s Lightning Wallet. Below are quick links to some popular ones:
- - - -🔝 + + + 🔝 - + const sectionId = select.value; + if (sectionId) { + document.getElementById(sectionId).scrollIntoView({ behavior: 'smooth' }); + } + } + + \ No newline at end of file diff --git a/public/learn-nostr/index.html b/public/learn-nostr/index.html index 16fe16c..4b30f80 100644 --- a/public/learn-nostr/index.html +++ b/public/learn-nostr/index.html @@ -1,70 +1,113 @@ + -
-
+
+
+
+
+
+
+
Nostr is a decentralized, censorship-resistant protocol for communication. Learn more about its potential by watching the video below.
-Nostr is a decentralized, censorship-resistant protocol for communication. Learn more about its potential by + watching the video below.
+Explore the ecosystem of Nostr apps and tools available on BTCforPlebs:
+ +wss://relay.btcforplebs.com.