You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.btn .btn-primary/* Red filled CTA */
.btn .btn-secondary/* White outlined */
.btn .btn-ghost/* Transparent */
.btn .btn-white/* White on dark bg */
.btn .btn-outline-white/* Ghost on dark bg */
.btn-sm/ .btn-lg/* Size modifiers */
Form Classes
.form-input/* Text input */
.form-select/* Dropdown */
.form-textarea/* Multi-line */
.form-label/* Field label */
.form-error/* Validation error */
Card Classes
.card/* Base card */
.card-hover/* Adds lift on hover */
# 1. Extract archive
tar -xzf cra-foundation.tar.gz &&cd cra-foundation
# 2. Install dependencies
npm install
# 3. Set up environment
cp .env.local.example .env.local
# 4. Start dev server
npm run dev
# → http://localhost:3000# 5. Production build
npm run build && npm start
All Routes
Route
Type
Description
/
Static
Homepage
/about
Static
Story, mission, board, awards
/programs
Static
All 8 programs
/donate
Static
Multi-step donation form
/sponsor
Static
Child profiles + sponsorship
/volunteer
Static
Roles + registration
/news
Static
News listing
/news/[id]
Dynamic
Article detail
/impact
Static
Stats + timeline + stories
/gallery
Static
Filterable photo grid
/contact
Static
Form + map + bank details
/admin
Static
Admin dashboard UI
/auth/login
Static
Admin login
/privacy
Static
Privacy policy
/terms
Static
Terms of use
Production Checklist
Fill .env.local with real credentials
Integrate Paystack or Flutterwave for live payments
Set up transactional email (Resend recommended)
Add real photography to /public/images/
Implement proper auth (NextAuth.js with credentials provider)
Connect a database (PostgreSQL + Prisma recommended)