diff --git a/twittop/src/app/twitter-profile/twitter-profile.component.html b/twittop/src/app/twitter-profile/twitter-profile.component.html index 937f796..2675581 100644 --- a/twittop/src/app/twitter-profile/twitter-profile.component.html +++ b/twittop/src/app/twitter-profile/twitter-profile.component.html @@ -33,8 +33,8 @@ - - + + Go to profile diff --git a/twittop/src/app/twitter-profile/twitter-profile.component.ts b/twittop/src/app/twitter-profile/twitter-profile.component.ts index 5f2eaa5..8278635 100644 --- a/twittop/src/app/twitter-profile/twitter-profile.component.ts +++ b/twittop/src/app/twitter-profile/twitter-profile.component.ts @@ -37,6 +37,7 @@ export class TwitterProfileComponent implements OnInit, OnDestroy { public userTweets: Array; public stringValue = 'Fake'; public profileDataAll: any = null; + public profileLink: string = ''; constructor(private twitterService: TwitterService, private flaskServer: FlaskServerService, @@ -115,6 +116,7 @@ export class TwitterProfileComponent implements OnInit, OnDestroy { this.created_at = moment(this.created_at, 'YYYYMMDD').fromNow(); this.location = profile.location; this.verified = profile.verified; + this.profileLink = 'https://twitter.com/' + this.username; } diff --git a/twittop/src/assets/twitter.svg b/twittop/src/assets/twitter.svg new file mode 100644 index 0000000..9a52107 --- /dev/null +++ b/twittop/src/assets/twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/twittop/src/assets/twitter2.svg b/twittop/src/assets/twitter2.svg new file mode 100644 index 0000000..a291091 --- /dev/null +++ b/twittop/src/assets/twitter2.svg @@ -0,0 +1 @@ + \ No newline at end of file