diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2434008..de875ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,10 +1,6 @@ name: Deploy -on: - pull_request: - push: - branches: - - main +on: [pull_request, push] jobs: deploy: diff --git a/src/layout/Navbar/NavHost.svelte b/src/layout/Navbar/NavHost.svelte index c67f252..c384722 100644 --- a/src/layout/Navbar/NavHost.svelte +++ b/src/layout/Navbar/NavHost.svelte @@ -112,7 +112,7 @@ Settings Configure the website's API. Defaults to ReVanced.Configure the API for this website.
diff --git a/src/routes/patches/PatchItem.svelte b/src/routes/patches/PatchItem.svelte index 7dbff17..a462f99 100644 --- a/src/routes/patches/PatchItem.svelte +++ b/src/routes/patches/PatchItem.svelte @@ -85,6 +85,10 @@ padding: 0.25rem 0.5rem; border: 1px solid var(--grey-three); border-radius: 8px; + + &:hover { + background-color: var(--grey-two); + } } a { @@ -146,6 +150,10 @@ .option { padding: 1rem; + + &:hover { + background-color: var(--grey-two); + } } /* thanks piknik */ diff --git a/src/util/friendlyName.ts b/src/util/friendlyName.ts index f8f5319..91d0ab6 100644 --- a/src/util/friendlyName.ts +++ b/src/util/friendlyName.ts @@ -1,15 +1,9 @@ export function friendlyName(text: string): string { return text .replace(/-/g, ' ') - .replace(/revanced\/revanced/g, '') + .replace(/revanced\/revanced/g, 'ReVanced') .replace(/revanced/g, 'ReVanced') .replace(/\bcli\b/g, 'CLI') .replace(/api/g, 'API') - .replace(/microg/g, 'MicroG') - .replace(/hdr/g, 'HDR') - .replace(/sponsorblock/g, 'SponsorBlock') - .replace(/tiktok/g, 'TikTok') - .replace(/vr/g, 'VR') - .replace(/url/g, 'URL') .replace(/(?:^|\s)\S/g, (x: string) => x.toUpperCase()); -} \ No newline at end of file +}