-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (57 loc) · 3.01 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<head>
<title>My Giphy Site - Mario Melchor</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/styles.css">
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
<script src="https://unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.min.js"></script>
<script src="assets/js/app.js"></script>
</head>
<body>
<header class="site-header">
<div class="container">
<form id="form">
<div class="form-group clearfix">
<label for="add-tag-input" class="hidden">Add a Tag</label>
<input type="text" class="form-control input-lg" id="add-tag-input" placeholder="Search for a GIF">
<button id="add-tag-submit" type="submit" class="btn btn-success btn-lg"><span class="glyphicon glyphicon-search"></span></button>
</div><!-- /.form-group -->
</form><!-- /#form -->
</div><!-- /.container -->
</header><!-- /.site-header -->
<div class="site-container container-fluid">
<div class="row">
<div class="giphy-tags-col col-sm-12">
<div id="giphy-tags" class="text-center"></div><!-- /#giphy-tags -->
</div><!-- /.giphy-tags-col -->
<div class="col-sm-12">
<div id="giphy-row" class="row">
<div class="grid-sizer giphy-col col-xs-12 col-sm-6 col-md-4 col-lg-3"></div><!-- /.grid-sizer -->
</div><!-- /#giphy-row -->
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.site-container -->
<script id="giphy-template" type="text/x-handlebars-template">
<div class="giphy-col col-xs-12 col-sm-6 col-md-4 col-lg-3">
<div class="giphy-item">
<img data-gif="{{images.downsized.url}}" src="{{images.fixed_height_still.url}}" width="{{images.fixed_height_still.width}}" height="{{images.fixed_height_still.height}}" class="giphy-img media-fluid center-block">
<div class="giphy-meta">
<div class="giphy-user">
{{#if user }}
<img class="img-avatar" src="{{user.avatar_url}}" width="36"> {{user.display_name}}
{{else}}
<img class="img-avatar" src="https://media2.giphy.com/avatars/studiosoriginals/j3JBzK5twdv8.jpg" width="36"> Giphy
{{/if}}
</div>
<a href="{{bitly_url}}" class="giphy-link pull-right"><span class="glyphicon glyphicon-new-window"></span></a>
</div>
</div>
</div>
</script>
</body>
</html>