-
Notifications
You must be signed in to change notification settings - Fork 0
/
Churchill.html
229 lines (218 loc) · 5.66 KB
/
Churchill.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
<!DOCTYPE html>
<script type="text/javascript" charset="utf-8">
(function (g, e, n, es, ys) {
g["_genesysJs"] = e;
g[e] =
g[e] ||
function () {
(g[e].q = g[e].q || []).push(arguments);
};
g[e].t = 1 * new Date();
g[e].c = es;
ys = document.createElement("script");
ys.async = 1;
ys.src = n;
ys.charset = "utf-8";
CXData = {
department: "motor",
product: "Car",
device: "mobile",
brand: "CHL",
Language: "English",
};
document.head.appendChild(ys);
ys.onload = function () {
window.Genesys("subscribe", "Messenger.ready", function () {
window.Genesys("subscribe", "MessagingService.ready", function () {
CXAttributes(CXData);
});
window.Genesys(
"subscribe",
"MessagingService.conversationDisconnected",
function () {
CXAttributes(CXData);
}
);
window.Genesys(
"subscribe",
"MessagingService.conversationCleared",
function () {
CXAttributes(CXData);
}
);
});
};
})(
window,
"Genesys",
"https://apps.mypurecloud.ie/genesys-bootstrap/genesys.min.js",
{
environment: "prod-euw2",
deploymentId: "785414ca-50b7-454f-8d34-778083e7f381",
}
);
function CXAttributes(o) {
if (!(typeof o === "object" && !Array.isArray(o) && o === Object(o)))
return;
console.log("Setting attributes: ", o);
window.Genesys("command", "Database.set", {
messaging: { customAttributes: o },
});
}
</script>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Churchill Insurance - Demo Homepage</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
/* Header and Navigation */
header {
background-color: #003087;
padding: 20px;
color: white;
text-align: center;
}
nav {
background-color: #001f5b;
padding: 10px 0;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 18px;
}
nav ul li a:hover {
color: #ffd700;
}
/* Hero Section */
.hero {
background: url("https://via.placeholder.com/1600x600") no-repeat center
center/cover;
color: white;
text-align: center;
padding: 100px 20px;
}
.hero h1 {
font-size: 48px;
margin: 0;
}
.hero p {
font-size: 24px;
margin-top: 10px;
}
.hero button {
background-color: #003087;
color: white;
border: none;
padding: 15px 30px;
font-size: 18px;
cursor: pointer;
margin-top: 20px;
}
.hero button:hover {
background-color: #002366;
}
/* Main Content */
.content {
display: flex;
justify-content: space-around;
margin: 40px 20px;
}
.content .box {
background-color: white;
padding: 20px;
width: 30%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}
.content .box h3 {
color: #003087;
}
.content .box p {
color: #333;
}
.content .box button {
background-color: #003087;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
}
.content .box button:hover {
background-color: #002366;
}
/* Footer */
footer {
background-color: #001f5b;
color: white;
text-align: center;
padding: 20px 0;
}
</style>
</head>
<body>
<!-- Header Section -->
<header>
<h1>Churchill Insurance</h1>
<p>We’ve got you covered, come rain or shine!</p>
</header>
<!-- Navigation -->
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Car Insurance</a></li>
<li><a href="#">Home Insurance</a></li>
<li><a href="#">Travel Insurance</a></li>
<li><a href="#">Pet Insurance</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</nav>
<!-- Hero Section -->
<div class="hero">
<h1>Get a Quote Today with Churchill</h1>
<p>Insurance made simple and hassle-free</p>
<button>Get a Quote</button>
</div>
<!-- Main Content Section -->
<div class="content">
<div class="box">
<h3>Car Insurance</h3>
<p>Protect your vehicle with our award-winning car insurance plans.</p>
<button>Learn More</button>
</div>
<div class="box">
<h3>Home Insurance</h3>
<p>
Keep your home and belongings safe with our home insurance policies.
</p>
<button>Learn More</button>
</div>
<div class="box">
<h3>Pet Insurance</h3>
<p>Ensure your pets get the care they deserve with Churchill.</p>
<button>Learn More</button>
</div>
</div>
<!-- Footer Section -->
<footer>
<p>© 2024 Churchill Insurance - All rights reserved.</p>
</footer>
</body>
</html>