File size: 887 Bytes
5c6149e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c80d2ea
 
 
 
 
9368f76
6cf264f
 
9368f76
c80d2ea
5c6149e
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
<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width" />
		<title>My static Space</title>
		<link rel="stylesheet" href="style.css" />
	</head>
	<body>
		<div class="card">
			<h1>Welcome to your static Space!</h1>
			<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
			<p>
				Also don't forget to check the
				<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
			</p>
		</div>
	</body>
    <script>
      let scrolling= false;

      setInterval(() => {
        scrolling = !scrolling;
        console.log("update scrolling", scrolling)
        window.parent?.postMessage({type: "SET_SCROLLING", enabled: scrolling}, "*")
        window.parent?.postMessage({type: "UPDATE_HASH", hash: "boo"}, "*")
      }, 1000)
    </script>
</html>