forked from mhayes/vue-twentytwenty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (43 loc) · 1.32 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
<!DOCTYPE html>
<html>
<head>
<link href='//fonts.googleapis.com/css?family=Roboto:300,900,300italic' rel=stylesheet>
<link rel="stylesheet" href="demo/styles.css">
<link rel="stylesheet" href="//unpkg.com/vue-twentytwenty/dist/vue-twentytwenty.css">
</head>
<body>
<div id="content-wrapper">
<div class="header">
<header class="container">
<div class="hero">
<h1 class="name"><a href="/">vue-<b>twentytwenty</b></a></h1>
<h2 class="subheader">A nifty image comparison utility.</h2>
</div>
</header>
</div>
<div class="post">
<div id="app">
<TwentyTwenty
offset="0.7"
before="demo/before.jpg"
before-label="before"
after="demo/after.jpg"
after-label="after" />
</div>
<p><strong>tl;dr — A picture is worth a thousand words</strong></p>
</div>
</div>
<footer id="footer">
<div class="container">
<p style="padding-top: 20px;">2017 — <a href="https://markhay.es">markhay.es</a></p>
</div>
</footer>
<script src="//unpkg.com/vue@2"></script>
<script src="//unpkg.com/vue-twentytwenty/dist/vue-twentytwenty.js"></script>
<script>
new Vue({
el: '#app'
});
</script>
</body>
</html>