Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 12, 2023
1 parent fdf0272 commit dd6bee7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
1 change: 1 addition & 0 deletions api/models/branding.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from pydantic import BaseModel


class BrandingFields(BaseModel):
"""
Implements the fields for a brand link.
Expand Down
25 changes: 20 additions & 5 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,26 @@
# 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"},
{
"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
Expand Down

0 comments on commit dd6bee7

Please sign in to comment.