Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 2.09 KB

File metadata and controls

57 lines (40 loc) · 2.09 KB

Web Directories — Consolidation Guide

The repository contains two web directories, each with a distinct purpose. They are intentionally separate — do not merge them.

Directory Map

Directory Purpose Tech Deploys To
website/ SDK docs, tutorials & marketing site Vanilla HTML/CSS/JS SPA Cloudflare Workers: sdk.pumpk.it
pumpfun-site/ pump.fun UI design template Vanilla HTML/CSS/JS (4 pages) Cloudflare Workers: demo.pumpk.it

When to Use Each

  • Building SDK docs or landing pages?website/
  • Designing pump.fun-style UI mockups?pumpfun-site/

Quick Start

Both are static sites with no build step:

# SDK docs site
cd website && npx serve .

# pump.fun design template
cd pumpfun-site && npx serve .

website/ reads the repository's markdown from docs/ and tutorials/, which only sits beside the site after node scripts/build-site.mjs assembles dist-site/ (that build also regenerates website/data/manifest.json, the tutorial index and stats the site reads). Serving website/ directly still works: the reader falls back to the copies on GitHub. To exercise the bundled path, run the build and npx serve dist-site. See website/README.md for the reader's routes and shortcuts.

Color Palettes

Each site uses a different green accent by design:

Site Primary Green Background Purpose
website/ #00ff88 #0a0a0f SDK branding — bright mint
pumpfun-site/ #7bff69 #0e0e16 Matches pump.fun UI

Security Headers

Both vercel.json configs include:

  • X-Content-Type-Options: nosniff
  • X-Frame-Options: DENY
  • Referrer-Policy: strict-origin-when-cross-origin
  • Cache headers for static assets (CSS/JS)

Related

  • live/ — Standalone browser dashboards (token launches, trades, vanity generator)
  • websocket-server/ — Real-time data relay for the live dashboards