diff --git a/api/models/info.py b/api/models/info.py index 34ec5ec..06b102c 100644 --- a/api/models/info.py +++ b/api/models/info.py @@ -11,6 +11,14 @@ class ContactFields(BaseModel): email: str +class BrandingFields(BaseModel): + """ + Implements the fields for the API owner branding info. + """ + + logo: str + + class InfoFields(BaseModel): """ Implements the fields for the API owner info. @@ -18,6 +26,7 @@ class InfoFields(BaseModel): name: str about: str + branding: BrandingFields contact: ContactFields socials: list[SocialFields] donations: DonationFields diff --git a/config.py b/config.py index 51bebd9..ba48b2e 100644 --- a/config.py +++ b/config.py @@ -120,6 +120,9 @@ links: list[dict[str, str | bool]] = [ 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": { + "logo": "https://raw.githubusercontent.com/ReVanced/revanced-branding/main/assets/revanced-logo/revanced-logo.svg" + }, "contact": {"email": "contact@revanced.app"}, "socials": social_links, "donations": {"wallets": wallets, "links": links},