diff --git a/src/components/tweet-header.js b/src/components/tweet-header.js
index fd387b1..cfdbc44 100644
--- a/src/components/tweet-header.js
+++ b/src/components/tweet-header.js
@@ -7,12 +7,26 @@ export default class TweetHeader extends React.Component {
now: PropTypes.number,
}
+ generateTwitterProfileUrl(screen_name) {
+ return `https://twitter.com/${screen_name}`
+ }
+
render() {
- return(
+ const tweetUser = this.props.tweet.user
+
+ return (
-
{this.props.tweet.user.name}
-
{this.props.tweet.user.screen_name}
+
+ {tweetUser.name}
+
+
+ {tweetUser.screen_name}
+
diff --git a/src/index.scss b/src/index.scss
index d47d3ea..54a55a2 100644
--- a/src/index.scss
+++ b/src/index.scss
@@ -208,9 +208,19 @@ body {
background: #389cd7;
}
- &.active .external-link {
- color: white;
- text-decoration: underline;
+ &.active {
+ .external-link {
+ color: white;
+ text-decoration: underline;
+ }
+
+ .user_name {
+ text-decoration: none;
+
+ &:hover {
+ text-decoration: underline;
+ }
+ }
}
}