website icon indicating copy to clipboard operation
website copied to clipboard

feat: add testimonial carousel

Open ashutosh-rath02 opened this issue 2 years ago • 25 comments

Description

  • Added a carousel in "What the Experts are saying section" to improve the visual appearance and enhance the focus of the user to a single testimonial at a time.
  • Added pagination feature which allow user to access the required testimonial.
  • Made changes to components/Testimonials.js and pages/index.js

Related issue(s)

Fixes #1696

After

https://github.com/asyncapi/website/assets/85403534/0c9557bc-4772-4636-9f4f-7d65e6b52287

ashutosh-rath02 avatar May 23 '23 12:05 ashutosh-rath02

Deploy Preview for asyncapi-website failed.

Built without sensitive environment variables

Name Link
Latest commit 453ee50930d1ba88ca63508e4dd7ccc97a05a65c
Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/65e87bf093ecab00087598d0

netlify[bot] avatar May 23 '23 12:05 netlify[bot]

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 54
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🔴 PWA 30

Lighthouse ran on https://deploy-preview-1704--asyncapi-website.netlify.app/

github-actions[bot] avatar May 23 '23 12:05 github-actions[bot]

@akshatnema I guess the previous PR(#1698 ) had some issues, so I had to make new PR and this one has passed all checks. Issue- #1696

ashutosh-rath02 avatar May 23 '23 12:05 ashutosh-rath02

Hi @Lucif3r-in You have done an excellent job, and I appreciate your efforts. However, I have a few suggestions to enhance the overall experience further.

  • Please create sufficient spacing between the header and the cards. This will help improve the visual appeal and readability of the content.
  • Use pagination icons beside the cards on the left and right sides to provide users with a more intuitive navigation experience.
  • To ensure that users can focus on one card at a time, I recommend making the active card more significant than the others. Alternatively, you could add a subtle shadow to distinguish the active card from the rest.

Mayaleeeee avatar May 24 '23 11:05 Mayaleeeee

Hi @Lucif3r-in You have done an excellent job, and I appreciate your efforts. However, I have a few suggestions to enhance the overall experience further.

  • Please create sufficient spacing between the header and the cards. This will help improve the visual appeal and readability of the content.
  • Use pagination icons beside the cards on the left and right sides to provide users with a more intuitive navigation experience.
  • To ensure that users can focus on one card at a time, I recommend making the active card more significant than the others. Alternatively, you could add a subtle shadow to distinguish the active card from the rest.

I will add the arrows for the second point and decrease the opacity of the inactive cards to make it distinguishable.

ashutosh-rath02 avatar May 24 '23 11:05 ashutosh-rath02

Hi @Lucif3r-in You have done an excellent job, and I appreciate your efforts. However, I have a few suggestions to enhance the overall experience further.

  • Please create sufficient spacing between the header and the cards. This will help improve the visual appeal and readability of the content.
  • Use pagination icons beside the cards on the left and right sides to provide users with a more intuitive navigation experience.
  • To ensure that users can focus on one card at a time, I recommend making the active card more significant than the others. Alternatively, you could add a subtle shadow to distinguish the active card from the rest.

I will add the arrows for the second point and decrease the opacity of the inactive cards to make it distinguishable.

Alright, let's give it a try and see how it works. Weldone!

Mayaleeeee avatar May 24 '23 12:05 Mayaleeeee

@Mayaleeeee Check pls I have done the asked changes. You can check it here https://deploy-preview-1704--asyncapi-website.netlify.app/

ashutosh-rath02 avatar May 25 '23 06:05 ashutosh-rath02

@Lucif3r-in Thanks for improving the testimonials section. I have couple of changes from my side:

image

The navigation arrow buttons are not easily visible in the section. Kindly increase of opacity of the buttons. Secondly. the carousel should have the property of auto-scroll so that it should show other testimonials automatically to the users.

Can you tell me at what screen size are you facing the issue as I am unable to reproduce the issue? Still I will increase the opacity.

ashutosh-rath02 avatar May 28 '23 11:05 ashutosh-rath02

@akshatnema Check the changes please. I had to add react-icons for the arrows we have used. You can suggest me any suitable changes to replace those.

ashutosh-rath02 avatar May 28 '23 12:05 ashutosh-rath02

@Mayaleeeee Check pls I have done the asked changes. You can check it here https://deploy-preview-1704--asyncapi-website.netlify.app/

Hello @Lucif3r-in thanks for working on this, and I apologize for the delayed response. After reviewing the website on my laptop, I find the overall design pleasing. However, the mobile view seems to require some adjustments to ensure a better user experience. Currently, it appears that you have attempted to maintain the same layout as the desktop version by compressing the content within the card. Unfortunately, this approach has resulted in a slim and narrow card view, resembling a rectangle shape that feels awkward.

To adjust this and maintain a consistent square size across both desktop and mobile, you can simply reduce the size of the square shape and its corresponding content. For instance, if you use a 24px header on the desktop, consider reducing it to 16px for mobile.

I have attached a screenshot of the mobile view below to provide a clearer understanding.
Screenshot_20230528-183608

Mayaleeeee avatar May 28 '23 17:05 Mayaleeeee

I tried doing the same @Mayaleeeee but the text overflows at smaller screen. What do you suggest should I make the text scrolable?

ashutosh-rath02 avatar May 28 '23 17:05 ashutosh-rath02

I tried doing the same @Mayaleeeee but the text overflows at smaller screen. What do you suggest should I make the text scrolable?

Oops Okay, can you send me the link to the figma file?

Mayaleeeee avatar May 28 '23 17:05 Mayaleeeee

I tried doing the same @Mayaleeeee but the text overflows at smaller screen. What do you suggest should I make the text scrolable?

Oops Okay, can you send me the link to the figma file?

I will make some changes and send you a video. I don't have a figma file actually, I just coded it. @Mayaleeeee What do you say should I remove these animations of 3 cards and place a single card instead?

ashutosh-rath02 avatar May 29 '23 01:05 ashutosh-rath02

@akshatnema @Mayaleeeee I am adding a new video. If you approve we can use this carousel instead to avoid readability issue in the previous carousel.

https://github.com/asyncapi/website/assets/85403534/de604186-ac0a-462a-9ac2-ed9521a7838d

ashutosh-rath02 avatar May 29 '23 12:05 ashutosh-rath02

@akshatnema @Mayaleeeee I am adding a new video. If you approve we can use this carousel instead to avoid readability issue in the previous carousel.

https://github.com/asyncapi/website/assets/85403534/de604186-ac0a-462a-9ac2-ed9521a7838d

This is so nice.💯💯 Thank you so much for working on it 🤗🤗

Mayaleeeee avatar May 29 '23 12:05 Mayaleeeee

@akshatnema @Mayaleeeee I am adding a new video. If you approve we can use this carousel instead to avoid readability issue in the previous carousel.

carousel.mp4

This is so nice.💯💯 Thank you so much for working on it 🤗🤗

@Mayaleeeee if you approve the changes should I raise a PR then?

ashutosh-rath02 avatar May 30 '23 03:05 ashutosh-rath02

image

Text inside the component is very small as compared to normal text inside website in mobile view. Kindly increase the font-size in mobile view. Also, you can think of using TextTruncate component for the description in mobile view and then having a Read More option to view full content.

Secondly. the carousel should have the property of auto-scroll so that it should show other testimonials automatically to the users.

Kindly work on this feature too if possible.

So should the card size increase on clicking Read More? As increasing text size it overflows the card.

ashutosh-rath02 avatar Jun 04 '23 03:06 ashutosh-rath02

@akshatnema I think there is an open question for you, but also commits that you can review

derberg avatar Jun 22 '23 12:06 derberg

@Lucif3r-in Can you please resolve the conflicts in this PR?

akshatnema avatar Sep 30 '23 19:09 akshatnema

@Lucif3r-in any updates?

akshatnema avatar Dec 07 '23 18:12 akshatnema

@Lucif3r-in any updates?

I am having problem with the Read more button else everything seems good

ashutosh-rath02 avatar Dec 08 '23 16:12 ashutosh-rath02

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 31
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-1704--asyncapi-website.netlify.app/

asyncapi-bot avatar Dec 08 '23 16:12 asyncapi-bot

@ashutosh-rath02 any update?

sambhavgupta0705 avatar Mar 05 '24 09:03 sambhavgupta0705

@ashutosh-rath02 the build is breaking please try running npm run build on your local machine to know about the errors

sambhavgupta0705 avatar Mar 07 '24 03:03 sambhavgupta0705

@ashutosh-rath02 any updates??

sambhavgupta0705 avatar Mar 25 '24 12:03 sambhavgupta0705

closing this PR as there is no update on this from the contributor from last 1 month It can be reopened again if he comes back

sambhavgupta0705 avatar Apr 18 '24 06:04 sambhavgupta0705