davanstrien HF Staff commited on
Commit
defa5fc
·
1 Parent(s): 00b47f4

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +22 -18
index.html CHANGED
@@ -1,21 +1,25 @@
1
  <!DOCTYPE html>
2
  <html>
3
- <head>
4
- <meta charset="utf-8" />
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">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- <script src="https://unpkg.com/mirador@latest/dist/mirador.min.js"></script>
17
- </p>
18
-
19
- </div>
20
- </body>
 
 
 
 
21
  </html>
 
1
  <!DOCTYPE html>
2
  <html>
3
+ <!-- By default uses Roboto font. Be sure to load this or change the font -->
4
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
5
+ <!-- Container element of Mirador whose id should be passed to the instantiating call as "id" -->
6
+ <div id="my-mirador"/>
7
+
8
+ <script type="text/javascript">
9
+ var mirador = Mirador.viewer({
10
+ "id": "my-mirador",
11
+ "manifests": {
12
+ "https://iiif.lib.harvard.edu/manifests/drs:48309543": {
13
+ "provider": "Harvard University"
14
+ }
15
+ },
16
+ "windows": [
17
+ {
18
+ "loadedManifest": "https://iiif.lib.harvard.edu/manifests/drs:48309543",
19
+ "canvasIndex": 2,
20
+ "thumbnailNavigationPosition": 'far-bottom'
21
+ }
22
+ ]
23
+ });
24
+ </script>
25
  </html>