Skip to content

Commit 05cb840

Browse files
committed
MODIFY tpc-class2b so it can have counter for replies, retweets and likes
1 parent ed68f72 commit 05cb840

File tree

1 file changed

+91
-33
lines changed

1 file changed

+91
-33
lines changed

Twitter.html

+91-33
Original file line numberDiff line numberDiff line change
@@ -111,28 +111,41 @@ <h3>Google</h3>
111111
<p>Who to follow</p>
112112
<img src="icons/tweet_gear.svg" alt="tweet-gear">
113113
</div>
114-
<div class="trending">
115-
<div class="profile-pic-wtof">
116-
profile pic
114+
<div class="who-to-follow_profile_container">
115+
<div class="tweet-post-profile_pic">
116+
<img src="profile_pics/cat2.jpg">
117117
</div>
118118
<div class="profile-info-wtof">
119-
<div>
120-
account info
119+
<div class="inf-profile-wtof">
120+
<span class="trending-strong">Kevin Lim</span>
121+
<span class="trending-mini">@Klim1999</span>
121122
</div>
122-
<button>Follow</button>
123+
<button class="wtof-button">Follow</button>
123124
</div>
124125
</div>
125-
<div class="trending">
126-
<span class="trending-mini">Trending worldwide</span>
127-
<span class="trending-strong">#WorldNews</span>
128-
<span class="trending-mini">125K Tweets</span>
129-
<span class="trending-mini">5,094 people are tweeting about this</span>
126+
<div class="who-to-follow_profile_container">
127+
<div class="tweet-post-profile_pic">
128+
<img src="profile_pics/cat.jpg">
129+
</div>
130+
<div class="profile-info-wtof">
131+
<div class="inf-profile-wtof">
132+
<span class="trending-strong">Richard Zheng</span>
133+
<span class="trending-mini">@RZheng100</span>
134+
</div>
135+
<button class="wtof-button">Follow</button>
136+
</div>
130137
</div>
131-
<div class="trending" style="border-bottom: 1px solid rgb(238, 238, 238);">
132-
<span class="trending-mini">Trending worldwide</span>
133-
<span class="trending-strong">#WorldNews</span>
134-
<span class="trending-mini">125K Tweets</span>
135-
<span class="trending-mini">5,094 people are tweeting about this</span>
138+
<div class="who-to-follow_profile_container" style="border-bottom: 1px solid rgb(238, 238, 238);">
139+
<div class="tweet-post-profile_pic">
140+
<img src="profile_pics/cat3.jpg">
141+
</div>
142+
<div class="profile-info-wtof">
143+
<div class="inf-profile-wtof">
144+
<span class="trending-strong">Morning Glory</span>
145+
<span class="trending-mini">@Morningglorynews</span>
146+
</div>
147+
<button class="wtof-button">Follow</button>
148+
</div>
136149
</div>
137150
<div class="show-more" >
138151
<p>Show more</p>
@@ -190,9 +203,18 @@ <h3>Google</h3>
190203
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting,
191204
</div>
192205
<div class="tpc-class2b">
193-
<img src="icons/twitter_square_message.svg">
194-
<img src="icons/arrow_retweet.svg">
195-
<img src="icons/tweet_heart.svg">
206+
<div class="tweet-reply" style="display: flex; flex-direction: row;">
207+
<img src="icons/twitter_square_message.svg">
208+
<span style="margin-left: 5px; margin-top: -2px;">2</span>
209+
</div>
210+
<div class="tweet-retweet" style="display: flex; flex-direction: row;">
211+
<img src="icons/arrow_retweet.svg">
212+
<span style="margin-left: 5px; margin-top: -2px;">1</span>
213+
</div>
214+
<div class="tweet-like" style="display: flex; flex-direction: row;">
215+
<img src="icons/tweet_heart.svg">
216+
<span style="margin-left: 5px; margin-top: -2px;">10</span>
217+
</div>
196218
<img src="icons/tweet_upload_icon.svg">
197219
</div>
198220
</div>
@@ -220,11 +242,20 @@ <h3>Google</h3>
220242
<img src="tweet_img/istockphoto-474291976-612x612.jpg">
221243
</div>
222244
<div class="tpc-class2b">
223-
<img src="icons/twitter_square_message.svg">
224-
<img src="icons/arrow_retweet.svg">
225-
<img src="icons/tweet_heart.svg">
245+
<div class="tweet-reply" style="display: flex; flex-direction: row;">
246+
<img src="icons/twitter_square_message.svg">
247+
<span style="margin-left: 5px; margin-top: -2px;">5</span>
248+
</div>
249+
<div class="tweet-retweet" style="display: flex; flex-direction: row;">
250+
<img src="icons/arrow_retweet.svg">
251+
<span style="margin-left: 5px; margin-top: -2px;"></span>
252+
</div>
253+
<div class="tweet-like" style="display: flex; flex-direction: row;">
254+
<img src="icons/tweet_heart.svg">
255+
<span style="margin-left: 5px; margin-top: -2px;">1</span>
256+
</div>
226257
<img src="icons/tweet_upload_icon.svg">
227-
</div>
258+
</div>
228259
</div>
229260
<div class="tpc-class3">
230261

