Commit
·
9d0f72c
1
Parent(s):
bed6687
Added image
Browse files- index.html +41 -0
index.html
CHANGED
@@ -5,6 +5,21 @@
|
|
5 |
<meta name="viewport" content="width=device-width" />
|
6 |
<title>My static Space</title>
|
7 |
<link rel="stylesheet" href="style.css" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
</head>
|
9 |
<body>
|
10 |
<div class="card">
|
@@ -15,5 +30,31 @@
|
|
15 |
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
16 |
</p>
|
17 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
</body>
|
19 |
</html>
|
|
|
5 |
<meta name="viewport" content="width=device-width" />
|
6 |
<title>My static Space</title>
|
7 |
<link rel="stylesheet" href="style.css" />
|
8 |
+
<style>
|
9 |
+
* {
|
10 |
+
margin: 0;
|
11 |
+
padding: 0;
|
12 |
+
}
|
13 |
+
.imgbox {
|
14 |
+
display: grid;
|
15 |
+
height: 100%;
|
16 |
+
}
|
17 |
+
.center-fit {
|
18 |
+
max-width: 100%;
|
19 |
+
max-height: 100vh;
|
20 |
+
margin: auto;
|
21 |
+
}
|
22 |
+
</style>
|
23 |
</head>
|
24 |
<body>
|
25 |
<div class="card">
|
|
|
30 |
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
31 |
</p>
|
32 |
</div>
|
33 |
+
<script>
|
34 |
+
window.addEventListener('mouseover', initLandbot, { once: true });
|
35 |
+
window.addEventListener('touchstart', initLandbot, { once: true });
|
36 |
+
var myLandbot;
|
37 |
+
function initLandbot() {
|
38 |
+
if (!myLandbot) {
|
39 |
+
var s = document.createElement('script');s.type = 'text/javascript';s.async = true;
|
40 |
+
s.addEventListener('load', function() {
|
41 |
+
var myLandbot = new Landbot.Livechat({
|
42 |
+
configUrl: 'https://storage.googleapis.com/landbot.pro/v3/H-1677293-Y0K9RDR7URVZ2OZ5/index.json',
|
43 |
+
customData:{
|
44 |
+
community_id:"64c021398b5ec4c9c36834b7",
|
45 |
+
tenant_id:"633350cffedddb117377e179",
|
46 |
+
community_name:"Arcade Apartments"
|
47 |
+
}
|
48 |
+
});
|
49 |
+
});
|
50 |
+
s.src = 'https://cdn.landbot.io/landbot-3/landbot-3.0.0.js';
|
51 |
+
var x = document.getElementsByTagName('script')[0];
|
52 |
+
x.parentNode.insertBefore(s, x);
|
53 |
+
}
|
54 |
+
}
|
55 |
+
</script>
|
56 |
+
<div class="imgbox">
|
57 |
+
<img src="ApartmentImage.png" alt="The Pierce Apartments" class="center-fit">
|
58 |
+
</div>
|
59 |
</body>
|
60 |
</html>
|