mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-30 06:34:35 +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:click={() => (expanded = !expanded)}
|
||||||
on:keypress={() => (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>
|
<h4>{repo_name}</h4>
|
||||||
</a>
|
</a>
|
||||||
<img
|
<img
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
export function friendlyName(text: string): string {
|
export function friendlyName(text: string): string {
|
||||||
return text
|
return text
|
||||||
.replace(/-/g, ' ')
|
.replace(/-/g, ' ')
|
||||||
.replace(/revanced\/revanced/g, 'ReVanced')
|
.replace(/\brevanced\b/g, 'ReVanced')
|
||||||
.replace(/\bcli\b/g, 'CLI')
|
.replace(/\bcli\b/g, 'CLI')
|
||||||
.replace(/api/g, 'API')
|
.replace(/api/g, 'API')
|
||||||
.replace(/(?:^|\s)\S/g, (x: string) => x.toUpperCase());
|
.replace(/(?:^|\s)\S/g, (x: string) => x.toUpperCase());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user