-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlike.php
More file actions
179 lines (155 loc) · 6.69 KB
/
Copy pathlike.php
File metadata and controls
179 lines (155 loc) · 6.69 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>Cheeeeese</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.jsdelivr.net/npm/svg-pan-zoom@3.6.1/dist/svg-pan-zoom.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<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=Noto+Sans+JP:wght@300;400;500;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'navy-blue': '#18324F',
'light-pink': '#F5DCDC',
'soft-orange': '#F9A48B',
'light-teal': '#8ABEBD',
'japan-red': '#BC002D',
'mid-gray': '#444444',
'section-gray': '#f7f7f7'
},
fontFamily: {
'sans': ['Noto Sans JP', 'sans-serif']
}
}
}
}
</script>
</head>
<body class="font-sans bg-light-pink text-mid-gray overflow-x-hidden">
<!-- Header -->
<?php include 'header.php'; ?>
<!-- Liked Post -->
<main class="max-w-4xl mx-auto bg-[#f5dcdc] pb-20 px-4 pt-4 space-y-6">
<h1 class="text-xl font-bold mb-4 text-[#173953]">いいね一覧</h1>
<!-- Post Card -->
<div class="bg-[#ffecec] border border-gray-200 rounded-xl p-3 shadow-sm">
<!-- Header -->
<div class="flex items-center justify-between">
<div class="flex items-center space-x-3">
<img src="images/user1.png" alt="user avatar" class="w-10 h-10 rounded-full object-cover" />
<div>
<p class="font-semibold">といぷーどる</p>
</div>
</div>
<button><i class="fas fa-ellipsis-h text-gray-600"></i></button>
</div>
<!-- Caption -->
<p class="mt-3 text-sm text-gray-800">道頓堀にいきました</p>
<!-- Image -->
<div class="mt-3 rounded-lg overflow-hidden">
<img src="images/dotonbori.png" class="w-full object-cover" alt="Post image" />
</div>
<!-- Icons -->
<div class="flex items-center justify-between mt-3 text-gray-700">
<div class="flex space-x-4 text-lg">
<button><i class="fas fa-heart text-red-500"></i></button>
<button><i class="far fa-comment"></i></button>
<button><i class="fas fa-share"></i></button>
</div>
</div>
<!-- Hashtags -->
<div class="mt-2 text-sm text-gray-700 space-y-1">
<p>#道頓堀</p>
<p>#大阪旅行</p>
<p>#犬に届け</p>
</div>
</div>
<!-- Post Card -->
<div class="bg-[#ffecec] border border-gray-200 rounded-xl p-3 shadow-sm">
<!-- Header -->
<div class="flex items-center justify-between">
<div class="flex items-center space-x-3">
<img src="images/profile.png" alt="user avatar" class="w-10 h-10 rounded-full object-cover" />
<div>
<p class="font-semibold">柴田</p>
</div>
</div>
<button><i class="fas fa-ellipsis-h text-gray-600"></i></button>
</div>
<!-- Caption -->
<p class="mt-3 text-sm text-gray-800">よき</p>
<!-- Icons -->
<div class="flex items-center justify-between mt-3 text-gray-700">
<div class="flex space-x-4 text-lg">
<button><i class="fas fa-heart text-red-500"></i></button>
<button><i class="far fa-comment"></i></button>
<button><i class="fas fa-share"></i></button>
</div>
</div>
</div>
<!-- Post Card 2 -->
<div class="bg-[#ffecec] border border-gray-200 rounded-xl p-3 shadow-sm">
<!-- Header -->
<div class="flex items-center justify-between">
<div class="flex items-center space-x-3">
<img src="images/user2.png" alt="user avatar" class="w-10 h-10 rounded-full object-cover" />
<div>
<p class="font-semibold">ポメ沢</p>
</div>
</div>
<button><i class="fas fa-ellipsis-h text-gray-600"></i></button>
</div>
<!-- Caption -->
<p class="mt-3 text-sm text-gray-800">東京タワー!!</p>
<!-- Image -->
<div class="mt-3 rounded-lg overflow-hidden">
<img src="images/tokyo-tower.png" class="w-full object-cover" alt="Post image" />
</div>
<!-- Icons -->
<div class="flex items-center justify-between mt-3 text-gray-700">
<div class="flex space-x-4 text-lg">
<button><i class="fas fa-heart text-red-500"></i></button>
<button><i class="far fa-comment"></i></button>
<button><i class="fas fa-share"></i></button>
</div>
</div>
</div>
</main>
<!-- Footer -->
<?php include 'footer.php'; ?>
<script>
const menuToggle = document.getElementById('menuToggle');
const closeMenu = document.getElementById('closeMenu');
const mobileMenu = document.getElementById('mobileMenu');
menuToggle.addEventListener('click', () => {
mobileMenu.classList.add('open');
});
closeMenu.addEventListener('click', () => {
mobileMenu.classList.remove('open');
});
document.addEventListener('click', (e) => {
if (!mobileMenu.contains(e.target) && e.target !== menuToggle && mobileMenu.classList.contains('open')) {
mobileMenu.classList.remove('open');
}
});
</script>
<script>
const langButton = document.getElementById('langButton');
const langMenu = document.getElementById('langMenu');
langButton.addEventListener('click', function (e) {
e.stopPropagation();
langMenu.classList.toggle('hidden');
});
document.addEventListener('click', function () {
langMenu.classList.add('hidden');
});
</script>
</body>
</html>