made the tweet text link to the original tweet

This commit is contained in:
youri.apell@gmail.com
2022-11-03 16:34:38 +01:00
parent 6bcdaf7d8c
commit 52b51e828e
5 changed files with 5 additions and 1 deletions

View File

Binary file not shown.

View File

@@ -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>

View File

@@ -143,6 +143,10 @@ body {
font-weight: bold;
}
.tweet-text {
color: white;
text-decoration: none;
}
.tweet-username {
color: var(--main-light);

View File

Binary file not shown.

View File

Binary file not shown.