-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
111 lines (100 loc) · 4.63 KB
/
index.html
File metadata and controls
111 lines (100 loc) · 4.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WeChat Easy Chat</title>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- jscroot library -->
<script src="https://cdn.jsdelivr.net/gh/jscroot/lib@0.2.8/api.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jscroot/lib@0.2.8/cookie.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jscroot/lib@0.2.8/trace.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jscroot/lib@0.2.8/useragent.min.js"></script>
</head>
<body class="bg-gray-50 text-gray-800">
<!-- Navbar -->
<header class="bg-white shadow-md fixed top-0 left-0 right-0 z-50">
<div class="container mx-auto flex items-center justify-between px-6 py-4">
<div class="text-xl font-bold text-blue-600">WeChat Easy Chat</div>
<nav class="space-x-6">
<a href="#features" class="text-gray-600 hover:text-blue-600">Fitur</a>
<a href="#testimonials" class="text-gray-600 hover:text-blue-600">Testimoni</a>
<a href="#contact" class="text-gray-600 hover:text-blue-600">Kontak</a>
<a href="https://wechat-login.github.io/" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">Login</a>
</nav>
</div>
</header>
<!-- Hero Section -->
<section class="pt-32 pb-20 bg-gradient-to-r from-blue-500 to-indigo-600 text-white text-center">
<div class="container mx-auto px-4">
<h1 class="text-4xl font-extrabold mb-4">Chat Mudah, Aman & Cepat</h1>
<p class="mb-6">Platform chatting modern berbasis Fiber + MongoDB + JWT</p>
<a href="https://wechat-login.github.io/" class="bg-white text-blue-600 font-bold px-6 py-3 rounded-full hover:bg-gray-100 transition">Mulai Sekarang</a>
</div>
</section>
<!-- Features -->
<section id="features" class="py-16 bg-gray-100">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">Fitur Unggulan</h2>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded shadow hover:shadow-lg">
<h3 class="text-xl font-semibold text-blue-600 mb-2">Realtime Chat</h3>
<p>Kirim pesan instan antar pengguna dengan WebSocket.</p>
</div>
<div class="bg-white p-6 rounded shadow hover:shadow-lg">
<h3 class="text-xl font-semibold text-blue-600 mb-2">Keamanan Token</h3>
<p>Autentikasi JWT dan validasi token untuk setiap request API.</p>
</div>
<div class="bg-white p-6 rounded shadow hover:shadow-lg">
<h3 class="text-xl font-semibold text-blue-600 mb-2">User Profile</h3>
<p>Edit profil pengguna, avatar, dan informasi lainnya dengan API terpisah.</p>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section id="testimonials" class="py-16 bg-white">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold mb-12">Apa Kata Mereka</h2>
<div class="grid md:grid-cols-3 gap-8">
<div class="p-6 bg-gray-50 rounded shadow">
<p class="italic mb-4">"Platform ini sangat praktis untuk mengembangkan sistem chat!"</p>
<strong>- Dev A</strong>
</div>
<div class="p-6 bg-gray-50 rounded shadow">
<p class="italic mb-4">"Struktur backend dan frontend-nya rapi dan scalable."</p>
<strong>- Dev B</strong>
</div>
<div class="p-6 bg-gray-50 rounded shadow">
<p class="italic mb-4">"Integrasi JWT dan MongoDB-nya sangat cocok buat project startup."</p>
<strong>- Dev C</strong>
</div>
</div>
</div>
</section>
<!-- Contact CTA -->
<section id="contact" class="py-16 bg-blue-50">
<div class="container mx-auto text-center px-4">
<h2 class="text-3xl font-bold mb-4">Punya pertanyaan atau ingin kolaborasi?</h2>
<p class="mb-6">Hubungi kami untuk kerja sama pengembangan fitur lanjutan.</p>
<a href="mailto:admin@wechat-easy-chat.site" class="bg-blue-600 text-white px-6 py-3 rounded-full hover:bg-blue-700">Hubungi Kami</a>
</div>
</section>
<!-- Footer -->
<footer class="bg-white border-t py-6 text-center text-sm text-gray-500">
© 2025 WeChat Easy Chat. Dibangun oleh komunitas open source ❤️
</footer>
<!-- jscroot behavior demo -->
<script>
console.log("TraceID:", getTraceId());
console.log("User Agent:", getUserAgent());
const token = getCookie("token");
if (token) {
console.log("Token ditemukan:", token);
} else {
console.log("Belum login, silakan login terlebih dahulu.");
}
</script>
</body>
</html>