This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathindex.html
119 lines (102 loc) · 3.43 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Components | Demo | Codrops</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="css/fonts.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<sh-app>
<sh-sidebar></sh-sidebar>
<sh-main>
<sh-header>
<div slot="headline">Smart Home</div>
<div slot="sub-headline">Dashboard</div>
<nav slot="nav">
<a href="https://tympanus.net/codrops/?p=58877" target="_blank">Article</a>
<a href="https://github.com/sergejcodes/codrops-minze-demo" target="_blank">GitHub</a>
</nav>
</sh-header>
<sh-content>
<sh-welcome name="John Doe"></sh-welcome>
<sh-wrap headline="Stats">
<sh-card
top-line="GTM+1"
headline="Time"
value="10:42"
background="linear-gradient(220.64deg, #FDB4FF 0%, #FFC8D8 100%)"
></sh-card>
<sh-card
top-line="Outside"
headline="Temperature"
value="12°c"
background="linear-gradient(220.64deg, #C8F5FF 0%, #B4B4FF 100%)"
></sh-card>
<sh-card
top-line="Inside"
headline="Temperature"
value="20°c"
background="linear-gradient(220.64deg, #FFD3B4 0%, #FFC8C8 100%)"
></sh-card>
<sh-card
top-line="Outside"
headline="Humidity"
value="76%"
background="linear-gradient(220.64deg, #B4C4FF 0%, #E7C8FF 100%)"
></sh-card>
</sh-wrap>
<sh-wrap nowrap="true">
<sh-wrap headline="Quick actions" width="50%">
<sh-card
top-line="Lamps"
headline="Livingroom"
background="linear-gradient(220.64deg, #DDFFC2 0%, #A4FFC8 100%)"
>
<sh-switch></sh-switch>
</sh-card>
<sh-card
top-line="Lamps"
headline="Kitchen"
background="linear-gradient(220.64deg, #FFF5D0 0%, #FFD1C2 100%)"
>
<sh-switch></sh-switch>
</sh-card>
</sh-wrap>
<sh-wrap headline="Help" vertical="true" width="50%">
<sh-accordion>
<div slot="title">
Stats
</div>
<div slot="content">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur, similique!
</div>
</sh-accordion>
<sh-accordion>
<div slot="title">
Quick actions
</div>
<div slot="content">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur, similique!
</div>
</sh-accordion>
<sh-accordion>
<div slot="title">
Automations
</div>
<div slot="content">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur, similique!
</div>
</sh-accordion>
</sh-wrap>
</sh-wrap>
</sh-content>
</sh-main>
</sh-app>
<script src="js/minze.js" defer></script>
<script src="js/main.js" type="module"></script>
</body>
</html>