-
Notifications
You must be signed in to change notification settings - Fork 2
/
algolia.html
200 lines (170 loc) · 9.24 KB
/
algolia.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Try Algolia's power on your website in a single type">
<meta name="author" content="Pierre Aurèle Martin">
<meta property="og:url" content="http://pamart.in/algolia4you/algolia.html" />
<meta property="og:title" content="algolia-4-you" />
<meta property="og:description" content="Try Algolia's power on your website in a single type" />
<meta property="og:image" content="dist/img/algolia4you.jpg" />
<title>Algolia4you - Put your site!</title>
<link rel="apple-touch-icon" type="image/png" sizes="57x57" href="dist/img/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" type="image/png" sizes="60x60" href="dist/img/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" type="image/png" sizes="72x72" href="dist/img/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" type="image/png" sizes="76x76" href="dist/img/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" type="image/png" sizes="114x114" href="dist/img/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" type="image/png" sizes="120x120" href="dist/img/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" type="image/png" sizes="144x144" href="dist/img/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" type="image/png" sizes="152x152" href="dist/img/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="dist/img/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="dist/img/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="dist/img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="dist/img/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="dist/img/favicon/favicon-16x16.png">
<link href="//cdn.jsdelivr.net/npm/instantsearch.js@2.0.2/dist/instantsearch.min.css" rel="stylesheet" type="text/css" />
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="//fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css" />
<link href="dist/css/app.min.css" rel="stylesheet" type="text/css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container nav-container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
<img src="dist/img/favico.png" alt="My own algolia logo">
Try Algolia on your website in 0 click
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="nav-item dropdown" id="menu-dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Already worked for ∇</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="index.html">Put your own site!</a>
<a class="dropdown-item alg-index" href="#">Loading...</a>
</div>
</li>
<li>
<a class="navbar-brand" href="https://algolia.com" target="_blank">
Powered by
<img src="dist/img/algolia-logo.png" alt="Algolia logo" height="30">
</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<div class="row" id="navbar-disclaimer">
<div class="col-lg-12">
This site doesn't belong to Algolia and is an homemade project. <strong>Please,</strong> do not enter any confidential information in it.
</div>
</div>
<div class="container-fluid nav-padding">
<!-- Search Header -->
<div class="row" id="search-header">
<div class="col-lg-12">
<form id="ecommerce-form" class="form-inline text-center">
<input id="search-input" class="form-control" placeholder="Search on your site !" aria-label="Search on your site !" >
</form>
</div>
</div>
<div class="row pt-1">
<div class="col-lg-2">
<div id="refinements-container">
<div class="col-lg-12">
<div id="stats-container" class="refiner-container">
</div>
</div>
<div class="col-lg-12">
<div id="clear-all" class="refiner-container">
</div>
</div>
<div class="col-lg-12">
<div id="hierarchical-categories" class="refiner-container">
</div>
</div>
<div class="col-lg-12">
<div id="brands" class="refiner-container">
</div>
</div>
<div class="col-lg-12">
<div id="price" class="refiner-container">
</div>
</div>
</div>
</div>
<div class="col-lg-10">
<!-- Page Features -->
<div id="hits" class="text-center">
</div>
</div>
</div>
</div>
<!-- Templating hit -->
<script type="text/html" id="hit-template">
<div class="col-lg-3 col-md-6 mb-4">
<div class="card hit">
<div class="hit-image">
<a href="{{url}}" target="_blank">
<img class="card-img-top" src="{{image}}" alt="{{name}}">
</a>
</div>
<div class="card-body hit-content">
<h3 class="card-name hit-name">
<a href="{{url}}" target="_blank">
{{{_highlightResult.name.value}}}
</a>
<small> - {{price}}$</small>
</h3>
<h4 class="card-title">{{{_highlightResult.brand.value}}}</h4>
</div>
<div class="card-footer">
<a href="{{url}}" class="btn btn-primary" target="_blank">Find Out More!</a>
</div>
</div>
</div>
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="dist/js/app.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/algoliasearch@3/dist/algoliasearchLite.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/algoliasearch-helper@2.21.2/dist/algoliasearch.helper.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/instantsearch.js@2.0.2/dist/instantsearch.min.js"></script>
<script src="//cdn.jsdelivr.net/autocomplete.js/0/autocomplete.jquery.min.js"></script>
<script type="text/JavaScript">
var s;
(function(){
getIndices();
})();
$(document).ready(function(){
$(window).on('hashchange',function(){
var hash = location.hash.slice(1);
s.hashChange(hash);
});
s = new Search();
var hash = location.hash.slice(1);
s.hashChange(hash);
})
</script>
</body>
</html>