Skip to content

Commit 9851e3a

Browse files
author
Marty Wallace
committed
Pages.
1 parent 573baf2 commit 9851e3a

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"ignore": [
88
"package.json",
9-
"example.html",
9+
"index.html",
1010
"src"
1111
],
1212
"dependencies": {

docs/index.html renamed to index.html

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@
55
<title>Keyboard Demo</title>
66

77
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Itim">
8-
<link rel="stylesheet" href="../dist/vue-keyboard.css">
8+
<link rel="stylesheet" href="./dist/vue-keyboard.css">
99

1010
<style>
1111
body {
1212
font-family: 'Itim', sans-serif;
1313
text-align: center;
1414
}
1515

16+
header, footer {
17+
padding: 50px 0;
18+
}
19+
1620
h1 {
17-
margin: 50px 0;
1821
font-weight: normal;
1922
}
2023

@@ -39,19 +42,35 @@
3942
small {
4043
color: #999;
4144
}
45+
46+
a {
47+
color: #05C;
48+
text-decoration: none;
49+
}
50+
51+
a:hover {
52+
text-decoration: underline;
53+
}
4254
</style>
4355
</head>
4456
<body>
45-
<main>
57+
<header>
4658
<h1>Vue Keyboard</h1>
59+
</header>
4760

61+
<main>
4862
<p><pre>{{ input }}</pre></p>
4963
<p><small>{{ 16 - input.length }} char(s) left</small></p>
64+
5065
<keyboard v-model="input" @append="append" @custom="custom" chars="qwertyuiop{bksp:backspace}|asdfghjkl|zxcvbnm|{space:space}{custom:custom}" :maxlength="16"></keyboard>
5166
</main>
5267

68+
<footer>
69+
<a href="https://github.com/MartyWallace/vue-keyboard">GitHub</a>
70+
</footer>
71+
5372
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.3/vue.js"></script>
54-
<script src="../dist/vue-keyboard.js"></script>
73+
<script src="./dist/vue-keyboard.js"></script>
5574

5675
<script>
5776
var app = new Vue({

0 commit comments

Comments
 (0)