-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathindex.html
42 lines (36 loc) · 1.09 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="Description" content="Boilerplate for polaris chip">
<base href="/">
<style>
:root,
html,
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background-color: #ededed;
}
polaris-chip {
margin: 16px;
}
</style>
<title>polaris-chip / my-card</title>
</head>
<body>
<h1>polaris-chip</h1>
<!-- this is going to do whatever the tag's defaults are -->
<polaris-chip title="News of Record" link="https://psu.edu/"></polaris-chip>
<polaris-chip title="Faculty and Staff"></polaris-chip>
<polaris-chip title="Sports are the only thing that matter"></polaris-chip>
<polaris-chip title="Grants and donations"></polaris-chip>
<h1>my-card</h1>
<my-card></my-card>
<!-- this is what is bringing in the definition for this tag -->
<script type="module" src="./src/polaris-chip.js"></script>
<script type="module" src="./src/my-card.js"></script>
</body>
</html>