added link
This commit is contained in:
parent
c84694079a
commit
77830beaec
3 changed files with 11 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue