Thanks to visit codestin.com
Credit goes to github.com

Skip to content

momenawab/Ellty-First-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Test Assignment - Page Selector Component

This is a pixel-perfect implementation of a page selector dropdown component from Figma design.

🎯 Assignment Details

Company: Ellty (Taskina Pty Ltd) Position: Frontend/Full Stack Developer Date: 03.02.2024

📋 Features

  • Dropdown Menu - Click to open/close page selector
  • Master Checkbox - "All pages" checkbox controls all individual pages
  • Individual Page Selection - Select/deselect specific pages (Page 1-4)
  • Interactive States - All variants implemented:
    • 9 Checkbox variants (default, hover, press, checked states)
    • 8 List item variants (hover, press, selected states)
    • 3 Button variants (default, hover, press)
  • Pixel-Perfect Design - Matches Figma specifications exactly
  • Smooth Interactions - Instant transitions as per design

🛠️ Technologies

  • React 18.3.1
  • Vite 5.4.2
  • CSS Modules
  • Montserrat Font

🎨 Design Specifications

  • Modal Card: 370×326px with shadow
  • Checkboxes: 25×25px, 6px border radius
  • Button: 340×40px, #FFCE22 background
  • Font: Montserrat 400/500, 14px
  • Colors:
    • Primary: #FFCE22 (yellow)
    • Checked: #2469F6 (blue)
    • Text: #1F2128
    • Border: #EEEEEE

🚀 Installation & Running

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

📦 Project Structure

src/
├── components/
│   ├── PageSelectorModal.jsx
│   └── PageSelectorModal.css
├── App.jsx
├── App.css
├── main.jsx
└── index.css

✨ Component Usage

import PageSelectorModal from './components/PageSelectorModal';

function App() {
  return <PageSelectorModal />;
}

🎯 Implementation Highlights

  • Clean, readable code
  • Fully functional interactive elements
  • Click outside to close dropdown
  • State management with React hooks
  • Accessibility considerations
  • Responsive to all user interactions

Developed by: [Your Name] Live Demo: [Vercel URL will be here] GitHub: [Repository URL]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •