-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
471 lines (415 loc) · 14.1 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
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Adil Oğuz Sosyal medya demo</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f7f8fa;
color: #333;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
background-color: #fff;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.header h2 {
font-size: 24px;
font-weight: 700;
color: #0056b3;
margin: 0;
}
.header-icons img {
height: 28px;
margin-left: 20px;
cursor: pointer;
}
.header-icons .profile-pic {
border-radius: 50%;
border: 2px solid #0056b3;
}
.main-content {
padding: 20px 16px;
}
.story-section {
display: flex;
overflow-x: auto;
padding: 16px 0;
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.story {
text-align: center;
margin-right: 12px;
width: 80px;
}
.story img {
width: 70px;
height: 70px;
border-radius: 50%;
border: 3px solid #ff6600;
margin-bottom: 6px;
object-fit: cover;
}
.story p {
font-size: 12px;
color: #333;
margin: 0;
}
.card {
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
overflow: hidden;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.card-header {
display: flex;
align-items: center;
padding: 16px;
border-bottom: 1px solid #e0e0e0;
}
.card-header img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 12px;
border: 2px solid #0056b3;
object-fit: cover;
}
.card-header h3 {
font-size: 18px;
font-weight: 500;
margin: 0;
color: #0056b3;
}
.card-content img {
width: 100%;
display: block;
}
.card-content.multi-img {
display: flex;
overflow-x: auto;
}
.card-content.multi-img img {
width: 100px;
height: 100px;
margin-right: 10px;
border-radius: 8px;
}
.card-actions {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
}
.card-actions img {
height: 28px;
cursor: pointer;
}
.card-actions .left-icons img {
margin-right: 10px;
}
.like-count {
font-weight: 500;
color: #333;
padding: 0 16px;
margin-bottom: 10px;
}
.comment-section {
padding: 0 16px 16px;
}
.comment-section input {
width: 100%;
padding: 12px;
margin-top: 10px;
border: 1px solid #e0e0e0;
border-radius: 6px;
font-size: 14px;
outline: none;
background-color: #f9f9f9;
transition: border-color 0.3s;
}
.comment-section input:focus {
border-color: #0056b3;
}
.floating-action-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #ff6600;
color: #ffffff;
width: 60px;
height: 60px;
border-radius: 50%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: background-color 0.3s, box-shadow 0.3s;
}
.floating-action-button:hover {
background-color: #ff4500;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.floating-action-button img {
height: 30px;
}
.explore-section, .suggestions-section, .events-section {
background-color: #ffffff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.explore-section h3, .suggestions-section h3, .events-section h3 {
margin-top: 0;
margin-bottom: 16px;
font-size: 20px;
color: #0056b3;
}
.suggestions-list, .events-list {
list-style: none;
padding: 0;
margin: 0;
}
.suggestions-list li, .events-list li {
display: flex;
align-items: center;
margin-bottom: 12px;
}
.suggestions-list li img, .events-list li img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 12px;
border: 2px solid #0056b3;
}
.suggestions-list li p, .events-list li p {
margin: 0;
font-size: 16px;
color: #333;
}
.suggestions-list li button, .events-list li button {
margin-left: auto;
padding: 6px 12px;
background-color: #0056b3;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.suggestions-list li button:hover, .events-list li button:hover {
background-color: #003f8c;
}
body {
margin-bottom: 60px; /* Alt menü için yer bırakıyor */
}
.bottom-nav {
position: fixed;
bottom: 0;
width: 100%;
display: flex;
justify-content: space-around;
background-color: #fff;
padding: 10px 0;
box-shadow: 0px -1px 5px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
.nav-item {
flex: 1;
text-align: center;
}
.nav-item img {
height: 28px;
cursor: pointer;
}
.nav-item .profile-pic {
border-radius: 50%;
border: 2px solid #0056b3;
}
</style>
</head>
<body>
<div class="header">
<h2>Sosyal</h2>
<div class="header-icons">
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/appointment-reminders--v1.png" alt="Bildirimler">
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/filled-chat.png" alt="Mesajlar">
<img class="profile-pic" src="https://randomuser.me/api/portraits/men/33.jpg" alt="Profil">
</div>
</div>
<div class="main-content">
<!-- Story Section -->
<div class="story-section">
<div class="story">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User Story">
<p>Selin</p>
</div>
<div class="story">
<img src="https://randomuser.me/api/portraits/men/45.jpg" alt="User Story">
<p>Ali</p>
</div>
<div class="story">
<img src="https://randomuser.me/api/portraits/women/46.jpg" alt="User Story">
<p>Ayla</p>
</div>
<div class="story">
<img src="https://randomuser.me/api/portraits/men/47.jpg" alt="User Story">
<p>Mehmet</p>
</div>
</div>
<!-- Card 1 -->
<div class="card">
<div class="card-header">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User">
<h3>Can Demir</h3>
</div>
<div class="card-content multi-img">
<img src="img/img2.jpg" alt="Post Image 1">
<img src="img/img3.jpg" alt="Post Image 2">
<img src="img/img4.jpg" alt="Post Image 3">
<img src="img/img5.jpg" alt="Post Image 4">
</div>
<div class="card-actions">
<div class="left-icons">
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/like.png" alt="Like">
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/comments.png" alt="Comment">
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/share.png" alt="Share">
</div>
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/bookmark-ribbon.png" alt="Save">
</div>
<div class="like-count">
<p>163 beğeni</p>
</div>
<div class="comment-section">
<input type="text" placeholder="Yorum ekle...">
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="card-header">
<img src="https://randomuser.me/api/portraits/women/31.jpg" alt="User">
<h3>Elif Çelik</h3>
</div>
<div class="card-content">
<img src="img/img9.jpg" alt="Post Image">
</div>
<div class="card-actions">
<div class="left-icons">
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/like.png" alt="Like">
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/comments.png" alt="Comment">
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/share.png" alt="Share">
</div>
<img src="https://img.icons8.com/ios-glyphs/30/0056b3/bookmark-ribbon.png" alt="Save">
</div>
<div class="like-count">
<p>340 beğeni</p>
</div>
<div class="comment-section">
<input type="text" placeholder="Yorum ekle...">
</div>
</div>
<!-- Explore Section -->
<div class="explore-section">
<h3>Keşfet</h3>
<div class="card-content multi-img">
<img src="img/img6.jpg" alt="Explore Image 1">
<img src="img/img8.jpg" alt="Explore Image 2">
<img src="img/img9.jpg" alt="Explore Image 3">
<img src="img/img1.jpg" alt="Explore Image 4">
</div>
</div>
<!-- Suggestions Section -->
<div class="suggestions-section">
<h3>Arkadaş Önerileri</h3>
<ul class="suggestions-list">
<li>
<img src="https://randomuser.me/api/portraits/men/40.jpg" alt="Suggestion 1">
<p>Burak Yılmaz</p>
<button>Takip Et</button>
</li>
<li>
<img src="https://randomuser.me/api/portraits/women/41.jpg" alt="Suggestion 2">
<p>Zeynep Özkan</p>
<button>Takip Et</button>
</li>
<li>
<img src="https://randomuser.me/api/portraits/men/42.jpg" alt="Suggestion 3">
<p>Emre Kaya</p>
<button>Takip Et</button>
</li>
</ul>
</div>
<!-- Events Section -->
<div class="events-section">
<h3>Yaklaşan Etkinlikler</h3>
<ul class="events-list">
<li>
<img src="img/img11.jpg" alt="Event 1">
<p>Web Geliştirici Konferansı</p>
<button>Katıl</button>
</li>
<li>
<img src="img/img12.jpg" alt="Event 2">
<p>Dijital Pazarlama Zirvesi</p>
<button>Katıl</button>
</li>
<li>
<img src="img/img10.jpg" alt="Event 3">
<p>Yazılım Atölyesi</p>
<button>Katıl</button>
</li>
</ul>
</div>
</div>
<div class="bottom-nav">
<div class="nav-item">
<img src="https://img.icons8.com/ios-glyphs/30/000000/home.png" alt="Home">
</div>
<div class="nav-item">
<img src="https://img.icons8.com/ios-glyphs/30/000000/search.png" alt="Search">
</div>
<div class="nav-item">
<img src="https://img.icons8.com/ios-glyphs/30/000000/plus-math.png" alt="Add">
</div>
<div class="nav-item">
<img src="https://img.icons8.com/ios-glyphs/30/000000/film-reel.png" alt="Reels">
</div>
<div class="nav-item">
<img class="profile-pic" src="https://randomuser.me/api/portraits/men/33.jpg" alt="Profile">
</div>
</div>
<!-- Kayan buton -->
<footer style="display: flex; justify-content: center; align-items: center; padding: 20px; background-color: #f8f9fa;">
<div style="border-radius: 12px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); background-color: #ffffff; padding: 15px 30px; text-align: center; max-width: 400px;">
<p style="margin: 0; font-family: Arial, sans-serif; color: #333; font-size: 14px;">
© <span id="year"></span> Geliştirci <b>Adil Oğuz</b>. Tüm hakları saklıdır.
</p>
</div>
</footer>
<script>
document.getElementById('year').textContent = new Date().getFullYear();
</script>
</body>
</html>