-
Notifications
You must be signed in to change notification settings - Fork 72
/
demo-header.html
47 lines (45 loc) · 1.33 KB
/
demo-header.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
<link rel="import" href="../polymer/polymer.html">
<dom-module id="demo-header">
<style>
header {
max-width: 790px;
background-color: #FFF;
padding: 1em;
margin: 1em auto;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}
.navbar {
background-color: #EEE;
border-radius: 5px
}
.menubutton {
display: inline-block;
padding: 1em 2em;
color: #000;
border-right: 1px solid #AAA;
text-decoration: none;
text-shadow: 1px 1px 0 #FFF;
}
.githubbutton {
border-left: 1px solid #AAA;
}
</style>
<template>
<header>
<h1><leaflet-map></h1>
<p>Leaflet map as web component.</p>
<div class="navbar">
<a class="menubutton demobutton" href="https://leaflet-extras.github.io/leaflet-map/demo.html">Demo</a>
<a class="menubutton apidocbutton" href="https://leaflet-extras.github.io/leaflet-map/doc.html#leaflet-map">API</a>
<a class="menubutton pluginbutton" href="https://leaflet-extras.github.io/leaflet-map/plugins.html">Plugins</a>
<a class="menubutton downloadbutton" href="https://github.com/leaflet-extras/leaflet-map/releases/download/v1.2.0/leaflet-map-1.2.0.zip">Download</a>
<a class="menubutton githubbutton" href="https://github.com/leaflet-extras/leaflet-map/">Github</a>
</div>
</header>
</template>
</dom-module>
<script>
Polymer({
is: 'demo-header'
});
</script>