Skip to content

Commit

Permalink
feat: move the homepage link above the description
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Mar 21, 2021
1 parent ccf6578 commit 6205875
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Repo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
{/if}
</div>

{#if homepage}
<div class="homepage" data-testid="homepage">
<a href={homepage} data-testid="homepage-link">{homepage}</a>
</div>
{/if}

{#if description}
<div data-testid="description">
{description}
Expand Down Expand Up @@ -57,12 +63,6 @@
&nbsp; <span data-testid="fork-count">{forks}</span>
</div>
{/if}

{#if homepage}
<div class="homepage" data-testid="homepage">
<a href={homepage} data-testid="homepage-link">{homepage}</a>
</div>
{/if}
</div>
</div>

Expand Down

0 comments on commit 6205875

Please sign in to comment.