Website for the Eisenhower Fellowships Association of Sri Lanka — a React single-page app built with Vite.
- React 18 + Vite
- Hash-based client-side routing (no router library)
- Data driven via JSON files in
public/data/ - Styling via
src/index.css(Montserrat / Plus Jakarta Sans)
src/
App.jsx # Root component + hash router
components/ # One file per page/section
Header, Footer
Home, About, Fellowship
FellowsDirectory, YLPCohort
NewsList, NewsDetail
Contact
public/
data/ # fellows.json, news.json, ylp.json, committees.json
img/ # logos, hero, gallery, news images
index.html
vite.config.js
DESIGN.md # Design system reference (colors, typography, layout)
npm install
npm run devnpm run build # outputs to dist/
npm run preview # preview the build locallyAll navigation is hash-based (#/home, #/news, #/news/:slug, #/ylp/:year). No server config needed — works with static hosting.
Most content lives in public/data/:
fellows.json— EF Sri Lanka fellows directorynews.json— news articlesylp.json— Young Leaders Program cohortscommittees.json— committee members