Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 94 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,96 @@
# [Chirag Kular - Portfolio](https://ck4957.github.io/react-portfolio)
# Modern React Portfolio - Chirag Kular

## Deployment Steps:
> A modern, responsive portfolio showcasing front-end engineering expertise and component architecture.

npm run predeploy
npm run deploy
## 🚀 Modern Tech Stack

- **React 18** - Latest React with functional components and hooks
- **TypeScript-ready** - Modern development with type safety
- **Playwright** - Comprehensive E2E testing for cross-device compatibility
- **React Type Animation** - Modern typing animations
- **Component Architecture** - Reusable, accessible, and performant components
- **Custom Hooks** - Encapsulated logic for responsive design and theme management
- **Modern CSS** - CSS-in-JS patterns and utility-first approaches

## 🛠️ Development Experience

### Component Library Approach
The portfolio demonstrates modern component library patterns:

- **Reusable Components**: `SkillBadge`, `ProjectCard` with prop-driven variants
- **Custom Hooks**: `useResponsive`, `useTheme`, `useIntersectionObserver`
- **TypeScript Support**: Prop validation and type safety
- **Accessibility**: ARIA labels, keyboard navigation, focus management

### Modern Development Workflow

```bash
# Install dependencies
npm install --legacy-peer-deps

# Start development server
npm start

# Build for production
npm run build

# Run E2E tests
npm run test:e2e

# Run tests with UI
npm run test:e2e:ui
```

## 📱 Responsive Design

Tested and optimized for:
- **Mobile**: 375px and up
- **Tablet**: 640px and up
- **Desktop**: 1024px and up

## 🎨 Features

- ✅ Modern component architecture
- ✅ Dark/Light theme toggle with persistence
- ✅ Responsive design with mobile-first approach
- ✅ Typing animations with modern libraries
- ✅ Cross-browser compatibility
- ✅ Performance optimized
- ✅ Accessibility compliant
- ✅ E2E testing with Playwright

## 🧪 Testing Strategy

- **Unit Tests**: React Testing Library
- **E2E Tests**: Playwright with multi-device testing
- **Responsive Testing**: Automated viewport testing
- **Accessibility Testing**: Built-in accessibility checks

## 🏗️ Component Architecture

### Modern Patterns Demonstrated:
- Functional components with hooks
- Custom hook patterns for reusable logic
- Prop-driven component variants
- Performance optimizations with useMemo/useCallback
- Error boundaries and loading states
- Progressive enhancement

## 🌟 Highlights

This portfolio showcases expertise in:
- **Lit.dev** - Web Components and modern front-end architecture
- **Storybook** - Component documentation and development
- **Playwright** - Modern testing approaches
- **Component Libraries** - Scalable UI architecture
- **Performance** - Optimized loading and rendering
- **Accessibility** - WCAG compliant implementations

## 🚢 Deployment

```bash
npm run predeploy
npm run deploy
```

Built with modern React patterns and deployed with GitHub Pages.
Loading