Files
hackerspace.sh/app/(resources)/resources/page.tsx
T
Moheeb Zara 7e15dd1e63 feat: bake hackerspace-sh subsite into the management app
Ports the existing hackerspace.sh Vue site (sibling repo) into this
codebase as a route group `app/(resources)/` so a single domain serves
both the public research / games subsite and the authenticated
management app.

Routes added (all public, all prerendered):
  /resources         landing page (the original HomePage.vue)
  /zine              iframe to the printable hackerspace zine
  /governance        iframe to Governance in a Box
  /space-after-dark  iframe to the isometric exploration game
  /proposal-duel     iframe to the proposal-debate game
  /atlas             iframe to the bundled atlas.html (2.2 MB)

The individual resource paths match the originals exactly so existing
deep links and bookmarks survive the domain switch-over.

Ports six Vue components to React: Wordmark, SpaceIcon, TraceIcon,
CubeIcon, KeyIcon, GridIcon, PromptIcon, AtlasLogo, ProjectCard,
IframeWrapper. CSS scoped under `.resources-root` so the dark IBM Plex
Mono / Libre Baskerville theme cannot bleed into the management app's
shadcn design system. Fonts loaded via next/font/google. The 2.2 MB
atlas.html lives in /public.

proxy.ts adds the six routes plus /atlas.html to PUBLIC_ROUTES so
anonymous visitors can reach them without redirecting to /login.

The management landing page links to /resources twice: a "Resources"
nav link, and a callout under the CTA buttons ("Not running a space?
Read the hackerspace research and games").
2026-05-14 15:18:54 -07:00

154 lines
5.7 KiB
TypeScript

import Link from 'next/link'
import { ProjectCard } from '@/components/resources/project-card'
import {
Wordmark,
PromptIcon,
SpaceIcon,
TraceIcon,
CubeIcon,
KeyIcon,
GridIcon,
} from '@/components/resources/icons'
import { AtlasLogo } from '@/components/resources/atlas-logo'
export const metadata = {
title: 'hackerspace.sh — projects',
description:
'How hackerspaces actually work: research, governance frameworks, games, and a global atlas of community workshops.',
}
export default function ResourcesLandingPage() {
return (
<>
<header>
<div className="resources-container">
<div className="resources-header-inner">
<Link href="/resources" className="resources-site-title" aria-label="hackerspace.sh">
<Wordmark />
</Link>
<nav className="resources-header-links">
<a href="https://github.com/virgilvox">GitHub</a>
<a href="https://hackster.io/virgilvox">Hackster</a>
<Link href="/" className="resources-header-link-accent">
Manage your space →
</Link>
</nav>
</div>
</div>
</header>
<main>
<div className="resources-container">
<section className="resources-hero">
<div className="resources-hero-content">
<h1 className="resources-hero-title">
How <em>hackerspaces</em> actually work
</h1>
<PromptIcon className="resources-hero-prompt" />
</div>
<p className="resources-hero-sub">
The dynamics, the drama, the governance patterns that make or break community
workshops. Research turned into tools you can use.
</p>
</section>
<section>
<div className="resources-section-header">
<span className="resources-section-label">Projects</span>
<span className="resources-section-count">06 tools</span>
</div>
<div className="resources-projects">
<ProjectCard
to="/atlas"
num="01"
title="Hackerspace Atlas"
description="An interactive map of hackerspaces around the world. Find active spaces, discover closed ones, and explore the global maker community network."
type="Map · Global"
featured
visual={<AtlasLogo />}
/>
<ProjectCard
to="/space-after-dark"
num="02"
title="The Space After Dark"
description="An isometric exploration game set in a hackerspace at night. Talk to the regulars — each one an archetype you'll recognize."
type="Game · 6 characters"
visual={<CubeIcon />}
/>
<ProjectCard
to="/proposal-duel"
num="03"
title="Proposal Duel"
description="Fallout-style dialogue combat for hackerspace governance. You have a proposal. Someone opposes it. Survive the meeting."
type="Game · 5 opponents"
visual={<TraceIcon />}
/>
<ProjectCard
to="/zine"
num="04"
title="The Hackerspace Game"
description="A printable zine covering archetypes, trust dynamics, and the lifecycle of community spaces. Based on research from HeatSync Labs, Noisebridge, Hackerspace Gent, and years of watching spaces rise and fall."
type="Zine · 12 pages"
visual={<SpaceIcon />}
/>
<ProjectCard
href="https://hackerspacegame.netlify.app/"
external
num="05"
title="Interactive Learner"
description="Nicky Case-style simulations for hackerspace dynamics. Tweak member ratios, watch trust networks form and collapse, run governance scenarios."
type="Web App · 8 chapters"
visual={<GridIcon />}
/>
<ProjectCard
to="/governance"
num="06"
title="Governance in a Box"
description="Templates and frameworks for running a hackerspace. Do-ocracy guidelines, conflict resolution, burnout prevention, succession planning. Fork it and make it yours."
type="Resource Kit"
featured
visual={<KeyIcon />}
/>
</div>
</section>
<section className="resources-author">
<div className="resources-author-content">
<span className="resources-author-label">Made by</span>
<h2 className="resources-author-name">Moheeb Zara</h2>
<p className="resources-author-bio">
Hardware hacker, new media artist, maker community advocate
</p>
</div>
<a href="https://hack.build" className="resources-author-link">
hack.build
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth={1.5}>
<path d="M4 12L12 4M12 4H6M12 4v6" />
</svg>
</a>
</section>
</div>
</main>
<footer>
<div className="resources-container resources-footer-inner">
<p>
A project from{' '}
<a href="https://heatsynclabs.org">HeatSync Labs</a>. Run your own space?{' '}
<Link href="/">Manage it here →</Link>
</p>
<nav className="resources-footer-links">
<a href="https://github.com/virgilvox">Source</a>
</nav>
</div>
</footer>
</>
)
}