mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-06 12:47:44 +00:00
fix: Make repos open in new tab (#556)
This commit is contained in:
@@ -37,11 +37,11 @@
|
||||
</div>
|
||||
<div>
|
||||
{#if repository.includes('github')}
|
||||
<a class="repo" title="Go to the source code" href={repository}
|
||||
<a class="repo" title="Go to the source code" target="_blank" href={repository}
|
||||
><img style="display:inline" src="/images/github_logo.svg" alt="github logo" /></a
|
||||
>
|
||||
{:else if repository.includes('gitlab')}
|
||||
<a class="repo" title="Go to the source code" href={repository}
|
||||
<a class="repo" title="Go to the source code" target="_blank" href={repository}
|
||||
><img style="display:inline" src="/images/gitlab_logo.svg" alt="gitlab logo" /></a
|
||||
>
|
||||
<!-- {:else} -->
|
||||
|
||||
Reference in New Issue
Block a user