-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
54 lines (44 loc) · 1 KB
/
demo.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
<!DOCTYPE html>
<html>
<style>
bbody {
height: 100%;
margin: 0;
padding: 0;
font-family: 'RobotoDraft', sans-serif;
}
</style>
<head>
<script src="components/platform/platform.js"></script>
<link rel="import" href="x-header.html">
<link rel="import" href="components/font-roboto/roboto.html">
</head>
<body style="background-color: #d2eecb">
<x-header id="header">
</x-header>
<script>
var header = document.getElementById('header');
links= [
{
"label": "About",
"url": "http://www.google.it"
},
{
"label": "Crew",
"url": "http://www.google.it"
},
{
"label": "Projects",
"url": "http://www.google.it"
},
{
"label": "Contact",
"url": "http://www.google.it"
}
];
header.links = links;
var brandUrl = '/demo.html';
header.brandUrl = brandUrl;
</script>
</body>
</html>