Skip to content

Commit

Permalink
fix: Broken repository links in contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ushie committed Sep 7, 2024
1 parent 27fabe2 commit 8140164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/contributors/ContributorSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
on:click={() => (expanded = !expanded)}
on:keypress={() => (expanded = !expanded)}
>
<a href="https://github.com/{repo}" rel="noreferrer" target="_blank" on:click|stopPropagation>
<a href="https://github.com/ReVanced/{repo}" rel="noreferrer" target="_blank" on:click|stopPropagation>
<h4>{repo_name}</h4>
</a>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/util/friendlyName.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function friendlyName(text: string): string {
return text
.replace(/-/g, ' ')
.replace(/revanced\/revanced/g, 'ReVanced')
.replace(/\brevanced\b/g, 'ReVanced')
.replace(/\bcli\b/g, 'CLI')
.replace(/api/g, 'API')
.replace(/(?:^|\s)\S/g, (x: string) => x.toUpperCase());
Expand Down

0 comments on commit 8140164

Please sign in to comment.