-
-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add testimonial carousel #1704
feat: add testimonial carousel #1704
Conversation
❌ Deploy Preview for asyncapi-website failed.Built without sensitive environment variables
|
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-1704--asyncapi-website.netlify.app/ |
@akshatnema I guess the previous PR(#1698 ) had some issues, so I had to make new PR and this one has passed all checks. |
Hi @Lucif3r-in
|
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. |
@Mayaleeeee Check pls I have done the asked changes. You can check it here https://deploy-preview-1704--asyncapi-website.netlify.app/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Lucif3r-in Thanks for improving the testimonials section. I have couple of changes from my side:
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. |
@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. |
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. |
I tried doing the same @Mayaleeeee but the text overflows at smaller screen. What do you suggest should I make the text scrolable? |
Oops |
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? |
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
@akshatnema I think there is an open question for you, but also commits that you can review |
@Lucif3r-in Can you please resolve the conflicts in this PR? |
package.json
Outdated
@@ -79,6 +79,7 @@ | |||
"react-dom": "^17.0.2", | |||
"react-ga": "^3.1.2", | |||
"react-gtm-module": "^2.0.11", | |||
"react-icons": "^4.8.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we using these icons anywhere in the PR? I don't see any imports for this library.
<ArrowLeft className='w-4'/> | ||
</div> | ||
<div className="flex flex-col justify-center items-center"> | ||
<div className="relative h-[300px] w-[300px] md:w-[600px] md:h-[450px] overflow-hidden"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't specify height for the box, as you may not know how long can be testimonial text. Moreover, using overflow-hidden
is not a good practice. You can allow Read More
option inside box to expand the testimonial box.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason I cant set the height to auto... When I am doing height-auto or max-content the cards just disappears. The Read more part is causing some issue also, causing this PR to delay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weldone @akshatnema
Hello @Lucif3r-in, thank you.
Where can I review the updated version of the testimonial section? Or is it still the same link in the deploy preview column?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same link @Mayaleeeee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kindly add these files inside a new folder Testimonials
.
@Lucif3r-in any updates? |
I am having problem with the Read more button else everything seems good |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-1704--asyncapi-website.netlify.app/ |
@ashutosh-rath02 any update? |
@ashutosh-rath02 the build is breaking please try running |
@ashutosh-rath02 any updates?? |
closing this PR as there is no update on this from the contributor from last 1 month |
Description
components/Testimonials.js
andpages/index.js
Related issue(s)
Fixes #1696
After
caro.mp4