Skip to content

hjohns/eric

Repository files navigation

A History of Papua New Guinea – Project Site

This repository powers the promotional site for Eric Johns’ book A History of Papua New Guinea from Prehistory to Independence. The live site is available at http://eric.johns.com.au.

What’s on the site

  • Hero & Overview – introduces the book launch and the mission to place copies in PNG classrooms.
  • The Book – highlights the 635-page volume, chapter previews, and publication journey.
  • Support – form for sponsors, educators, and community members to register interest.
  • Meet the People – profiles of Eric Johns, publisher Chris Roering, and UPNG lecturer Keimelo Gima.
  • Videos – embedded YouTube series featuring PNG history segments.

All of the storytelling content is written in Markdown under src/content/sections, making updates straightforward without touching layout files.

Visual preview

Hero banner Book interior Support form
Crowd celebrating Papua New Guinea Chapter spread from the book Support form example
Author profile Additional titles Transparent promo
Eric Johns portrait Dame Alice Wedega cover Angled book promo

Local development

npm install
npm run dev

Visit http://localhost:4321/ to preview changes with hot reload.

Production build

npm run build
npm run preview

Static assets are written to dist/ and deployed via GitHub Actions to GitHub Pages.

Tech stack

Built with Astro, Tailwind CSS, and TypeScript. Continuous deployment uses GitHub Actions and GitHub Pages.