Skip to content
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: added relevant links to expense breakdown components and fixed a minor typo #2482 #2507

Conversation

SwetanshuSingh
Copy link

Description
In this pull request, I have made the following changes:

  1. Added navigation links to certain components for improved user navigation. The new links provide direct access to relevant services.

  2. Addressed minor typographical errors throughout the codebase to enhance code readability and maintain consistency.

Related issue(s)
Fixes #2482

Copy link

netlify bot commented Dec 25, 2023

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c7de699
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/65d96d789b1c4800083638df
😎 Deploy Preview https://deploy-preview-2507--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@SwetanshuSingh SwetanshuSingh changed the title feat: Added relevant links to expense breakdown components and fixed a minor typo #2482 feat: added relevant links to expense breakdown components and fixed a minor typo #2482 Dec 25, 2023
@asyncapi-bot
Copy link
Contributor

asyncapi-bot commented Dec 25, 2023

⚡️ Lighthouse report for the changes in this PR:

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

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

@SwetanshuSingh
Copy link
Author

@Mayaleeeee @akshatnema Can you review this PR?

@akshatnema
Copy link
Member

@SwetanshuSingh Kindly resolve the merge conflicts in your PR.

@SwetanshuSingh
Copy link
Author

@akshatnema resolved

@@ -22,7 +23,7 @@ export default function ExpenseBreakdown() {
<div className="text-darkGunMetal">
<div className="flex flex-col items-center">
<img src="/img/illustrations/MentorshipProgram.webp" alt="Mentorship Program" className="w-1/5 h-auto object-cover rounded-md m-1" />
<h2 className="text-2xl font-semibold my-2 text-center text-darkGunMetal">Mentorship Program</h2>
<h2 className="text-2xl font-semibold my-2 text-center text-darkGunMetal hover:underline cursor-pointer"><Link href="https://www.asyncapi.com/blog/beyond-boundaries">Mentorship Program</Link></h2>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Links should be added to the whole Card, not only to the Card Title.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akshatnema added the suggested changes

<div className="text-darkGunMetal">
<div className="flex flex-col items-center">
<img src="/img/illustrations/MentorshipProgram.webp" alt="Mentorship Program" className="w-1/5 h-auto object-cover rounded-md m-1" />
<h2 className="text-2xl font-semibold my-2 text-center text-darkGunMetal hover:underline cursor-pointer">Mentorship Program</h2>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<h2 className="text-2xl font-semibold my-2 text-center text-darkGunMetal hover:underline cursor-pointer">Mentorship Program</h2>
<h2 className="text-2xl font-semibold my-2 text-center text-darkGunMetal">Mentorship Program</h2>

Hover properties should be applied to Card, not on heading. You can increase shadow while hovering over the Card. Same for all cards.

<div className="flex flex-col items-center">
<img src="/img/illustrations/MentorshipProgram.webp" alt="Mentorship Program" className="w-1/5 h-auto object-cover rounded-md m-1" />
<h2 className="text-2xl font-semibold my-2 text-center text-darkGunMetal">Mentorship Program</h2>
<Link href="https://www.asyncapi.com/blog/beyond-boundaries">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a tag nested inside Link to passdown the href and target properties in the Card. You can take reference from here - https://github.com/asyncapi/website/blob/master/components/navigation/BlogPostItem.js#L30-L31. Do it for all Cards.

@sambhavgupta0705
Copy link
Member

@SwetanshuSingh any update on this one??

@SwetanshuSingh
Copy link
Author

@SwetanshuSingh any update on this one??

raising the pr by eod

Copy link
Member

@sambhavgupta0705 sambhavgupta0705 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SwetanshuSingh I checked the preview and it doesnot look good as some components are small and some are large while in previous UI it was aligned
image

@sambhavgupta0705
Copy link
Member

image
This was the previous UI

@SwetanshuSingh
Copy link
Author

@sambhavgupta0705 I am really sorry for making this silly mistake. I will fix this right now!

@akshatnema
Copy link
Member

We already have PR for #2482 , hence closing this PR. @SwetanshuSingh Kindly work on some other issue to contribute to the project.

@akshatnema akshatnema closed this Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add links to components of expense breakdown
4 participants