-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (63 loc) · 2.01 KB
/
index.html
File metadata and controls
69 lines (63 loc) · 2.01 KB
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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.png" />
<link rel="stylesheet" href="https://dhbhdrzi4tiry.cloudfront.net/cdn/sites/foundation.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Simple jigsaw puzzle game.">
<meta name="theme-color" content="brisque">
<script>
window.puzzleConfig = {
puzzles: {
'puzzle-1c3r2': {
cols: 3,
rows: 2,
label: 'Puzzle 1 (3x2)'
},
'puzzle-2c4r4': {
cols: 4,
rows: 4,
label: 'Puzzle 2 (4x4)'
}
}
}
</script>
<title>Puzzle App</title>
</head>
<body>
<!-- Start Top Bar -->
<div class="top-bar">
<div class="top-bar-left">
<ul class="menu">
<li class="menu-text">
<img src="/favicon.png" alt="Jigsaw Puzzle Logo" style="height: 1em;">
Jigsaw Puzzle
</li>
<li><a href="//github.com/yuwash/jigsaw-puzzle">GitHub Repository</a></li>
<li><a href="/">About me</a></li>
</ul>
</div>
</div>
<!-- End Top Bar -->
<!-- We can now combine rows and columns when there's only one column in that row -->
<div class="row medium-8 large-7 columns">
<h1>Demo</h1>
<p>You can solve them by moving the tiles to the top area.</p>
<div class="blog-post">
<h2>3 × 2 Grid</h2>
<div class="puzzle" id="puzzle-1c3r2"></div>
</div>
<div class="blog-post">
<h2>4 × 4 Grid</h2>
<div class="puzzle" id="puzzle-2c4r4"></div>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://dhbhdrzi4tiry.cloudfront.net/cdn/sites/foundation.js"></script>
<script type="module" src="/src/main.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>