A modern, interactive calendar web application built with Next.js and Tailwind CSS. This app allows users to view, create, edit, and delete events in a weekly calendar view, with a clean and responsive UI.
- Weekly Calendar View: See your week at a glance, with time slots and days clearly displayed.
- Event Management:
- Add new events by clicking on a day in the mini calendar or the main view.
- Edit or delete existing events directly from the calendar.
- Event details include title, description, time, date, color, location, attendees, and organizer.
- Persistent Storage: Events are saved in your browser's localStorage, so your data stays even after a refresh.
- Responsive Design: Works well on both desktop and mobile devices.
- Mini Calendar Sidebar: Quickly navigate to any day of the week.
- Theming: Uses Tailwind CSS for a modern, accessible look.
- AI Productivity Popup: A playful popup suggests music for focus if your day is light on meetings.
- Clone the repository:
git clone https://github.com/rafi983/My-Calendar cd My-Calendar
- Install dependencies:
pnpm install # or npm install # or yarn install
- Run the development server:
pnpm dev # or npm run dev # or yarn dev
- Open http://localhost:3000 in your browser to see the app.
app/
page.tsx
: Main calendar page and logic.globals.css
: Global styles (Tailwind CSS).layout.tsx
,loading.tsx
: App shell and loading UI.
public/
: Static assets (images, logos, etc).tailwind.config.js
,postcss.config.mjs
: Tailwind and PostCSS configuration.tsconfig.json
: TypeScript configuration.package.json
: Project metadata and scripts.
- Event Colors: You can pick a color for each event.
- Attendees: Add multiple attendees by separating emails with commas.
- Organizer: Specify the event organizer.
- Events are only stored locally (in your browser). There is no backend or cloud sync.
- No authentication or user accounts.
- Only a weekly view is implemented (no full month/year view).
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is open source and available under the MIT License.
- Next.js
- Tailwind CSS
- Lucide Icons
- Unsplash for demo background images
Made with ❤️ for productivity lovers.