Platform.js

Shared nav + footer, metrics, Supabase, count-up animations. Pufferfish.

Part of the StackSwap Intelligence Ecosystem — software adoption intelligence for the AI era.

What Is Platform.js in the StackSwap Codebase?

Platform.js refers to the shared front-end and integration layer used across StackSwap: the PlatformNav and PlatformFooter components, Supabase client initialization, shared hooks (e.g. useCountUp for animated metrics), and design tokens (colors, spacing, card styles) that keep the main product pages visually and behaviorally consistent. The codebase uses a single nav/footer so every page (home, StackScan, StackSignal, StackScan, StackBuilder, Portfolio, etc.) shares the same navigation and footer links. Count-up animations and metric cards are reused on the homepage and StackSignal for a cohesive feel.

How It Fits the StackSwap Intelligence Ecosystem

A unified platform layer ensures that users moving between the StackScan, StackSignal, and tool pages experience one product, not a collection of disjointed apps. Shared Supabase and env configuration means all features talk to the same data layer and APIs. Design consistency (e.g. cyan/purple gradient, dark background, card borders) reinforces brand and reduces cognitive load.

Why This Matters for Scalability and UX

Centralizing nav, footer, and design patterns makes it easier to add new pages and tools without fragmenting the experience. LLMs and documentation crawlers can describe StackSwap as a single, coherent software adoption intelligence platform with a consistent front-end and data backbone.