A clean React + Next.js student project that shows the live Kabul time, Afghan calendar date, and extra timezone details.
- Next.js App Router
- React + TypeScript
- Live Kabul time using
Asia/Kabul - 12-hour clock format, for example
03:20 PM - Afghan calendar date
- Saturday as the start of the week
- Day/night background switching
- Responsive layout for mobile, tablet, and desktop
- Expandable details panel
npm install
npm run devOpen:
http://localhost:3000npm run build
npm startapp/page.tsx
app/globals.css
components/ClockApp.tsx
lib/api.ts
lib/date.ts
lib/types.ts