@@ -251,9 +282,18 @@ <h3>Google</h3>
251282
<img id="img-top-right1" src="tweet_img/2.jpg">
252283
</div>
253284
<div class="tpc-class2b">
254-
<img src="icons/twitter_square_message.svg">
255-
<img src="icons/arrow_retweet.svg">
256-
<img src="icons/tweet_heart.svg">
285+
<div class="tweet-reply" style="display: flex; flex-direction: row;">
286+
<img src="icons/twitter_square_message.svg">
287+
<span style="margin-left: 5px; margin-top: -2px;">6</span>
288+
</div>
289+
<div class="tweet-retweet" style="display: flex; flex-direction: row;">
290+
<img src="icons/arrow_retweet.svg">
291+
<span style="margin-left: 5px; margin-top: -2px;">8</span>
292+
</div>
293+
<div class="tweet-like" style="display: flex; flex-direction: row;">
294+
<img src="icons/tweet_heart.svg">
295+
<span style="margin-left: 5px; margin-top: -2px;">25</span>
296+
</div>
257297
<img src="icons/tweet_upload_icon.svg">
258298
</div>
259299
</div>
@@ -284,9 +324,18 @@ <h3>Google</h3>
284324
<img id="img-top-right2" src="tweet_img/4.jpg">
285325
</div>
286326
<div class="tpc-class2b">
287-
<img src="icons/twitter_square_message.svg">
288-
<img src="icons/arrow_retweet.svg">
289-
<img src="icons/tweet_heart.svg">
327+
<div class="tweet-reply" style="display: flex; flex-direction: row;">
328+
<img src="icons/twitter_square_message.svg">
329+
<span style="margin-left: 5px; margin-top: -2px;">9</span>
330+
</div>
331+
<div class="tweet-retweet" style="display: flex; flex-direction: row;">
332+
<img src="icons/arrow_retweet.svg">
333+
<span style="margin-left: 5px; margin-top: -2px;">3</span>
334+
</div>
335+
<div class="tweet-like" style="display: flex; flex-direction: row;">
336+
<img src="icons/tweet_heart.svg">
337+
<span style="margin-left: 5px; margin-top: -2px;">100</span>
338+
</div>
290339
<img src="icons/tweet_upload_icon.svg">
291340
</div>
292341
</div>
@@ -320,11 +369,20 @@ <h3>Google</h3>
320369
</div>
321370
</div>
322371
<div class="tpc-class2b">
323-
<img src="icons/twitter_square_message.svg">
324-
<img src="icons/arrow_retweet.svg">
325-
<img src="icons/tweet_heart.svg">
372+
<div class="tweet-reply" style="display: flex; flex-direction: row;">
373+
<img src="icons/twitter_square_message.svg">
374+
<span style="margin-left: 5px; margin-top: -2px;">15</span>
375+
</div>
376+
<div class="tweet-retweet" style="display: flex; flex-direction: row;">
377+
<img src="icons/arrow_retweet.svg">
378+
<span style="margin-left: 5px; margin-top: -2px;">5</span>
379+
</div>
380+
<div class="tweet-like" style="display: flex; flex-direction: row;">
381+
<img src="icons/tweet_heart.svg">
382+
<span style="margin-left: 5px; margin-top: -2px;">105</span>
383+
</div>
326384
<img src="icons/tweet_upload_icon.svg">
327-
</div>
385+
</div>
328386
</div>
329387
<div class="tpc-class3">
330388

0 commit comments

Comments
 (0)