chore: Merge branch dev to main (#199)

This commit is contained in:
oSumAtrIX 2023-11-12 00:25:47 +01:00 committed by GitHub
commit 7d8ea65aef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 187 additions and 104 deletions

View File

@ -1,7 +1,5 @@
<script lang="ts"> <script lang="ts">
import { JsonLd } from 'svelte-meta-tags'; import { JsonLd } from 'svelte-meta-tags';
import { queries } from '$data/api';
import { createQuery } from '@tanstack/svelte-query';
let _title: string = ''; let _title: string = '';
$: title = _title === '' ? 'ReVanced' : `ReVanced · ${_title}`; $: title = _title === '' ? 'ReVanced' : `ReVanced · ${_title}`;
@ -10,12 +8,7 @@
export let description: string = 'Continuing the legacy of Vanced.'; export let description: string = 'Continuing the legacy of Vanced.';
export let schema: any | undefined; export let schemas: any[] | undefined;
createQuery(['socials'], queries.socials).subscribe((query) => {
schema.publisher.sameAs = query.data?.socials?.map((social) => social.url);
});
</script> </script>
<svelte:head> <svelte:head>
@ -27,15 +20,17 @@
<meta property="og:title" content={title} /> <meta property="og:title" content={title} />
<meta property="og:description" content={description} /> <meta property="og:description" content={description} />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:image" content="/embed.png" /> <meta property="og:image" content="/logo.png" />
<!-- Twitter --> <!-- Twitter -->
<meta name="twitter:title" content={title} /> <meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} /> <meta name="twitter:description" content={description} />
<meta name="twitter:image" itemprop="image" content="/embed.png" /> <meta name="twitter:image" itemprop="image" content="/logo.png" />
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
{#if schema} {#if schemas}
<JsonLd {schema} /> {#each schemas as schema}
<JsonLd {schema} />
{/each}
{/if} {/if}
</svelte:head> </svelte:head>

View File

@ -7,22 +7,114 @@
</script> </script>
<Meta <Meta
schema={{ schemas={[
'@context': 'https://schema.org', {
'@type': 'WebPage', '@context': 'https://schema.org',
name: 'ReVanced',
abstract: 'Continuing the legacy of Vanced',
breadcrumb: 'Home',
publisher: {
'@type': 'Organization', '@type': 'Organization',
name: 'ReVanced',
url: 'https://revanced.app/', url: 'https://revanced.app/',
logo: { logo: 'https://revanced.app/logo.png'
'@type': 'ImageObject', },
url: 'https://revanced.app/embed.png' {
'@context': 'https://schema.org',
'@type': 'BreadcrumbList',
itemListElement: [
{
'@type': 'ListItem',
position: 1,
name: 'Home',
item: 'https://revanced.app/'
}
]
},
{
'@context': 'https://schema.org',
'@type': 'FAQPage',
mainEntity: [
{
'@type': 'Question',
name: 'What is ReVanced?',
acceptedAnswer: {
'@type': 'Answer',
text: 'ReVanced is an <b>open-source patcher</b> for <b>Android apps</b>. With ReVanced we <b>continue the legacy of Vanced</b>.'
}
},
{
'@type': 'Question',
name: 'How to get ReVanced?',
acceptedAnswer: {
'@type': 'Answer',
text: 'You can follow <a href="https://github.com/revanced/revanced-manager/tree/main/docs">ReVanced Manager documentation</a> to use <b>ReVanced Manager</b> or the <a href="https://github.com/revanced/revanced-cli/tree/main/docs">ReVanced CLI documentation</a> to use <b>ReVanced CLI</b>.'
}
},
{
'@type': 'Question',
name: 'How does it work?',
acceptedAnswer: {
'@type': 'Answer',
text: 'ReVanced uses a technique called <b>patching</b>. It patches <b>your choice of an app</b> and adds <b>new features</b> to it. Thanks to the <b>modularity of ReVanced</b>, you can choose <b>any combination of features you want</b> to use.'
}
},
{
'@type': 'Question',
name: 'Does ReVanced support non-rooted devices?',
acceptedAnswer: {
'@type': 'Answer',
text: '<b>Yes</b>! ReVanced supports <b>non-root and rooted devices</b>.'
}
},
{
'@type': 'Question',
name: 'Is ReVanced affiliated with Vanced?',
acceptedAnswer: {
'@type': 'Answer',
text: 'ReVanced is <b>not affiliated</b> with Vanced.'
}
},
{
'@type': 'Question',
name: 'How can I help?',
acceptedAnswer: {
'@type': 'Answer',
text: 'Since we are an <b>open-source community</b> and depend on outside help, you can always check out our <a href="https://github.com/revanced">GitHub repositories</a> and <b>contribute to ReVanced</b> by creating an issue or pull requests.'
}
}
]
},
{
'@context': 'https://schema.org',
'@type': 'SoftwareApplication',
name: 'ReVanced Manager',
operatingSystem: 'ANDROID',
applicationCategory: 'UtilitiesApplication',
aggregateRating: {
'@type': 'AggregateRating',
ratingValue: '4.0',
ratingCount: '100'
},
offers: {
'@type': 'Offer',
price: '0',
priceCurrency: 'USD'
}
},
{
'@context': 'https://schema.org',
'@type': 'SoftwareApplication',
name: 'ReVanced CLI',
operatingSystem: 'All',
applicationCategory: 'UtilitiesApplication',
aggregateRating: {
'@type': 'AggregateRating',
ratingValue: '4.0',
ratingCount: '30'
},
offers: {
'@type': 'Offer',
price: '0',
priceCurrency: 'USD'
} }
} }
}} ]}
/> />
<main> <main>
@ -62,9 +154,7 @@
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.wrappezoid { .wrappezoid {
display: flex;
justify-content: center; justify-content: center;
align-items: center;
height: calc(65vh); height: calc(65vh);
} }
} }

