mirror of
https://github.com/revanced/revanced-website.git
synced 2025-05-19 22:57: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="title">
|
||||
<h3>{friendlyName(patch.name)}</h3>
|
||||
<h3>{patch.name}</h3>
|
||||
</div>
|
||||
{#if hasPatchOptions}
|
||||
<img id="arrow" src="/icons/arrow.svg" alt="dropdown" />
|
||||
|
@ -2,7 +2,6 @@ export function friendlyName(text: string): string {
|
||||
return text
|
||||
.replace(/-/g, ' ')
|
||||
.replace(/revanced\/revanced/g, 'ReVanced')
|
||||
.replace(/revanced/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