{"id":29854976,"url":"https://github.com/rainernsa/skip-selection","last_synced_at":"2025-07-29T22:21:31.855Z","repository":{"id":297721561,"uuid":"997711334","full_name":"RainerNsa/skip-selection","owner":"RainerNsa","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-07T02:49:24.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-07T03:29:30.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RainerNsa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-07T02:46:34.000Z","updated_at":"2025-06-07T02:49:27.000Z","dependencies_parsed_at":"2025-06-07T03:29:32.870Z","dependency_job_id":"b7a8fa8e-e19b-45f1-90da-bca296707870","html_url":"https://github.com/RainerNsa/skip-selection","commit_stats":null,"previous_names":["rainernsa/skip-selection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RainerNsa/skip-selection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainerNsa%2Fskip-selection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainerNsa%2Fskip-selection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainerNsa%2Fskip-selection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainerNsa%2Fskip-selection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RainerNsa","download_url":"https://codeload.github.com/RainerNsa/skip-selection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RainerNsa%2Fskip-selection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267771951,"owners_count":24142081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-29T22:21:31.277Z","updated_at":"2025-07-29T22:21:31.823Z","avatar_url":"https://github.com/RainerNsa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Skip Selection Page Redesign\n\nA modern, responsive redesign of the \"Choose Your Skip Size\" page for We Want Waste, built with React and TypeScript.\n\n## 🚀 Features\n\n- **Real-time Data**: Fetches skip information from We Want Waste API\n- **Responsive Design**: Optimized for mobile, tablet, and desktop\n- **Modern UI**: Clean card-based layout with smooth animations\n- **Interactive Selection**: Visual feedback and sticky summary bar\n- **Error Handling**: Graceful fallback with retry functionality\n- **Loading States**: Skeleton screens for better UX\n- **Accessibility**: Semantic HTML and keyboard navigation support\n\n## 🛠️ Tech Stack\n\n- **React 18** with TypeScript\n- **Tailwind CSS** for styling\n- **Lucide React** for icons\n- **Vite** for development and building\n\n## 📱 Design Highlights\n\n- **Card-based Layout**: Each skip size displayed in an interactive card\n- **Visual Selection**: Selected skips are highlighted with animations\n- **Sticky Summary**: Bottom bar shows selected skip details\n- **Responsive Grid**: 1-2-3 column layout across devices\n- **Loading Skeletons**: Smooth loading experience\n- **Hover Effects**: Enhanced interactivity with micro-animations\n\n## 🏃‍♂️ Quick Start\n\n### Prerequisites\n- Node.js 16+ and npm\n\n### Installation\n```bash\n# Clone the repository\ngit clone [your-repo-url]\ncd skip-selection-redesign\n\n# Install dependencies\nnpm install\n\n# Start development server\nnpm run dev\n```\n\n### Build for Production\n```bash\nnpm run build\nnpm run preview\n```\n\n## 🌐 API Integration\n\nThe app fetches skip data from:\n```\nhttps://app.wewantwaste.co.uk/api/skips/by-location?postcode=NR32\u0026area=Lowestoft\n```\n\nIf the API is unavailable, fallback data is provided for demonstration purposes.\n\n## 📂 Project Structure\n\n```\nsrc/\n├── components/\n│   ├── SkipCard.tsx          # Individual skip selection card\n│   ├── LoadingSkeleton.tsx   # Loading state component  \n│   ├── ErrorMessage.tsx      # Error handling component\n│   └── SelectionSummary.tsx  # Sticky selection summary\n├── pages/\n│   └── SkipSelectionPage.tsx # Main page component\n├── types/\n│   └── skip.ts              # TypeScript interfaces\n└── App.tsx                  # Root component\n```\n\n## 🎨 Design Decisions\n\n1. **Color Palette**: Professional blue and green theme\n2. **Typography**: Clear hierarchy with readable font sizes\n3. **Spacing**: Consistent 8px grid system\n4. **Animation**: Subtle transitions for better UX\n5. **Accessibility**: High contrast ratios and semantic markup\n\n## 🔧 Key Components\n\n### SkipCard\nInteractive cards showing skip details with selection state management.\n\n### SelectionSummary  \nSticky bottom bar that appears when a skip is selected, showing price and continue action.\n\n### LoadingSkeleton\nAnimated loading placeholders that match the final card layout.\n\n## 📊 Performance Features\n\n- **Lazy Loading**: Efficient rendering of skip cards\n- **Error Boundaries**: Graceful error handling\n- **Responsive Images**: Optimized for different screen sizes\n- **Minimal Bundle**: Clean code with no unnecessary dependencies\n\n## 🚀 Deployment Ready\n\nThis project is production-ready with:\n- TypeScript for type safety\n- ESLint configuration\n- Optimized build process\n- SEO-friendly meta tags\n- Mobile-responsive design\n\n---\n\n**Challenge completed for We Want Waste frontend redesign**\n\nBuilt with ❤️ using React, TypeScript, and Tailwind CSS","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainernsa%2Fskip-selection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frainernsa%2Fskip-selection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainernsa%2Fskip-selection/lists"}