fosscu.org icon indicating copy to clipboard operation
fosscu.org copied to clipboard

Add arrow icons for improved navigation flow between resource cards

Open naitikhoriya1 opened this issue 8 months ago • 5 comments

Let me help you fill out the PR template:

Fixes

Fixes #382 by @naitik

Description

Added arrow icons between resource cards on the Resources page and individual resource category pages to improve visual clarity and navigation flow.

Technical details

  • Implemented animated arrow components using react-icons (LuArrowRight and LuArrowDown)
  • Added right-facing arrows for horizontal flow on desktop/tablet views
  • Added down-facing arrows for vertical flow on mobile views
  • Made arrows responsive to different screen sizes
  • Maintained consistent styling with the existing design system

Tests

  • Navigate to the main Resources page (/resources) to verify arrows between category cards
  • Visit individual resource pages (AI, Backend, Frontend, Web3, App) to verify arrows are displayed correctly
  • Test responsiveness by viewing on different screen sizes to ensure arrows adapt properly
  • Verify animations work as expected when the page loads

Screenshots

Before: Screenshot 2025-04-06 at 17 21 39

After: Screenshot 2025-04-06 at 17 19 58

Checklist

  • [x] My pull request has a descriptive title (not a vague title like Update index.md).
  • [x] My pull request targets the default branch of the repository (main or master).
  • [x] My commit messages follow best practices.
  • [x] My code follows the established code style of the repository.
  • [x] I added or updated tests for the changes I made (if applicable).
  • [x] I added or updated documentation (if applicable).
  • [x] I tried running the project locally and verified that there are no visible errors.

Note: You'll need to add actual screenshots for the "Before" and "After" sections to help reviewers visualize the changes.

naitikhoriya1 avatar Apr 06 '25 11:04 naitikhoriya1

Deploy Preview for fossc ready!

Name Link
Latest commit c902240eead8cc76c8b24282b6e95c035a3e981d
Latest deploy log https://app.netlify.com/sites/fossc/deploys/67f26addf35a550008b53872
Deploy Preview https://deploy-preview-392--fossc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 58 (🔴 down 40 from production)
Accessibility: 92 (no change from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 91 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Apr 06 '25 11:04 netlify[bot]

Requesting @JiyaGupta-cs for a review.

Mr-Sunglasses avatar Apr 28 '25 19:04 Mr-Sunglasses

@naitikhoriya1 Currently, the Web3 and some other sections are empty, still resource section displays navigation arrows (left/right and down), For now, consider removing or disabling the navigation controls for sections with no available content.

ThakurSanskarSingh avatar Apr 29 '25 10:04 ThakurSanskarSingh

@naitikhoriya1 Currently the project is using @tabler/icons-react Please reuse this instead of adding another dependency

JiyaGupta-cs avatar Apr 30 '25 07:04 JiyaGupta-cs

@JiyaGupta-cs I will consider that in today evening after my collage timing please

naitikhoriya1 avatar May 01 '25 04:05 naitikhoriya1