A server-rendered, bilingual redesign of the Rural Development and Panchayat Raj Department, Government of Karnataka website. It keeps the department’s public content structure while presenting it through a modern, formal, information-dense interface.
Project status: Public-facing redesign prototype built from official public information. This repository is not the official Government of Karnataka website.
- English (
/en) and Kannada (/kn) routes with page-preserving language switching - SSR homepage, section indexes, detail pages, search, contact, and public policies
- Real public notices, documents, services, helplines, and official outbound links
- Category filtering for information-dense sections
- WCAG-focused keyboard navigation, visible focus, resizable text, high contrast, reduced motion, semantic landmarks, and automated axe checks
- Local official Government of Karnataka emblem and RDPR programme photographs
- Route metadata, localized sitemap, robots rules, and GovernmentOrganization JSON-LD
- Next.js 16 App Router and React 19
- TypeScript
- Tailwind CSS 4
- Vitest, Testing Library, and axe-core
| Route | Purpose |
|---|---|
/en, /kn |
Localized homepages |
/[locale]/[section] |
Department, Panchayat Raj, rural development, documents, services, and media indexes |
/[locale]/[section]/[slug] |
Public information and document detail pages |
/[locale]/search?q=... |
Server-rendered content search |
/[locale]/contact |
Department contact channels and helplines |
/[locale]/policies/[policy] |
Accessibility and privacy policies |
Use Node.js 20.9 or newer.
npm ci
npm run devOpen http://localhost:3000; the locale proxy redirects to /en by default.
npm run verifyIndividual checks are also available:
npm run lint
npm run typecheck
npm run test -- --run
npm run buildThe full verification command checks linting, generated route types, all component/content/accessibility tests, and the optimized production build.
app/ Next.js routes, metadata, sitemap, robots, and global design tokens
components/ Homepage, content pages, search, navigation, and accessibility controls
content/ Curated English and Kannada public-information catalogue
lib/ Content lookup, search, localization, and route helpers
public/ Local imagery and official visual assets
tests/ Unit, accessibility, routing, search, content, SEO, and smoke tests
docs/ Source inventory and design documentation
Public information is stored as a curated bilingual snapshot in content/. Runtime page rendering does not scrape the legacy site. Each item keeps a verified official source URL so visitors can open the original government document or authorised service.
The snapshot date and source inventory are documented in docs/content-sources.md. Deployment configuration is intentionally left open for the hosting environment selected later.
Department names, public notices, official links, programme information, photographs, and government marks remain the property of their respective public authorities. They are included here solely to demonstrate the redesigned public-service experience.

