Skip to main content

@hyperscape/website

The Hyperscape marketing website built with Next.js 15, featuring scroll animations, 3D effects, and responsive design.

Tech Stack

Project Structure

Pages

Landing Page (/)

Features:
  • Hero section with logo, tagline, and CTA button
  • Features grid with AI agents, classic MMORPG, and economy highlights
  • Call-to-action banner with gradient overlay
  • Responsive design for mobile and desktop

$GOLD Token Page (/gold)

Features:
  • Two-column hero layout with token image
  • Scroll-style design with parchment aesthetic
  • Token details (1 $GOLD = 1 gold in-game)
  • Features grid (Play-to-Earn, Fair Launch, Community Driven)
  • How It Works section
  • CTA section with banner background

Components

Background

Reusable background component with customizable image and opacity:
Features:
  • Horizontal gradient overlay
  • Fixed background attachment
  • Configurable opacity
  • Per-page customization
Navigation header with logo and links:
Links:
  • Play Now (game URL)
  • Docs (documentation)
  • $GOLD (token page)
  • Discord, Twitter, GitHub (social)
Site footer with links and social icons:
Sections:
  • Product links (Play, Docs, GitHub)
  • Community links (Discord, Twitter)
  • Legal links (Terms, Privacy)
  • Copyright notice

Hero

Landing page hero with staggered animations:
Features:
  • Logo with glow effect
  • Animated tagline
  • CTA button with hover effects
  • Responsive layout

Features

Features grid with icon cards:
Highlights:
  • AI Agents (autonomous NPCs)
  • Classic MMORPG (RuneScape-inspired)
  • Player Economy (trading, banking)

CTA

Call-to-action section with banner:
Features:
  • Banner background image
  • Gradient overlay
  • Heading and description
  • CTA button

GoldToken

Complete $GOLD token page:
Sections:
  • Hero with two-column layout
  • Token details
  • Features grid
  • How It Works
  • CTA section

Styling

Theme Configuration

Custom theme defined in globals.css:

Utility Classes

Animations

Environment Variables

Development

Local Development

The website runs on port 3334 by default.

Build

Generates static export in out/ directory.

Type Checking

TypeScript build errors are ignored for R3F types (jsx: preserve incompatibility). The code works at runtime.

Deployment

The website is configured for static export:
Deployment Options:
  • Cloudflare Pages
  • Vercel
  • Netlify
  • Any static hosting

Fonts

Cinzel (Display)

Serif font for headings and titles:

Rubik (Body)

Sans-serif font for body text:

SEO

Metadata

Viewport

Accessibility

  • Semantic HTML structure
  • ARIA labels on interactive elements
  • Keyboard navigation support
  • Reduced motion support via prefers-reduced-motion
  • Color contrast ratios meet WCAG AA standards

Performance

  • Static site generation (no server runtime)
  • Image optimization disabled (static export)
  • Font preloading with display: swap
  • CSS-only animations for low-end devices
  • GPU detection for 3D effects

Browser Support

  • Chrome/Edge 90+
  • Firefox 88+
  • Safari 14+
  • Mobile browsers (iOS Safari, Chrome Mobile)