Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

277 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✨ NewGen

A static brochure site for premium Intel Eventide, Sony, ASUS, Bang & Olufsen, and Aerospace experiences β€” every page lives at a real file path, with a shared collapsible navigator.

Platform Frontend Status License


πŸ“š Table of Contents


🌌 Overview

NewGen is a static site where the address bar path is the file path. Every route is a real folder with an index.html, so pages are directly linkable, crawlable, and refresh-safe with no client-side routing tricks:

  • NewGen Conglomerate β€” Root (/) landing page: the Manifesto, all twelve founding companies (Intel, Lightmatter, Sony, ASUS/ROG, OPPO, Ford, Bang & Olufsen, ShallXR, Play For Dream, Noctua, Hollyland, Shimoda), Mission & Vision, The Spearhead, and a Product Index β€” see NAVIGATION.md for the data schema behind it
  • Intel Eventide (/Intel/Eventide/) β€” Full processor architecture showcase with CPU, GPU, Tile, and Technology deep-dives
  • Sony a0, XCD-LED & CRT-VR (/Sony/...) β€” Professional camera and display systems
  • ASUS Ceralumenesium Sapphire (/ASUS/Ceralumenesium/) β€” Advanced material technology
  • Bang & Olufsen wH105 (/BangOlufsen/wH105/) β€” Audio
  • Aerospace STARSCRAMMERβ„’ (/Aerospace/STARSCRAMMER/) β€” Aerospace division

A shared navigator (assets/nav.js + assets/nav.css) is included by every page and injects the collapsible sidebar, so the global GUI survives direct navigation to any URL.


