Skip to content

Instantly share code, notes, and snippets.

@ramijames
Last active January 1, 2026 15:20
Show Gist options
  • Select an option

  • Save ramijames/c6392bc089cbe98d07773bab0fc66efb to your computer and use it in GitHub Desktop.

Select an option

Save ramijames/c6392bc089cbe98d07773bab0fc66efb to your computer and use it in GitHub Desktop.
Gizra - Home Assignment FE Tickets for the News component
FE-1: Build News Card Component
**Type:** Frontend
**Priority:** High
**Description:**
Implement the News card UI per Figma specifications.
**Includes:**
- Featured image
- Title (linked)
- Excerpt text
- Publish date
- CTA icon/button
**Requirements:**
- Responsive layout
- CSS-based text truncation
- Hover and focus states
- Accessible markup
**Acceptance Criteria:**
- Matches Figma spacing and typography
- Handles variable content lengths
- Keyboard accessible
FE-2: Implement Carousel Functionality
**Type:** Frontend
**Priority:** High
**Description:**
Add carousel interaction to the News component.
**Requirements:**
- Horizontal scrolling
- Pagination dots
- Left/right navigation arrows
- Touch/drag support
- Keyboard navigation
**Technical Notes:**
- Use approved JS library (Swiper, Glide, or equivalent)
- Progressive enhancement (no JS = stacked cards)
**Acceptance Criteria:**
- Navigation and pagination function correctly
- No layout shift on load
FE-3: Integrate View with Frontend Component
**Type:** Frontend / Drupal
**Priority:** High
**Description:**
Wire Drupal View output into the News Card + Carousel components.
**Requirements:**
- Twig maps View fields to component structure
- No hard-coded content
- Supports variable number of items
**Acceptance Criteria:**
- Content updates reflect automatically
- Handles fewer items gracefully
FE-4: Responsive & Cross-Browser QA
**Type:** Frontend QA
**Priority:** Medium
**Description:**
Validate responsive behavior and browser compatibility.
**Acceptance Criteria:**
- Mobile: 1 card per view
- Tablet: 2 cards per view
- Desktop: 3 cards per view
- Tested in Chrome, Firefox, Safari, Edge
- No layout break with long titles or missing images
@ramijames
Copy link
Author

ramijames commented Jan 1, 2026

Please refer to this image when generating the News view.

Screenshot 2026-01-01 at 17 05 33

For responsive versions:

Screenshot 2026-01-01 at 17 10 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment