From 77830beaecbe0a70eb0549b6822e47b6a27b403f Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Sun, 22 Mar 2020 16:45:26 -0400 Subject: [PATCH] added link --- src/BirdsiteLive.Twitter/TwitterService.cs | 2 +- src/BirdsiteLive/Views/User/Index.cshtml | 2 +- src/BirdsiteLive/wwwroot/css/birdsite.css | 10 +++++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/BirdsiteLive.Twitter/TwitterService.cs b/src/BirdsiteLive.Twitter/TwitterService.cs index f4f3eca..3317496 100644 --- a/src/BirdsiteLive.Twitter/TwitterService.cs +++ b/src/BirdsiteLive.Twitter/TwitterService.cs @@ -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 diff --git a/src/BirdsiteLive/Views/User/Index.cshtml b/src/BirdsiteLive/Views/User/Index.cshtml index d375d83..97344a8 100644 --- a/src/BirdsiteLive/Views/User/Index.cshtml +++ b/src/BirdsiteLive/Views/User/Index.cshtml @@ -7,7 +7,7 @@
-

@ViewData.Model.Name

+

@ViewData.Model.Name

@@@ViewData.Model.Acct

diff --git a/src/BirdsiteLive/wwwroot/css/birdsite.css b/src/BirdsiteLive/wwwroot/css/birdsite.css index 88803d3..91b0dc6 100644 --- a/src/BirdsiteLive/wwwroot/css/birdsite.css +++ b/src/BirdsiteLive/wwwroot/css/birdsite.css @@ -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; -} \ No newline at end of file +}