fix(social): Redirect on click to badge

This commit is contained in:
Lucàs
2024-01-09 15:21:09 +01:00
parent 3e04dcfeca
commit ba12fed3fc
3 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ class Social:
def __init__(self, name: str, url: str):
self.name = name
self.img = SocialShield(name, url).__str__()
self.url = url
def __str__(self) -> str:
return f"![{self.name}]({self.img})"
return f"[![{self.name}]({self.img})]({self.url})"