-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
81 lines (77 loc) · 2.15 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light" />
<title>ACCESS Resource Catalog Development Prototype</title>
<link
rel="stylesheet"
id="google-font-archivo-css"
href="https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,70,400;0,100,400;0,100,500;0,100,600;0,100,700;0,100,800;1,100,400&display=swap"
media="all"
/>
<link rel="stylesheet" href="/src/base.css" />
<link rel="stylesheet" href="/src/icon.css" />
<style>
body {
color: #232323;
font-family: "Archivo", sans-serif;
margin: 0;
min-height: 100vh;
padding: 0;
}
@media (min-width: 768px) {
#main {
display: flex;
flex-direction: row;
justify-content: space-between;
}
#table-of-contents {
margin-left: 20px;
width: calc((var(--width) - 140px) / 4 + 20px);
}
#banner {
background-color: #fff3cd;
color: #856404;
padding: 12px calc((100% - var(--width)) / 2);
}
}
</style>
</head>
<body>
<div id="universal-menus"></div>
<div id="header"></div>
<div id="site-menus"></div>
<div id="main" class="container">
<div id="body">
<div id="resource-catalog"></div>
</div>
</div>
<div id="footer-menus"></div>
<div id="footer"></div>
<script type="module">
import {
footer,
header,
resourceCatalog,
tableOfContents,
universalMenuItems,
universalMenus,
} from "/src/index.jsx";
universalMenus({
loginUrl: "/login",
logoutUrl: "/logout",
target: document.getElementById("universal-menus"),
});
header({
target: document.getElementById("header"),
});
resourceCatalog({
baseUri: "/access-ci-ui",
target: document.getElementById("resource-catalog"),
});
footer({ target: document.getElementById("footer") });
</script>
</body>
</html>