Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (67 loc) · 2 KB
/
Copy pathindex.html
File metadata and controls
70 lines (67 loc) · 2 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>nord-stepper Demo</title>
<link rel="stylesheet" href="https://nordcdn.net/ds/css/4.1.0/nord.min.css" crossorigin="anonymous" />
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
/* Base (Phones) */
.container {
width: 95vw;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0 auto;
padding: 1rem;
box-sizing: border-box;
}
/* Tablets */
@media (min-width: 600px) {
.container {
width: 66vw;
}
}
/* Desktops */
@media (min-width: 1024px) {
.container {
width: 50vw;
}
}
</style>
<script type="module" src="/src/index.ts"></script>
<script type="module" src="https://nordcdn.net/ds/components/4.4.0/index.js" crossorigin="anonymous"></script>
<script type="module">
const stepper = document.querySelector('nord-stepper');
stepper?.addEventListener('completed', () => {
console.log('stepper:completed')
})
</script>
</head>
<body>
<div class="container">
<nord-stepper total-steps="3">
<div slot="step-1">
<h2>Hi NordHealth</h2>
<p>You've just found your new Staff Engineer!</p>
</div>
<div slot="step-2">
<h2>Nice to meet you</h2>
<p>I look forward to working with you!</p>
</div>
<div slot="step-3">
<h2>Your design system is awesome</h2>
<p>Really awesome!</p>
</div>
</nord-stepper>
</div>
</body>
</html>