-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
103 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Meilisearch Demo</title> | ||
<title>Meilisearch demo</title> | ||
|
||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/alpinejs" defer></script> | ||
|
@@ -19,7 +19,7 @@ | |
<div | ||
class="u-flex u-gap-16 u-flex-justify-center u-margin-block-start-16" | ||
> | ||
<h1 class="heading-level-1">Meilisearch Demo</h1> | ||
<h1 class="heading-level-1">Meilisearch demo</h1> | ||
<code class="u-un-break-text"></code> | ||
</div> | ||
<p | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<!doctype html> | ||
<!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.0" /> | ||
<title>Meilisearch Demo</title> | ||
<title>Meilisearch demo</title> | ||
|
||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/alpinejs" defer></script> | ||
|
@@ -19,7 +19,7 @@ | |
<div | ||
class="u-flex u-gap-16 u-flex-justify-center u-margin-block-start-16" | ||
> | ||
<h1 class="heading-level-1">Meilisearch Demo</h1> | ||
<h1 class="heading-level-1">Meilisearch demo</h1> | ||
<code class="u-un-break-text"></code> | ||
</div> | ||
<p | ||
|
@@ -58,11 +58,11 @@ <h1 class="heading-level-1">Meilisearch Demo</h1> | |
</main> | ||
<script> | ||
const meilisearch = new MeiliSearch({ | ||
host: '{{MEILISEARCH_ENDPOINT}}', | ||
apiKey: '{{MEILISEARCH_SEARCH_API_KEY}}', | ||
host: "{{MEILISEARCH_ENDPOINT}}", | ||
apiKey: "{{MEILISEARCH_SEARCH_API_KEY}}", | ||
}); | ||
|
||
const index = meilisearch.index('{{MEILISEARCH_INDEX_NAME}}'); | ||
const index = meilisearch.index("{{MEILISEARCH_INDEX_NAME}}"); | ||
|
||
window.onSearch = async function (prompt) { | ||
return (await index.search(prompt)).hits; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ object Utils { | |
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Meilisearch Demo</title> | ||
<title>Meilisearch demo</title> | ||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/alpinejs" defer></script> | ||
|
@@ -41,7 +41,7 @@ object Utils { | |
<div | ||
class="u-flex u-gap-16 u-flex-justify-center u-margin-block-start-16" | ||
> | ||
<h1 class="heading-level-1">Meilisearch Demo</h1> | ||
<h1 class="heading-level-1">Meilisearch demo</h1> | ||
<code class="u-un-break-text"></code> | ||
</div> | ||
<p | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Meilisearch Demo</title> | ||
<title>Meilisearch demo</title> | ||
|
||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/alpinejs" defer></script> | ||
|
@@ -19,7 +19,7 @@ | |
<div | ||
class="u-flex u-gap-16 u-flex-justify-center u-margin-block-start-16" | ||
> | ||
<h1 class="heading-level-1">Meilisearch Demo</h1> | ||
<h1 class="heading-level-1">Meilisearch demo</h1> | ||
<code class="u-un-break-text"></code> | ||
</div> | ||
<p | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Algolia Search Demo</title> | ||
<title>Algolia Search demo</title> | ||
|
||
<script src="https://unpkg.com/[email protected]/dist/algoliasearch-lite.umd.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/instantsearch.production.min.js"></script> | ||
|
@@ -22,7 +22,7 @@ | |
<div | ||
class="u-flex u-gap-16 u-flex-justify-center u-margin-block-start-16" | ||
> | ||
<h1 class="heading-level-1">Algolia Search Demo</h1> | ||
<h1 class="heading-level-1">Algolia Search demo</h1> | ||
<code class="u-un-break-text"></code> | ||
</div> | ||
<p | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Meilisearch Demo</title> | ||
<title>Meilisearch demo</title> | ||
|
||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/alpinejs" defer></script> | ||
|
@@ -19,7 +19,7 @@ | |
<div | ||
class="u-flex u-gap-16 u-flex-justify-center u-margin-block-start-16" | ||
> | ||
<h1 class="heading-level-1">Meilisearch Demo</h1> | ||
<h1 class="heading-level-1">Meilisearch demo</h1> | ||
<code class="u-un-break-text"></code> | ||
</div> | ||
<p | ||
|
Oops, something went wrong.