-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
51 lines (49 loc) · 1.67 KB
/
test.html
File metadata and controls
51 lines (49 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KleenChat Test</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 40px 20px;
color: #1f2937;
line-height: 1.6;
}
h1 { font-size: 2rem; }
p { color: #4b5563; }
</style>
</head>
<body>
<h1>KleenChat Widget Test</h1>
<p>The floating chat widget should appear in the bottom-right corner after a short delay.</p>
<p>Click it to open the modal with channel links.</p>
<p>Press Escape or click outside the modal to close it.</p>
<h2>Test page content</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<script>
window.kleenchat = {
heading: "Chat with us ✌️",
subtitle: "Pick your favorite platform",
fabHeading: "Need help?",
fabSubtitle: "Real person here 👋",
ctaLabel: "Book a demo",
ctaUrl: "https://cal.com/example",
theme: { primaryColor: "#6366f1" },
};
</script>
<script
src="./dist/widget.js"
data-whatsapp="https://wa.me/1234567890"
data-slack="https://join.slack.com/example"
data-linkedin="https://linkedin.com/in/example"
data-telegram="https://t.me/example"
data-email="mailto:hello@example.com"
defer
></script>
</body>
</html>