diff --git a/website/assets/css/site-header.css b/website/assets/css/site-header.css index 8e3341b9..acdc6d63 100644 --- a/website/assets/css/site-header.css +++ b/website/assets/css/site-header.css @@ -21,10 +21,18 @@ body.dark { --global-header-cta-text: #0f172a; } +body.light { + --global-header-bg: rgba(255, 255, 255, 0.97); + --global-header-border: rgba(15, 23, 42, 0.08); + --global-header-text: #111827; + --global-header-muted: #6b7280; + --global-header-pill: rgba(37, 99, 235, 0.07); + --global-header-pill-hover: rgba(37, 99, 235, 0.15); + --global-header-accent: #2563eb; + --global-header-cta-text: #fff; +} .global-header { - height: 90px; - box-sizing: border-box; position: sticky; top: 0; width: 100%; @@ -35,13 +43,13 @@ body.dark { } .global-header__inner { - max-width: 1160px; + max-width: 1200px; margin: 0 auto; - padding: 0 1.25rem; - height: 100%; + padding: 0.85rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; + flex-wrap: wrap; justify-content: space-between; } @@ -127,10 +135,27 @@ body.dark { flex-wrap: wrap; } +.global-dark-toggle { + border: 1px solid var(--global-header-border); + background: transparent; + color: var(--global-header-text); + padding: 0.35rem 0.9rem; + border-radius: 999px; + font-size: 0.9rem; + display: inline-flex; + align-items: center; + gap: 0.35rem; + cursor: pointer; + transition: all 0.2s ease; +} +.global-dark-toggle:hover { + border-color: var(--global-header-accent); + color: var(--global-header-accent); +} .global-subnav { - max-width: 1160px; + max-width: 1200px; margin: 0 auto; padding: 0 1.25rem 0.75rem; display: flex; @@ -159,18 +184,10 @@ body.dark { color: var(--global-header-accent); } - @media (max-width: 960px) { - .global-header { - height: auto; - min-height: 90px; - padding: 1rem 0; - } - .global-header__inner { flex-direction: column; align-items: flex-start; - height: auto; } .global-header__actions { @@ -182,6 +199,7 @@ body.dark { width: 100%; } } + @media (max-width: 640px) { .global-brand__text span { font-size: 1rem; diff --git a/website/assets/js/global-header.js b/website/assets/js/global-header.js index dddb80ec..23ffc93a 100644 --- a/website/assets/js/global-header.js +++ b/website/assets/js/global-header.js @@ -1,12 +1,4 @@ (function () { - // Always enforce dark theme - document.documentElement.setAttribute('data-theme', 'dark'); - document.documentElement.classList.add('dark'); - - // Clean up any old user preferences - if (localStorage.getItem('theme')) localStorage.removeItem('theme'); - if (localStorage.getItem('exchangeTheme')) localStorage.removeItem('exchangeTheme'); - const NAV_ITEMS = [ { key: 'home', label: 'Home', href: '/' }, { key: 'explorer', label: 'Explorer', href: '/explorer/' }, @@ -15,6 +7,8 @@ { key: 'docs', label: 'Docs', href: '/docs/index.html' }, ]; + const CTA = { label: 'Launch Marketplace', href: '/marketplace/' }; + function determineActiveKey(pathname) { if (pathname.startsWith('/explorer')) return 'explorer'; if (pathname.startsWith('/marketplace')) return 'marketplace'; @@ -42,11 +36,64 @@ +
https://aitbc.bubuit.net/api
For development:
-http://localhost:8000
+ http://localhost:18000
Real-time updates are available through WebSocket connections:
-ws://aitbc.bubuit.net:8015/ws
+ ws://aitbc.bubuit.net:18001/ws
Subscribe to events:
{
@@ -203,6 +198,6 @@
-
+
diff --git a/website/docs/blockchain-node.html b/website/docs/blockchain-node.html
index 04b5b324..f26a0d29 100644
--- a/website/docs/blockchain-node.html
+++ b/website/docs/blockchain-node.html
@@ -1,16 +1,11 @@
-
+
Blockchain Node - AITBC Documentation
-
+
-
-
-
-
-
@@ -193,6 +188,6 @@ python -m aitbc_chain.node
// Add any interactive functionality here
-
+
diff --git a/website/docs/browser-wallet.html b/website/docs/browser-wallet.html
index 5d91c233..9a8fcf39 100644
--- a/website/docs/browser-wallet.html
+++ b/website/docs/browser-wallet.html
@@ -3,17 +3,12 @@
Redirecting to AITBC Browser Wallet
- + diff --git a/website/docs/clients.html b/website/docs/clients.html index 187b0166..45efb68f 100644 --- a/website/docs/clients.html +++ b/website/docs/clients.html @@ -1,17 +1,12 @@ - +© 2026 AITBC. All rights reserved.
- + diff --git a/website/docs/components.html b/website/docs/components.html index d12fa27f..20f1404e 100644 --- a/website/docs/components.html +++ b/website/docs/components.html @@ -1,16 +1,11 @@ - +© 2026 AITBC. All rights reserved.
- + diff --git a/website/docs/explorer-web.html b/website/docs/explorer-web.html index 260d2fdb..65d365b7 100644 --- a/website/docs/explorer-web.html +++ b/website/docs/explorer-web.html @@ -1,16 +1,11 @@ - +POST /v1/jobs
-Host: 127.0.0.1:8000
+Host: 127.0.0.1:18000
Content-Type: application/json
X-Api-Key: ${CLIENT_API_KEY}
@@ -131,7 +126,7 @@ X-Api-Key: ${CLIENT_API_KEY}
}
Coordinator Service (Port 8000):
+Coordinator Service (Port 18000):
POST /v1/jobs/assign
-Host: 127.0.0.1:8010
+Host: 127.0.0.1:18001
Content-Type: application/json
X-Api-Key: ${ADMIN_API_KEY}
@@ -203,7 +198,7 @@ X-Api-Key: ${ADMIN_API_KEY}
Miner Daemon (Port 8015):
+Miner Daemon (Port 18001):
POST /v1/jobs/job_123456/complete
-Host: 127.0.0.1:8000
+Host: 127.0.0.1:18000
Content-Type: application/json
X-Miner-Key: ${MINER_API_KEY}
@@ -308,7 +303,7 @@ X-Miner-Key: ${MINER_API_KEY}
HTTP Request:
GET /v1/jobs/job_123456
-Host: 127.0.0.1:8000
+Host: 127.0.0.1:18000
X-Api-Key: ${CLIENT_API_KEY}
Response:
@@ -358,19 +353,19 @@ Cost: 0.25 AITBC
Coordinator
- 8000
+ 18000
HTTP/REST
Job management, API gateway
Blockchain Node
- 8006
+ 26657
JSON-RPC
Transaction processing, consensus
Miner Daemon
- 8010
+ 18001
HTTP/REST
Job execution, GPU management
@@ -389,12 +384,12 @@ Cost: 0.25 AITBC
Message Flow Timeline
0s: User submits CLI command
└─> 0.1s: Python client called
- └─> 0.2s: HTTP POST to Coordinator (port 8000)
+ └─> 0.2s: HTTP POST to Coordinator (port 18000)
└─> 0.3s: Coordinator validates and creates job
- └─> 0.4s: RPC to Blockchain (port 8006)
+ └─> 0.4s: RPC to Blockchain (port 26657)
└─> 0.5s: Transaction in mempool
└─> 1.0s: Job queued for miner
- └─> 2.0s: Miner assigned (port 8010)
+ └─> 2.0s: Miner assigned (port 18001)
└─> 2.1s: Miner accepts job
└─> 2.2s: Ollama request (port 11434)
└─> 14.7s: Inference complete (12.5s processing)
@@ -486,6 +481,6 @@ Cost: 0.25 AITBC
-
+
diff --git a/website/docs/full-documentation.html b/website/docs/full-documentation.html
index 4ba85512..a1905597 100644
--- a/website/docs/full-documentation.html
+++ b/website/docs/full-documentation.html
@@ -1,16 +1,11 @@
-
+
Full Documentation - AITBC
-
+
-
-
-
-
-
@@ -648,6 +643,6 @@ gosec ./...
-
+
diff --git a/website/docs/index.html b/website/docs/index.html
index fe4454e1..316c0e25 100644
--- a/website/docs/index.html
+++ b/website/docs/index.html
@@ -1,12 +1,12 @@
-
+
-
-
-
-
+
+
+
+
Documentation - AITBC
@@ -227,6 +227,6 @@
});
-
+
diff --git a/website/docs/marketplace-web.html b/website/docs/marketplace-web.html
index 17fce3d6..952e2caf 100644
--- a/website/docs/marketplace-web.html
+++ b/website/docs/marketplace-web.html
@@ -1,16 +1,11 @@
-
+
Marketplace Web - AITBC Documentation
-
+
-
-
-
-
-
@@ -125,8 +120,8 @@ npm run preview
Environment Configuration
# .env.local
-VITE_API_URL=http://localhost:8000
-VITE_WS_URL=ws://localhost:8015
+VITE_API_URL=http://localhost:18000
+VITE_WS_URL=ws://localhost:18001
VITE_NETWORK=mainnet
VITE_MOCK_DATA=false
@@ -175,7 +170,7 @@ POST /v1/jobs
}
// WebSocket for live updates
-ws://localhost:8015/ws
+ws://localhost:18001/ws
Blockchain RPC
// Get transaction status
@@ -260,6 +255,6 @@ docker run -d \
-
+
diff --git a/website/docs/miners.html b/website/docs/miners.html
index d8ffb132..bdda8efb 100644
--- a/website/docs/miners.html
+++ b/website/docs/miners.html
@@ -1,17 +1,12 @@
-
+
Miner Documentation - AITBC
-
+
-
-
-
-
-
-
+
@@ -375,6 +370,6 @@ nano ~/.aitbc/miner.tomlAgents use isolated smart contract wallets to bid for GPU compute time independently based on task priority.
-Seamlessly process text, image, audio, and video via high-speed WebSocket streams on global edge nodes.
-Agents utilize IPFS/Filecoin for scalable, off-chain RAG vector embeddings, secured by on-chain ZK-Proofs.
-Multi-region edge nodes, Geographic load balancing, Dispute resolution contracts
+Research consortium, sharding prototypes, ZK applications, and global expansion
OpenClaw Autonomous Economics, Decentralized AI Memory, Developer Ecosystem Grants
+Decentralized infrastructure, AI automation, and global standards
Open governance, educational programs, and long-term preservation
+