-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathindex1.html
218 lines (214 loc) · 8.03 KB
/
index1.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Your Twitter Landing Page" />
<meta
property="og:description"
content="A concise description of your page"
/>
<meta property="og:image" content="path/to/your/image.jpg" />
<meta property="og:url" content="https://yourwebsite.com/landing-page" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Your Twitter Landing Page" />
<meta
name="twitter:description"
content="A concise description of your page"
/>
<meta name="twitter:image" content="path/to/your/image.jpg" />
<title itemprop="name">Home / X</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
/>
<link rel="stylesheet" href="css/output1.css" />
</head>
<body
class="bg-black text-white"
itemscope
itemtype="http://schema.org/WebPageElement"
>
<button
id="theme-toggle"
class="bg-[#1d9bf0] px-4 py-2 rounded-full"
itemprop="interactionType"
>
Toggle Mode
</button>
<div class="flex container mx-auto">
<div
class="first w-[50%] space-y-3"
itemscope
itemtype="http://schema.org/SiteNavigationElement"
>
<div class="invert logo mx-5 my-3" itemprop="logo">
<svg
viewBox="0 0 24 24"
aria-hidden="true"
class="w-8 r-4qtqp9 r-yyyyoo r-dnmrzs r-bnwqim r-1plcrui r-lrvibr r-lrsllp r-1nao33i r-16y2uox r-8kz0gk"
>
<g>
<path
d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"
></path>
</g>
</svg>
</div>
<div class="sidebar" itemprop="navigation">
<ul
class="flex flex-col text-xl font-bold"
itemprop="mainContentOfPage"
>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">home</span>Home
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">search</span
>Explore
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl"
>notifications</span
>Notifications
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">email</span
>Messages
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">chat</span>Grok
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">lists</span>Lists
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">bookmarks</span
>Premium
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">person</span
>Profile
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">more</span>More
</li>
</ul>
</div>
</div>
<div
class="second w-full border-[1px] border-x-[#2f3336] border-y-[#2f3336]"
itemscope
itemtype="http://schema.org/WebPageElement"
>
<div class="top flex p-3 relative">
<div class="left bg-red-1 w-1/2 flex justify-center font-bold">
For you
</div>
<div class="right bg-green-4001 w-1/2 flex justify-center font-bold">
Following
</div>
</div>
<div class="whatishap flex gap-4 my-3">
<div class="img m-3">
<img
class="rounded-full"
src="public/dp.jpg"
alt=""
loading="lazy"
itemprop="image"
/>
</div>
<div class="w-full">
<input
class="w-full bg-black h-7 my-4 text-white outline-none text-xl"
type="text"
placeholder="What is happening?!"
/>
</div>
</div>
<div
class="posts"
itemscope
itemtype="http://schema.org/DiscussionForumPosting"
>
<div class="post" itemprop="articleBody">
<div class="flex">
<div class="image m-3">
<img
class="rounded-full w-32"
src="public/item2.jpg"
alt="..."
loading="lazy"
itemprop="image"
/>
</div>
<div class="content my-3">
<div
class="profile-info flex gap-1"
itemprop="author"
itemscope
itemtype="http://schema.org/Person"
>
<span
class="font-bold hover:underline cursor-pointer"
itemprop="name"
>Shah Rukh Khan</span
>
<span class="text-gray-500 font-medium">@iamsrk · 9h</span>
</div>
<div itemprop="articleBody">
Wishing you all a very Happy Republic Day…. May the Tiranga
always fly high, symbolizing the unity, strength and pride of
our nation. As Indians, let's contribute to the progress and
prosperity of our country. Jai Hind!
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="third"
itemscope
itemtype="http://schema.org/SiteNavigationElement"
>
<div class="search flex justify-center mx-6 my-3">
<input
type="text"
class="rounded-full bg-[#16181c] px-4 py-2 w-96"
placeholder="Search"
/>
</div>
</div>
</div>
<script>
const toggleButton = document.getElementById("theme-toggle");
toggleButton.addEventListener("click", () => {
document.body.classList.toggle("bg-black");
document.body.classList.toggle("bg-white");
document.body.classList.toggle("text-white");
document.body.classList.toggle("text-black");
});
</script>
</body>
</html>