Skip to content

IISERM/iteron-iiserm.github.io

 
 

Repository files navigation

Iteron Website

This repository contains the Astro-based website for Iteron: The Game of Trust and Strategy.

Use this README as the starting point when you begin working on the project.

What This Project Is

  • Framework: Astro (static-first)
  • Styling: Scoped CSS in Astro components + global tokens in layout
  • Main app shell: Navbar + page sections + footer
  • Target: Fast, readable, design-consistent informational site

Quick Start

  1. Install dependencies.
npm install
  1. Run local development server.
npm run dev
  1. Build production output.
npm run build
  1. Preview production build.
npm run preview

Website Flow

Primary Navigation

Navigation is defined in src/components/common/Navbar.astro:

  • Home: /
  • Updates: /updates
  • Submission: /submissions
  • Results: /results
  • About: /about

Home Page Composition

The landing page is composed in src/pages/index.astro in this order:

  1. HeroBanner
  2. IntroCard
  3. Legacy
  4. Strategy
  5. Phases
  6. Videos

Global shell for all pages lives in src/layouts/Layout.astro, with src/components/common/Navbar.astro and src/components/common/Footer.astro.

Important Current Behavior

Hero First-Load Animation

Hero behavior is implemented in src/components/sections/HeroBanner.astro:

  • Hands are eager-loaded and prioritized because they are above the fold.
  • First-visit animation waits for page load and hand image readiness.
  • Hero visuals remain hidden until ready state is applied to prevent placeholder or pre-animation flashes.

Typography Strategy

Fonts are self-hosted through npm dependencies (fontsource) and imported in src/layouts/Layout.astro. This avoids third-party font fetch delays and reduces visible font swapping.

Documentation Map

Read these files before making non-trivial changes:

  1. Architecture decisions and guardrails: documentation/ARCHITECTURE.md
  2. Component ownership and implementation notes: documentation/COMPONENTS.md
  3. Contributor workflow and QA checklist: documentation/DEVELOPMENT.md
  4. Search and indexing implementation details: documentation/SEO.md

Typical Contribution Flow

  1. Read the docs above relevant to your change scope.
  2. Identify whether your change is route-level, section-level, or global.
  3. Implement minimal targeted changes.
  4. Validate desktop and mobile behavior.
  5. Run build.
  6. Update documentation if behavior or conventions changed.

Project Structure

Notes For New Maintainers

  • Keep visual language consistent with the existing brutalist-vaporwave direction.
  • Avoid adding client-side scripts unless they solve a concrete interaction need.
  • Treat first-load experience as a feature: no flashing placeholders, no jarring layout shifts.
  • Keep docs in sync with behavior changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Astro 99.4%
  • Other 0.6%