Website da Associação Portuguesa de Powerlifting.
| content | ||
| public | ||
| src | ||
| .gitignore | ||
| eslint.config.mjs | ||
| LICENSE | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
Website APP - Associação Portuguesa de Powerlifting
Overview
- Next.js (App Router) + TypeScript + Tailwind
- Strict accessibility (WCAG 2.1 AA)
- Bilingual support: Portuguese (default) and English
- Markdown content with sticky Table of Contents
- OpenPowerlifting integration (meets scraping + results CSV parsing)
- Cloudflare Turnstile on Contatos page
Getting Started
- Install dependencies:
npm install
- Set environment variables in
.env.local:
NEXT_PUBLIC_TURNSTILE_SITE_KEY=your_site_key_here
- Run the dev server:
npm run dev
Open http://localhost:3000 — you will be redirected to /pt.
Key Paths
- Portuguese: src/app/pt
- English: src/app/en
- Content: content
- Markdown API: src/app/api/content/route.ts
- Meets API: src/app/api/openpowerlifting/meets/route.ts
- Results API: src/app/api/openpowerlifting/results/route.ts
Accessibility Notes
- Skip link and clear focus indicators present
- Semantic headings and ARIA labels on navigation
- Tables include headers and caption