View File

@ -14,23 +14,26 @@
</script> </script>
<Meta <Meta
title="Contributors" schemas={[
schema={{ {
'@context': 'https://schema.org', '@context': 'https://schema.org',
'@type': 'WebPage', '@type': 'BreadcrumbList',
name: 'ReVanced Contributors', itemListElement: [
abstract: 'A list of everyone that has contributed to ReVanced', {
breadcrumb: 'Home > Contributors', '@type': 'ListItem',
publisher: { position: 1,
'@type': 'Organization', name: 'Home',
name: 'ReVanced', item: 'https://revanced.app/'
url: 'https://revanced.app/', },
logo: { {
'@type': 'ImageObject', '@type': 'ListItem',
url: 'https://revanced.app/embed.png' position: 2,
} name: 'Contributors',
item: 'https://revanced.app/contributors'
}
]
} }
}} ]}
/> />
<main> <main>
@ -110,7 +113,6 @@
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.text-container { .text-container {
padding: 2rem 1.75rem; padding: 2rem 1.75rem;
margin-bottom: 2rem;
} }
} }
</style> </style>

View File

@ -41,22 +41,26 @@
<Meta <Meta
title="Donate" title="Donate"
schema={{ schemas={[
'@context': 'https://schema.org', {
'@type': 'WebPage', '@context': 'https://schema.org',
name: 'ReVanced Donation', '@type': 'BreadcrumbList',
abstract: 'Various ways to support ReVanced', itemListElement: [
breadcrumb: 'Home > Donate', {
publisher: { '@type': 'ListItem',
'@type': 'Organization', position: 1,
name: 'ReVanced', name: 'Home',
url: 'https://revanced.app/', item: 'https://revanced.app/'
logo: { },
'@type': 'ImageObject', {
url: 'https://revanced.app/embed.png' '@type': 'ListItem',
} position: 2,
name: 'Download',
item: 'https://revanced.app/donate'
}
]
} }
}} ]}
/> />
<main class="wrapper" in:fly={{ y: 10, easing: quintOut, duration: 750 }}> <main class="wrapper" in:fly={{ y: 10, easing: quintOut, duration: 750 }}>

View File

@ -41,11 +41,6 @@
&:hover { &:hover {
background-color: var(--grey-six); background-color: var(--grey-six);
} }
@media screen and (max-width: 768px) {
width: 100%;
gap: 1rem;
}
} }
.member-text { .member-text {

View File

@ -44,32 +44,26 @@
</script> </script>
<Meta <Meta
title="Download" schemas={[
schema={{ {
'@type': 'MobileApplication', '@context': 'https://schema.org',
name: 'ReVanced Manager', '@type': 'BreadcrumbList',
description: itemListElement: [
'ReVanced Manager is an Android application that uses ReVanced Patcher to add, remove, and modify existing functionalities in Android applications', {
abstract: 'Continuing the legacy of Vanced', '@type': 'ListItem',
applicationCategory: 'UtilitiesApplication', position: 1,
applicationSuite: 'ReVanced', name: 'Home',
downloadUrl: 'https://revanced.app/download', item: 'https://revanced.app/'
maintainer: 'ReVanced', },
operatingSystem: 'Android 8', {
offers: { '@type': 'ListItem',
'@type': 'Offer', position: 2,
price: '0' name: 'Download',
}, item: 'https://revanced.app/download'
publisher: { }
'@type': 'Organization', ]
name: 'ReVanced',
url: 'https://revanced.app/',
logo: {
'@type': 'ImageObject',
url: 'https://revanced.app/embed.png'
}
} }
}} ]}
/> />
<Dialogue bind:modalOpen={warningDialogue}> <Dialogue bind:modalOpen={warningDialogue}>

View File

@ -108,23 +108,26 @@
</script> </script>
<Meta <Meta
title="Patches" schemas={[
schema={{ {
'@context': 'https://schema.org', '@context': 'https://schema.org',
'@type': 'WebPage', '@type': 'BreadcrumbList',
name: 'ReVanced Patches', itemListElement: [
abstract: 'A list of ReVanced Patches', {
breadcrumb: 'Home > Patches', '@type': 'ListItem',
publisher: { position: 1,
'@type': 'Organization', name: 'Home',
name: 'ReVanced', item: 'https://revanced.app/'
url: 'https://revanced.app/', },
logo: { {
'@type': 'ImageObject', '@type': 'ListItem',
url: 'https://revanced.app/embed.png' position: 2,
} name: 'Patches',
item: 'https://revanced.app/patches'
}
]
} }
}} ]}
/> />
<div class="search"> <div class="search">

View File

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB