This file provides guidance to WARP (warp.dev) when working with code in this repository.
Transfer Agent Protocol (TAP) frontend and landing page - a Next.js site using styled-components for styling.
# Development server
pnpm dev
# Production build (includes sitemap generation)
pnpm build
# Start production server
pnpm start
# Type checking
pnpm typecheck
# Linting
pnpm lint- Framework: Next.js (Pages Router)
- Styling: styled-components with ThemeProvider
- Font: IBM Plex Mono (loaded via next/font)
src/pages/- Next.js pages (_app.tsxwraps all pages with theme/layout)src/components/- Reusable styled componentstheme.tsx- Design tokens (colors, fontSizes, lineHeights, borderRadius)typography.tsx- Text components (H1, H2, H3, P, etc.)layout.tsx- Main layout wrapper with Navbar and Footerwrappers.tsx- Layout containers
The theme is defined in src/components/theme.tsx and typed in styled.d.ts. Available properties:
colors: background, main, input, text, accent, outlinefontSizes: H1, H2, H3, large, medium, baseline, smalllineHeights: H1, H2, H3, PborderRadius: none, main
Note: fontWeight only has 'thin', 'normal', and 'bold' - no 'light' property.
PR titles should follow Conventional Commits (e.g., feat(ui): add new component).