-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
139 lines (130 loc) · 4.87 KB
/
index.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS -->
<link rel="stylesheet" href="index.css">
<!-- Font Awesome CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swap" rel="stylesheet">
<title>Twimba</title>
</head>
<body>
<!-- <header>
<h1>Twimba</h1>
</header> -->
<main>
<section id="logged-out-view">
<img class="twitter-logo" src="https://etmonline.org/wp-content/uploads/2016/10/Twitter-purple-logo.png" alt="twimba logo">
<div class="logged-out-first-wrapper">
<h2>Happening now</h2>
<div class="logged-out-second-wrapper">
<h3>Join today.</h3>
<button
sign-in-with-google-btn
class="google-btn sign-in-with-google-btn">
Sign in with Google
<img class="google-logo" src="https://cdn1.iconfinder.com/data/icons/google-s-logo/150/Google_Icons-09-512.png" alt="google logo">
</button>
<p>or</p>
<button
id="go-to-create-account-btn"
class="primary-btn">Create account</button>
<p class="bold">Already have an account?</p>
<button id="go-to-sign-in-page-btn" class="sign-in-btn">Sign In</button>
</div>
</div>
</section>
<section id="create-account-view" class="modal hidden">
<i class="close-page fa-solid fa-x"></i>
<img class="twitter-logo" src="https://etmonline.org/wp-content/uploads/2016/10/Twitter-purple-logo.png" alt="twimba logo">
<div class="signing-in-view-first-wrapper">
<h3>Welcome to Twimba!</h3>
<button
class="google-btn
sign-in-with-google-btn">
Sign in with Google
<img class="google-logo" src="https://cdn1.iconfinder.com/data/icons/google-s-logo/150/Google_Icons-09-512.png" alt="google logo">
</button>
<p>or</p>
<input
type="email" placeholder="email"
id="create-email"
>
<input
type="password" placeholder="password"
id="create-password"
>
<button id="create-account-btn" class="blk-btn">Create</button>
</div>
</section>
<section id="signing-in-view" class="modal hidden">
<i class="close-page fa-solid fa-x"></i>
<img class="twitter-logo" src="https://etmonline.org/wp-content/uploads/2016/10/Twitter-purple-logo.png" alt="twimba logo">
<div class="signing-in-view-first-wrapper">
<h3>Sign in to Twimba</h3>
<button
class="google-btn
sign-in-with-google-btn">
Sign in with Google
<img class="google-logo" src="https://cdn1.iconfinder.com/data/icons/google-s-logo/150/Google_Icons-09-512.png" alt="google logo">
</button>
<p>or</p>
<input
type="email" placeholder="email"
id="sign-in-email"
>
<input
type="password" placeholder="password"
id="sign-in-password"
>
<button id="sign-in-btn" class="blk-btn">Sign In</button>
</div>
</section>
<section id="update-profile-view" class="modal hidden">
<img class="twitter-logo" src="https://etmonline.org/wp-content/uploads/2016/10/Twitter-purple-logo.png" alt="twimba logo">
<div class="update-profile">
<div class="welcome-msg">
<h3>Welcome to Twimba!</h3>
<p>Update your profile picture and name</p>
</div>
<img
id="uploadedImage"
class="profile-pic"
alt="Profile Picture"
src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Default_pfp.svg/2048px-Default_pfp.svg.png"
>
<label for="imageInput" class="custom-file-input">Edit picture</label>
<input type="file" id="imageInput" accept="image/*">
<input
type="text" placeholder="name"
id="username-update"
>
<button id="update-profile-btn" class="blk-btn">Next</button>
</div>
</section>
</section>
<section id="logged-in-view" class="logged-in-view hidden">
<header class="logged-in-header">
<div>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Default_pfp.svg/2048px-Default_pfp.svg.png" id="header-pfp">
<h2 id="header-message">Hi, </h2>
</div>
<button class="logout-btn" id="logout">logout</button>
</header>
<main>
<div class="tweet-input-area">
<img id="profile-pic" class="profile-pic">
<textarea class="post-input" placeholder="What's happening?!" id="tweet-input"></textarea>
</div>
<button id="tweet-btn" class="primary-btn post-btn">Tweet</button>
<div class="feed" id="feed"></div>
</main>
</section>
<script src="index.js" type="module"></script>
</body>
</html>