added link

This commit is contained in:
Nicolas Constant 2020-03-22 16:45:26 -04:00
parent c84694079a
commit 77830beaec
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688
3 changed files with 11 additions and 3 deletions

View file

@ -34,7 +34,7 @@ namespace BirdsiteLive.Twitter
Acct = username,
Name = user.Name,
Description = user.Description,
Url = user.Url,
Url = $"https://twitter.com/{username}",
ProfileImageUrl = user.ProfileImageUrlFullSize,
ProfileBackgroundImageUrl = user.ProfileBackgroundImageUrlHttps,
ProfileBannerURL = user.ProfileBannerURL

View file

@ -7,7 +7,7 @@
<div class="sub-profile">
<img class="avatar" src="@ViewData.Model.ProfileImageUrl" />
<h1>@ViewData.Model.Name</h1>
<a href="@ViewData.Model.Url"><h1>@ViewData.Model.Name</h1></a>
<h2>@@@ViewData.Model.Acct</h2>

View file

@ -17,6 +17,14 @@
margin-left: 120px;
}
.profile a {
color: black;
}
.profile a:hover {
color: #555555;
}
.sub-profile {
padding: 20px;
background-color: rgba(255, 255, 255, 0.7);
@ -32,4 +40,4 @@
margin-top: 40px;
margin-left: 20px;
font-weight: bold;
}
}