-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKr.html
More file actions
315 lines (272 loc) · 7.59 KB
/
Kr.html
File metadata and controls
315 lines (272 loc) · 7.59 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Step 5 - Cost</title>
<style>
*, *::before, *::after {
box-sizing: border-box;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background:
linear-gradient(rgba(6, 158, 228, 0.1), rgba(255, 255, 255, 0.8)),
url('https://images.unsplash.com/photo-1586201375761-83865001e17b?auto=format&fit=crop&w=1350&q=80') no-repeat center center;
background-size: cover;
background-attachment: fixed;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
}
.container {
background-color: rgba(255, 255, 255, 0.95);
padding: 4rem 5rem;
border-radius: 1.5rem;
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
max-width: 900px;
width: 90%;
text-align: center;
margin-top: 1rem;
}
h2#heading {
font-size: 1.8rem;
font-weight: 600;
color: rgb(60, 60, 60);
margin-bottom: 1.5rem;
}
#result {
font-size: 2rem;
font-weight: bold;
color: #f16e84;
margin-top: 1.5rem;
margin-bottom: 2rem;
}
#resulti {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
color: #000;
border-radius: 20px;
padding: 10px 18px;
font-weight: bold;
font-size: 15px;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
background-color: #fff;
user-select: none;
}
.whatsapp-icon {
position: fixed;
bottom: 8rem;
right: 10px;
z-index: 1000;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #25D366;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.whatsapp-icon img {
width: 30px;
height: 30px;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
}
th, td {
text-align: left;
padding: 10px 9rem;
border-bottom: 1px solid #ccc;
}
th {
background-color: #f2f2f2;
color: #333;
}
td {
background-color: #fff;
}
.note {
margin: 2rem auto;
max-width: 900px;
width: 90%;
font-size: 0.9rem;
color: #555;
background-color: rgba(255, 255, 255, 0.85);
border-radius: 1rem;
padding: 1rem 1.5rem;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
text-align: center;
line-height: 1.6;
}
@media(max-width: 768px) {
.container {
padding: 1.5rem;
}
h2#heading {
font-size: 0.9rem;
}
#result {
font-size: 0.7rem;
}
table {
display: block;
overflow-x: auto;
}
th, td {
padding: 10px 1rem;
white-space: nowrap;
font-size: 0.7rem;
}
#resulti {
top: 10px;
right: 10px;
font-size: 0.7rem;
padding: 6px 10px;
}
.note {
font-size: 0.61rem;
padding: 0.8rem 1rem;
}
}
.Link-1, .Link-2, .Link-3 {
position: fixed;
right: 25px;
z-index: 1000;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #09335e;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.Link-1 { bottom: 35rem; }
.Link-2 { bottom: 30rem; }
.Link-3 { bottom: 25rem; }
.Link-1 img, .Link-2 img, .Link-3 img {
width: 30px;
height: 30px;
}
@media (max-width: 700px) {
.Link-1, .Link-2, .Link-3 {
width: 36px;
height: 36px;
right: 10px;
}
.Link-1 { bottom: 12rem; }
.Link-2 { bottom: 8rem; }
.Link-3 { bottom: 4rem; }
.Link-1 img, .Link-2 img, .Link-3 img {
width: 18px;
height: 18px;
}
}
</style>
<script>
setTimeout(() => {
document.getElementById('resulti').innerHTML = '🎉 Congratulations! It’s Time To Contact Us';
}, 1000);
function calculateCost() {
const KitchenType = localStorage.getItem('KitchenType');
const length = parseFloat(localStorage.getItem('length')) || 0;
let area = length * 5;
const rates = {
'Standard Kitchen': 1350,
'Luxury Kitchen': 1950,
'Super Luxury Kitchen': 2300,
};
const rate = rates[KitchenType + ' Kitchen'] || 0;
const totalCost = rate * area;
document.getElementById('heading').textContent = `Estimation for ${KitchenType} Kitchen`;
document.getElementById('result').textContent = `Total Cost: ₹${totalCost.toLocaleString()}`;
const features = {
Standard: {
"Length (ft)": `${length}`,
"Base Material": "Plywood",
"Laminate": "0.8mm thick",
"Linear": "Yes",
"Hardware": "Basic",
"Electrical Appliances": "Charge Extra",
"Tiles & Granite Work": "Charge Extra",
"Plywood Work": "18mm per BWR grade",
"Bucket": "Up to 3",
"Accessories": "Charge Extra"
},
Luxury: {
"Length (ft)": `${length}`,
"Base Material": "710 grade plywood",
"Shutter Material": "HDMR",
"Laminate": "PVC",
"Linear": "Yes",
"Hardware": "Soft-close",
"Electrical Appliances": "Charge Extra",
"Tiles & Granite Work": "Charge Extra",
"Plywood Work": "Included",
"Tandem": "Up to 5",
"Glass shutter": "Charge Extra",
"Accessories": "Premium Basic"
},
"Super Luxury": {
"Length (ft)": `${length}`,
"Base Material": "Boilo",
"Laminate": "Acrylic",
"Linear": "Yes",
"Hardware": "Soft-close + Premium",
"Electrical Appliances": "Charge Extra",
"Tiles & Granite Work": "Designer Range",
"Glass Shutter": "Optional",
"Tandem": "Up to 7 (As per design)",
"Accessories": "Tandem Drawers",
"Edges": "1.5mm Binding",
"Binding Quality": "Premium"
}
};
const selected = features[KitchenType];
const tableBody = document.getElementById('feature-table-body');
tableBody.innerHTML = '';
for (const key in selected) {
const row = document.createElement('tr');
row.innerHTML = `<td>${key}</td><td>${selected[key]}</td>`;
tableBody.appendChild(row);
}
}
</script>
</head>
<body onload="calculateCost()">
<div id="resulti"></div>
<div class="container">
<h2 id="heading"></h2>
<div id="result"></div>
<table>
<thead>
<tr>
<th>Specification</th>
<th>Details</th>
</tr>
</thead>
<tbody id="feature-table-body"></tbody>
</table>
</div>
<a href="https://wa.me/+919506423475" target="_blank" class="Link-3">
<img src="https://img.icons8.com/ios-filled/50/ffffff/whatsapp.png" alt="WhatsApp" >
</a>
<div class="note">
<strong>Note:</strong><br>
The estimated cost shown is indicative and based on average client expenditures. Actual pricing may vary depending on factors such as choice of finishes, quantity of furniture, scope of civil work (including painting, flooring, plumbing), design complexity, and material selection. Our expert designers will guide you through every detail to ensure clarity and transparency.
</div>
</body>
</html>