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

Change button to link for sidebar elements. #54

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

JoshHargreaves
Copy link
Contributor

@JoshHargreaves JoshHargreaves commented Jan 19, 2023

Fixes #56

Changes proposed

Changes the sidebar elements to use instead of A to correctly follow coding guidelines and remove HTML warnings.

@vercel
Copy link

vercel bot commented Jan 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
linkshub ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 19, 2023 at 7:25PM (UTC)

@rupali-codes
Copy link
Owner

Please create and attach an issue, and follow CONTRIBUTION guidelines. Thank you

@JoshHargreaves
Copy link
Contributor Author

Apologies did not realise contributing guidelines have now been added.

@rupali-codes
Copy link
Owner

@JoshHargreaves thanks for quick changes, what's the difference between using and ?

@JoshHargreaves
Copy link
Contributor Author

The anchor tag generally represents a link to another page or section within a page whereas the button is more meant to represent an action resulting from a click.

The Link tag I have added here is a Next JS element that enables client-side transitions and removes the need for custom routing code at the top of the page.

@rupali-codes
Copy link
Owner

Got it. Thank You

@rupali-codes rupali-codes merged commit d6e7e4d into rupali-codes:main Jan 20, 2023
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.

Sidebar links should be <Link> not button
2 participants