-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathposts.html
116 lines (109 loc) · 4.07 KB
/
posts.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Flutter - Posts</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
</head>
<body>
<header class="posts-header">
<h1 class="posts-page-header">Flutter</h1>
<div class="posts-search">
<input type="text" placeholder="Search" />
<button class="fa fa-search"></button>
</div>
</header>
<div class="container-bg">
<main class="container">
<aside class="profile">
<figure class="profile-avatar">
<img src="images/avatar.png" alt="BP" class="profile-image" width="84" height="84" />
<figcaption class="profile-name" id="profile-name">User 1</figcaption>
</figure>
<div class="profile-details">
<div class="profile-info">
<h3>Posts</h3>
<p id="profile-posts-count">0</p>
</div>
<div class="profile-info">
<h3>Reactions</h3>
<p id="profile-likes-count">0</p>
</div>
<button class="profile-button" id="logout-btn">Log Out</button>
</div>
</aside>
<section class="posts">
<header class="pots-section-header">
<figure class="profile-avatar post-section-header-avatar">
<img src="images/avatar.png" alt="BP" class="profile-image" width="32" height="32">
</figure>
<div class="post-section-input-container">
<form method="POST" id="new-post">
<input type="text" placeholder="Say something" id="new-post-text">
<button class="far fa-comment-alt"></button>
</form>
</div>
</header>
<div class="lds-ripple" id="loader"><div></div><div></div></div>
<section class="posts-section" id="post-container">
<div class="post">
<figure class="profile-avatar post-section-avatar">
<img src="images/avatar.png" alt="BP" class="profile-image" width="40" height="40">
</figure>
<div class="post-content">
<div class="post-author">
<h3 class="post-author-name">User 2</h3>
<span class="post-delimiter fa fa-circle"></span>
<span class="post-date">3 minutes ago</span>
</div>
<p class="post-text">This is my first post.</p>
<div class="post-footer">
<div class="post-reaction">
<button class="far fa-thumbs-up like-btn" ></button>
<span class="post-likes">0</span>
</div>
<div class="post-reaction dislike-container">
<button class="far fa-thumbs-down dislike-btn"></button>
<span class="post-dislikes">0</span>
</div>
</div>
</div>
<div class="post-close">
<button class="post-close fa fa-times" data-id="${data.key}"></button>
</div>
</div>
<div class="post">
<figure class="profile-avatar post-section-avatar">
<img src="images/avatar.png" alt="BP" class="profile-image" width="40" height="40">
</figure>
<div class="post-content">
<div class="post-author">
<h3 class="post-author-name">User 2</h3>
<span class="post-delimiter fa fa-circle"></span>
<span class="post-date">3 minutes ago</span>
</div>
<p class="post-text">This is my first post.</p>
<div class="post-footer">
<div class="post-reaction">
<button class="far fa-thumbs-up like-btn" ></button>
<span class="post-likes">0</span>
</div>
<div class="post-reaction dislike-container">
<button class="far fa-thumbs-down dislike-btn"></button>
<span class="post-dislikes">0</span>
</div>
</div>
</div>
<div class="post-close">
<button class="post-close fa fa-times" data-id="${data.key}"></button>
</div>
</div>
</section>
</section>
</main>
</div>
</body>
</html>