Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/SHIP-CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ asking to deploy. Skip a step only when it truly doesn't apply, and say which we
- **Hover help (test-enforced):** `public/js/ui/explain.js` needs `tool.<id>` or `scene.<id>`, or a HELP entry in `section-help-a.js` / `section-help-b.js`.
- **Section intro:** `public/js/section-help.js` if the tool has a console page.
- **Findings:** if it produces findings, wire `core/sink.js` attachSinkButton so they reach the Security Graph.
- **Hosting routes (test-enforced):** run `node scripts/sync-hosting-routes.mjs` after adding or removing a console page, Deck tool or scene, so firebase.json serves the app at its path; anything not listed answers a real 404.
- **Removal:** take it out of every place above, plus pins and saved state that might point at it (fall back cleanly, as with the retired Finance view).

## 2. Docs and in-product copy

- `public/js/docs.js`: Getting Started (if it changes what a product does), FAQ, Changelog (current line), Nexus CMD_GROUPS (Nexus commands), Security tab (if safety-relevant). Bump `UPDATED`.
- `public/js/landing.js`: feature/bento cards, FAQ answers, pricing plan feature lists, footer links.
- `public/index.html`: JSON-LD (`featureList`, descriptions), meta description if the headline offer changed.
- A new public (signed-out) page: add it to `public/js/site-meta.js` PAGES (its own title, description and canonical; the build writes `dist/pages/<slug>.html`), `public/sitemap.xml` and `public/llms.txt`, then run `node scripts/sync-hosting-routes.mjs`.
- `public/sitemap.xml` for any new public page; `public/robots.txt` only if crawl rules change.
- `public/js/darknode-chat.js` system prompt (the in-house assistant's description of the platform and its counts).
- `public/humans.txt` for large releases.
Expand Down
26 changes: 24 additions & 2 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@
"rewrites": [
{ "source": "/api/chat", "function": { "functionId": "chat", "region": "us-central1" } },
{ "source": "/version", "destination": "/version.txt" },
{ "source": "**", "destination": "/index.html" }
{ "regex": "^/features/?$", "destination": "/pages/features.html" },
{ "regex": "^/pricing/?$", "destination": "/pages/pricing.html" },
{ "regex": "^/faq/?$", "destination": "/pages/faq.html" },
{ "regex": "^/nexus/?$", "destination": "/pages/nexus.html" },
{ "regex": "^/security-knowledge/?$", "destination": "/pages/security-knowledge.html" },
{ "regex": "^/darknode-os/?$", "destination": "/pages/darknode-os.html" },
{ "regex": "^/government/?$", "destination": "/pages/government.html" },
{ "regex": "^/crosswalk/?$", "destination": "/pages/crosswalk.html" },
{ "regex": "^/terms/?$", "destination": "/pages/terms.html" },
{ "regex": "^/privacy/?$", "destination": "/pages/privacy.html" },
{ "regex": "^/acceptable-use/?$", "destination": "/pages/acceptable-use.html" },
{ "regex": "^/(?:console(?:/|$))?(?:(?:area|personal|enterprise)/[\\w-]+|check/[^/]+|tool-[a-z0-9-]+|accessreview|activity|addressintel|admin|adversary|adversaryplaybook|aegis|ai|all-tools|api|apifuzzer|apikeys|apispec|apitester|asnexplorer|assistant|attacksim|audit|awareness|backupready|beta|binanalyze|breachclock|breachlookup|caaudit|cheats|citadel|cloud|cloudspend|cloudtrail|coder|codescan|compliance|compliance-center|con|connections|cookieinspect|correlations|corstester|cracklab|credaudit|crosswalk|crucible|cryptotools|cspevaluator|cvesearch|cvetimeline|cvsscalc|cyberbriefing|cyberrange|darknetradar|dataflow|dataviz|deadlines|deception|device|dlguide|dlp|dmarcreports|dns|dnshunt|docs|domainguard|dossier|downloads|education|emailauth|emailheader|embedsdk|encoding|engine|engines|enterprise|evidence|exploitdb|exploitdev|favicon|fedcompliance|findings|firewall|fleetcomply|forensicstoolkit|ftimeline|fwaudit|ghdb|hashsuite|headeranalyzer|home|huntlab|hydra|iacscan|identitymatrix|incidentcost|incidents|inventory|invest|investigation|investigations|iocenrich|jml|k8saudit|leakprobe|learn|learndo|leetspeak|licenseaudit|loganalyze|loghunt|malclass|math|mcpconnect|memforensics|mobilesec|monitors|navarch|netexposure|netmap|networkscanner|networktools|nhi|oauthgov|oracle|osint|overview|packetanalyzer|packetcraft|payees|payloadgen|payloads|payloadstudio|pentestconsole|pentestreg|personal|phantom|phishtriage|plans|posture|privatecloud|privaudit|privesc|prometheus|proxyhunt|reconplanner|refs|regexlab|report|reports|reverseshell|riskreg|secdash|secgraph|secquiz|securitytxt|sentineleye|settings|setup|sigma|signins|snippets|socialeng|spectre|sslinspector|stego|strongroom|subdomains|supplychain|surface|targets|team|techfingerprint|threat|threatforest|threatmodel|tlsfleet|toolbox|toolkit|tools|urldissect|vanguard|veil|vendorrisk|vmlab|vpnaudit|vulndb|vulnimport|wayback|websockettester|wirelesslab|xsslab|yarabuilder|zerotrust)?/?$", "destination": "/index.html" }
],
"headers": [
{
Expand Down Expand Up @@ -81,7 +92,18 @@
"rewrites": [
{ "source": "/api/chat", "function": { "functionId": "chat", "region": "us-central1" } },
{ "source": "/version", "destination": "/version.txt" },
{ "source": "**", "destination": "/index.html" }
{ "regex": "^/features/?$", "destination": "/pages/features.html" },
{ "regex": "^/pricing/?$", "destination": "/pages/pricing.html" },
{ "regex": "^/faq/?$", "destination": "/pages/faq.html" },
{ "regex": "^/nexus/?$", "destination": "/pages/nexus.html" },
{ "regex": "^/security-knowledge/?$", "destination": "/pages/security-knowledge.html" },
{ "regex": "^/darknode-os/?$", "destination": "/pages/darknode-os.html" },
{ "regex": "^/government/?$", "destination": "/pages/government.html" },
{ "regex": "^/crosswalk/?$", "destination": "/pages/crosswalk.html" },
{ "regex": "^/terms/?$", "destination": "/pages/terms.html" },
{ "regex": "^/privacy/?$", "destination": "/pages/privacy.html" },
{ "regex": "^/acceptable-use/?$", "destination": "/pages/acceptable-use.html" },
{ "regex": "^/(?:console(?:/|$))?(?:(?:area|personal|enterprise)/[\\w-]+|check/[^/]+|tool-[a-z0-9-]+|accessreview|activity|addressintel|admin|adversary|adversaryplaybook|aegis|ai|all-tools|api|apifuzzer|apikeys|apispec|apitester|asnexplorer|assistant|attacksim|audit|awareness|backupready|beta|binanalyze|breachclock|breachlookup|caaudit|cheats|citadel|cloud|cloudspend|cloudtrail|coder|codescan|compliance|compliance-center|con|connections|cookieinspect|correlations|corstester|cracklab|credaudit|crosswalk|crucible|cryptotools|cspevaluator|cvesearch|cvetimeline|cvsscalc|cyberbriefing|cyberrange|darknetradar|dataflow|dataviz|deadlines|deception|device|dlguide|dlp|dmarcreports|dns|dnshunt|docs|domainguard|dossier|downloads|education|emailauth|emailheader|embedsdk|encoding|engine|engines|enterprise|evidence|exploitdb|exploitdev|favicon|fedcompliance|findings|firewall|fleetcomply|forensicstoolkit|ftimeline|fwaudit|ghdb|hashsuite|headeranalyzer|home|huntlab|hydra|iacscan|identitymatrix|incidentcost|incidents|inventory|invest|investigation|investigations|iocenrich|jml|k8saudit|leakprobe|learn|learndo|leetspeak|licenseaudit|loganalyze|loghunt|malclass|math|mcpconnect|memforensics|mobilesec|monitors|navarch|netexposure|netmap|networkscanner|networktools|nhi|oauthgov|oracle|osint|overview|packetanalyzer|packetcraft|payees|payloadgen|payloads|payloadstudio|pentestconsole|pentestreg|personal|phantom|phishtriage|plans|posture|privatecloud|privaudit|privesc|prometheus|proxyhunt|reconplanner|refs|regexlab|report|reports|reverseshell|riskreg|secdash|secgraph|secquiz|securitytxt|sentineleye|settings|setup|sigma|signins|snippets|socialeng|spectre|sslinspector|stego|strongroom|subdomains|supplychain|surface|targets|team|techfingerprint|threat|threatforest|threatmodel|tlsfleet|toolbox|toolkit|tools|urldissect|vanguard|veil|vendorrisk|vmlab|vpnaudit|vulndb|vulnimport|wayback|websockettester|wirelesslab|xsslab|yarabuilder|zerotrust)?/?$", "destination": "/index.html" }
],
"headers": [
{
Expand Down
Binary file added public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 25 additions & 1 deletion public/css/landing-polish.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ html body.landing .lf-bottom {
/* ---- Dedicated pages (/features, /pricing, /faq ...) ---- */
/* Public legal pages (/terms, /privacy, /acceptable-use): readable long-form text */
html body.landing .dn-legal { max-width: 820px; padding: 8px 0 56px; color: rgb(39, 39, 42); font-size: .95rem; line-height: 1.7; }
html body.landing .dn-legal h3 { font-size: 1.6rem; margin: 8px 0 12px; color: rgb(15, 23, 42); }
html body.landing .dn-legal h1, html body.landing .dn-legal h3 { font-size: 1.6rem; margin: 8px 0 12px; color: rgb(15, 23, 42); }
html body.landing .dn-legal h4 { font-size: 1.02rem; margin: 26px 0 8px; color: rgb(15, 23, 42); }
html body.landing .dn-legal ul { padding-left: 20px; }
html body.landing .dn-legal li { margin: 4px 0; }
Expand All @@ -99,3 +99,27 @@ html body.landing #nav-start { display: inline-flex !important; align-items: cen
html body.landing .dn-notfound .wrap { max-width: 640px; margin: 0 auto; padding: 14vh 24px 16vh; box-sizing: border-box; }
html body.landing .dn-notfound h1 { font-size: 2rem; margin: 0 0 12px; color: rgb(15, 23, 42); }
html body.landing .dn-notfound p { margin: 0 0 24px; color: rgb(63, 63, 70); line-height: 1.6; overflow-wrap: anywhere; }
/* "Log in" is a button (keyboard reachable): no native button chrome */
html body.landing button#nav-signin { background: #fff; font-family: inherit; font-size: .85rem; line-height: 1; cursor: pointer; }
/* Phones: Products / Features / Resources fold into one Menu panel (auth.js showLanding) */
html body.landing .nav-mm-btn { display: none; }
html body.landing .nav-mm[hidden] { display: none !important; }
@media (max-width: 560px) {
html body.landing .nav-mm-btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; order: 1; width: 36px; height: 36px; padding: 0; margin-left: 2px; border: 1px solid #d4d4d4; border-radius: 6px; background: #fff; color: #18181b; cursor: pointer; }
html body.landing .nav-mm-btn[aria-expanded="true"] { background: #f5f5f5; }
html body.landing .nav-mm { position: fixed; left: 0; right: 0; top: 56px; bottom: 0; z-index: 1001; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-top: 1px solid #e5e5e5; padding: 4px 16px 32px; box-sizing: border-box; }
html body.landing .nav-mm-grp h2 { font-size: .8rem; font-weight: 600; color: #71717a; margin: 18px 4px 4px; }
html body.landing .nav-mm .nav-dd-item { padding: 10px 8px; }
html body.landing .nav-mm-acts { display: flex; gap: 10px; margin-top: 22px; }
html body.landing .nav-mm-acts .btn { flex: 1; height: 44px; justify-content: center; }
html.nav-mm-open, html.nav-mm-open body { overflow: hidden; }
}
/* Narrow phones: "Log in" moves into the Menu so the header never overflows */
@media (max-width: 389px) {
html body.landing #nav-signin { display: none !important; }
}

/* Public tool and check pages: their own bar carries the top spacing (pro-theme .dn-pubtool /
domain-check .dn-checkpage set padding-top:0, which the landing .section padding outranked). */
html[data-style="pro"] body.landing .section.dn-pubtool,
html[data-style="pro"] body.landing .section.dn-checkpage { padding-top: 0 !important; }
9 changes: 4 additions & 5 deletions public/humans.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/* TEAM */
Platform: Darknode
Category: Cybersecurity Education
Category: Cybersecurity
Site: https://darknode.ai
Description: Interactive cybersecurity education platform with AI tutoring, practice labs, and 164+ study tools.
Standards: NIST NICE Framework, NSA CAE-CD, CompTIA Security+
Audience: Students, educators, IT professionals, security analysts
Description: Find the real risks in your domain, code and cloud: a free domain security check, then vulnerabilities in code, dependencies and cloud configuration ranked by live exploitation data.
Contact: contact@darknode.ai

/* SITE */
Software: Firebase, Vanilla JS, CesiumJS, Ollama AI
Software: Firebase Hosting, Cloudflare Workers, vanilla JavaScript
Binary file added public/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading