made the tweet text link to the original tweet
This commit is contained in:
Binary file not shown.
@@ -35,7 +35,7 @@ function tweetCell(tweet) {
|
||||
<!-- add tweet date called created_at-->
|
||||
<p class="tweet-date">${tweet.created_at}</p>
|
||||
</div>
|
||||
<span class="tweet-text">${tweet.text}</span>
|
||||
<a class="tweet-text" href = "https://www.twitter.com/${tweet.user.screen_name}/status/${tweet.id_str}" target = "_blank">${tweet.text}</a>
|
||||
<div class="tweet-interactions">
|
||||
<div class="tweet-interaction tweet-likes">
|
||||
<span class="material-symbols-outlined">favorite</span>
|
||||
|
||||
@@ -143,6 +143,10 @@ body {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tweet-text {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tweet-username {
|
||||
color: var(--main-light);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user