mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
fix: Broken repository links in contributors
This commit is contained in:
parent
27fabe2a79
commit
814016473e
@ -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
|
||||
|
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user