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

feature: Use internal Link component #105

Merged

Conversation

niklasmtj
Copy link
Member

Since Gatsby has it's own Link component to route to internal pages which is a lot faster than the simple a tag, this is now used. Also checking for external links with a simple check for http or ´https` at the start of the URL. This should do the trick for most of the external URLs.

Since Gatsby has it's own Link component to route to internal
pages which is a lot faster than the simple `a` tag, this
is now used. Also checking for external links with a
simple check for `http` or ´https` at the start of
the URL. This should do the trick for most of the
URLs.

Signed-off-by: Niklas Metje <[email protected]>
@niklasmtj niklasmtj self-assigned this Dec 6, 2022
@todaywasawesome todaywasawesome self-assigned this Jan 18, 2023
@todaywasawesome
Copy link
Member

LGTM!

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.

2 participants