mirror of
https://github.com/revanced/revanced-website.git
synced 2025-05-20 07:07:05 +02:00
chore: merge branch dev
to main
(#143)
This commit is contained in:
commit
34d6d07a3e
@ -18,7 +18,7 @@
|
|||||||
>
|
>
|
||||||
<div class="things">
|
<div class="things">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h3>{friendlyName(patch.name)}</h3>
|
<h3>{patch.name}</h3>
|
||||||
</div>
|
</div>
|
||||||
{#if hasPatchOptions}
|
{#if hasPatchOptions}
|
||||||
<img id="arrow" src="/icons/arrow.svg" alt="dropdown" />
|
<img id="arrow" src="/icons/arrow.svg" alt="dropdown" />
|
||||||
|
@ -2,7 +2,6 @@ export function friendlyName(text: string): string {
|
|||||||
return text
|
return text
|
||||||
.replace(/-/g, ' ')
|
.replace(/-/g, ' ')
|
||||||
.replace(/revanced\/revanced/g, 'ReVanced')
|
.replace(/revanced\/revanced/g, 'ReVanced')
|
||||||
.replace(/revanced/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