TheYuriG / deno-portfolio

This is the repository that later gets rendered as my personal website.
https://www.theyurig.com
3 stars 1 forks source link

refactor: only use GradientLink for external links #111

Closed TheYuriG closed 1 year ago

TheYuriG commented 1 year ago

The user experience was really confusing since all links looked the same, but some opened a new tab and others would redirect to another internal page.

This PR improves on this UX by clearly separating which links are external and which links are internal. All external links will use <GradientLink />, while all internal links will use <DottedLink />.

To make it extremely clear, all <GradientLink /> will also show the <ExternalLinkIcon />, while <DottedLink /> won't.

Closes #107.