πŸš€ Features

  • πŸ“ True file-path routing β€” /Intel/Eventide/CPU/SolarEclipse/ is literally Intel/Eventide/CPU/SolarEclipse/index.html
  • 🎯 Hover-to-expand sidebar β€” Automatically expands on hover (52px β†’ 280px), collapses when you move away
  • 🎨 Icon-based navigation β€” Every company, product, category, and page has a unique emoji icon
  • πŸ—‚οΈ 4-level nested navigation β€” Company β†’ Product β†’ Category β†’ Individual Pages
  • ✨ Smooth animations β€” Cubic-bezier transitions for professional feel
  • πŸ”— Real links everywhere β€” Sidebar entries are plain <a> elements; no History API, no iframe shell
  • 🚫 Honest 404s β€” Unknown paths get 404.html (with randomized jokes); real pages never flash a 404
  • πŸ–₯️ Single local server (Server/server.js) with GitHub-Pages-style directory serving
  • πŸ“¦ No framework overhead (vanilla Node.js + HTML/CSS/JS)
  • πŸ“± Mobile responsive with slide-in sidebar (900px breakpoint)
  • 🧰 Verbose Windows launcher UX with structured startup diagnostics
  • πŸ›‘οΈ Launcher watchdog lifecycle (/__launcher/*) with close-tab countdown signaling (localhost only)

🎯 Navigation System

Hover-Based Collapsible Sidebar

The sidebar starts collapsed (52px width) and automatically expands to 280px when you hover over it. It is injected on every page by assets/nav.js, so it works no matter which URL you land on.

Features:

  • Auto-expand on hover β€” No clicking required
  • Smooth animations β€” 350ms cubic-bezier transitions
  • Icon indicators β€” Visual feedback for every navigation item
  • Nested categories β€” Support for unlimited hierarchy depth
  • URL-aware active state β€” The current page and its ancestors are highlighted and expanded automatically

Navigation Hierarchy

Company (e.g., Intel πŸ”·)
  └── Product (e.g., Eventide πŸ“˜)
      └── Subcategories
          β”œβ”€β”€ CPU Architectures πŸ–₯️
          β”‚   β”œβ”€β”€ Solar Eclipse β˜€οΈ
          β”‚   β”œβ”€β”€ Sunset Cove πŸŒ…
          β”‚   └── ...
          β”œβ”€β”€ GPU Architectures 🎨
          β”œβ”€β”€ Tiles 🧩
          └── Technologies ⚑

Adding New Navigation Items

To add new companies or brochures, create the route folder with an index.html and update the NAV_STRUCTURE and ICONS objects in assets/nav.js. See NAVIGATION.md for detailed instructions.


πŸ—‚οΈ Project Structure

NewGen/
β”œβ”€β”€ index.html                  # Root (/) landing page (NewGen Conglomerate)
β”œβ”€β”€ 404.html                    # 404 experience with rotating jokes
β”œβ”€β”€ NAVIGATION.md               # Navigation system documentation
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ nav.css                 # Shared navigator styles
β”‚   └── nav.js                  # Shared navigator (sidebar, active state, watchdog)
β”œβ”€β”€ Media/
β”‚   └── NewGenLogo.svg
β”œβ”€β”€ Server/
β”‚   └── server.js               # Node.js static server (port 3000)
β”œβ”€β”€ start-newgen.bat            # Windows batch launcher
β”œβ”€β”€ start-newgen.ps1            # PowerShell launcher
β”œβ”€β”€ Intel/
β”‚   └── Eventide/
β”‚       β”œβ”€β”€ index.html          # Brochure page (/Intel/Eventide/)
β”‚       β”œβ”€β”€ deepdive.css         # Shared deep-dive page chrome (back button, body)
β”‚       β”œβ”€β”€ CPU/<Name>/index.html        # Self-contained deep-dive pages
β”‚       β”œβ”€β”€ SKU/<Id>/index.html
β”‚       β”œβ”€β”€ GPU/<Name>/index.html
β”‚       β”œβ”€β”€ Tile/<Name>/index.html
β”‚       β”œβ”€β”€ Technology/<Name>/index.html
β”‚       └── Media/
β”œβ”€β”€ Sony/
β”‚   β”œβ”€β”€ ILCE-0/index.html
β”‚   β”œβ”€β”€ XCD-LED/index.html
β”‚   └── CRT-VR/index.html
β”œβ”€β”€ ASUS/
β”‚   └── Ceralumenesium/index.html
β”œβ”€β”€ BangOlufsen/
β”‚   └── wH105/index.html
└── Aerospace/
    └── STARSCRAMMER/index.html

⚑ Quick Start

Prerequisites

Install (if needed)

npm install

Launch

node Server/server.js

Then open:

http://localhost:3000

🧰 Run Options

Standard (all platforms)

node Server/server.js

Windows CMD

start-newgen.bat

The batch launcher:

  • starts Server/server.js in CMD mode
  • delegates verbose startup logs and browser open flow to Server/server.js
  • opens the browser automatically (or reuses an already-running server)
  • keeps output and shutdown/watcher behavior centralized in one script

PowerShell

./start-newgen.ps1

Default server port is 3000.


🧠 Technology Stack

  • Runtime: Node.js (CommonJS)
  • Server: Native http, fs, and path modules
  • Frontend: HTML5, CSS3, vanilla JavaScript
  • Assets: SVG and static HTML brochure files

βš™οΈ How It Works

  1. Server/server.js starts a local HTTP server on port 3000.
  2. Directory URLs (for example /Intel/Eventide/) serve that folder's index.html; URLs without a trailing slash are redirected first, matching GitHub Pages behavior.
  3. Every page includes assets/nav.js, which injects the global sidebar, marks the current page active, and expands its ancestor categories.
  4. Sidebar entries are ordinary links β€” each click is a normal page load to a real path.
  5. Eventide deep-dive pages are self-contained index.html files β€” each bakes its own inline <style> and markup, sharing only deepdive.css for common page chrome (back button, body). No client-side content assembly.
  6. Unknown paths return 404.html with a 404 status and preserve the typed path for {PATH} jokes.
  7. Static assets and brochure files are served directly from disk.

πŸ€– Agent Readiness

The site is deliberately friendly to AI crawlers and agents:

  • /robots.txt β€” allows all crawlers, with explicit entries for AI crawlers (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, …), Content Signals (search=yes, ai-input=yes, ai-train=yes), and a sitemap reference
  • /sitemap.xml β€” all canonical routes; regenerate with node scripts/generate-sitemap.js after adding pages (the test suite fails if it goes stale)
  • /.well-known/agent-skills/index.json β€” Agent Skills Discovery index pointing at a site-navigation SKILL.md that explains the route model β€” every page's content is served directly in its index.html, no JavaScript required
  • WebMCP β€” pages expose list-site-pages and navigate-to-page tools via the experimental navigator.modelContext API when available

Not implemented because GitHub Pages cannot serve them: custom Link response headers, Accept: text/markdown content negotiation, and OAuth/API-catalog metadata (the site has no APIs). DNS-AID records would be configured at the DNS provider, not in this repo.


πŸ§ͺ Development Notes

  • npm test runs scripts/test-debug.js, a diagnostics test that:
    • verifies every route declared in assets/nav.js has a real index.html on disk
    • starts the local server and checks every route responds with HTTP 200
    • verifies no route still references the retired client-side deep-dive loader (pages are self-contained)
    • checks trailing-slash redirects and 404 behavior
    • validates watchdog endpoints (/__launcher/status, /__launcher/heartbeat, /__launcher/ping)
  • There is currently no configured linter/build pipeline in package.json.
  • This repository is focused on static brochure presentation; it deploys to GitHub Pages via .github/workflows/jekyll.yml.

πŸ‘₯ Credits & Authorship

This project README and development workflow are credited to:

  • You (project owner / author)
  • GitHub Copilot
  • Claude
  • Gemini
  • Codex

Thank you for shaping NewGen through human + AI collaboration.


πŸ“„ License

Licensed under the ISC License (see package.json).

Releases

Packages

Used by

Contributors

Languages