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);