Skip to content

Commit

Permalink
only add single logo to api
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko committed Oct 14, 2023
1 parent dd6bee7 commit 80e9850
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 90 deletions.
31 changes: 0 additions & 31 deletions api/branding.py

This file was deleted.

18 changes: 0 additions & 18 deletions api/models/branding.py

This file was deleted.

2 changes: 1 addition & 1 deletion api/models/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class InfoFields(BaseModel):

name: str
about: str
branding: str
contact: ContactFields
branding: list[BrandingFields]
socials: list[SocialFields]
donations: DonationFields

Expand Down
26 changes: 1 addition & 25 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,31 +53,6 @@
"revanced-releases-api",
]

# Branding

branding_links: dict[str, str] = {
{
"assettype": "logo",
"url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-logo/revanced-logo.svg",
},
{
"assettype": "horizontal-light",
"url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-horizontal-light.svg",
},
{
"assettype": "horizontal-dark",
"url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-horizontal-dark.svg",
},
{
"assettype": "vertical-light",
"url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-vertical-light.svg",
},
{
"assettype": "vertical-dark",
"url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-vertical-dark.svg",
},
}

# Social Links

social_links: list[dict[str, str | bool]] = [
Expand Down Expand Up @@ -145,6 +120,7 @@
default_info: dict[str, str | list[str | bool] | bool] = {
"name": "ReVanced",
"about": "ReVanced was born out of Vanced's discontinuation and it is our goal to continue the legacy of what Vanced left behind. Thanks to ReVanced Patcher, it's possible to create long-lasting patches for nearly any Android app. ReVanced's patching system is designed to allow patches to work on new versions of the apps automatically with bare minimum maintenance.",
"branding": "https://raw.githubusercontent.com/ReVanced/revanced-branding/main/assets/revanced-logo/revanced-logo.svg",
"contact": {"email": "[email protected]"},
"socials": social_links,
"donations": {"wallets": wallets, "links": links},
Expand Down
15 changes: 0 additions & 15 deletions tests/test_branding.py

This file was deleted.

0 comments on commit 80e9850

Please sign in to comment.