Skip to content

Commit

Permalink
add algolia search app
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Jul 24, 2021
1 parent 3918dda commit b765141
Show file tree
Hide file tree
Showing 12 changed files with 19,578 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/dist
/.cache

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
21 changes: 21 additions & 0 deletions web/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# elisp-demos

_This project was generated with [create-instantsearch-app](https://github.com/algolia/create-instantsearch-app) by [Algolia](https://algolia.com)._

## Get started

To run this project locally, install the dependencies and run the local server:

```sh
npm install
npm start
```

Alternatively, you may use [Yarn](https://http://yarnpkg.com/):

```sh
yarn
yarn start
```

Open http://localhost:3000 to see your app.
Binary file added web/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">

<link rel="manifest" href="./manifest.webmanifest">
<link rel="shortcut icon" href="./favicon.png">

<link rel="stylesheet" href="./src/index.css">
<link rel="stylesheet" href="./src/app.css">

<title>elisp-demos</title>
</head>

<body>
<header class="header">
<h1 class="header-title">
<a href="/">elisp-demos</a>
</h1>
</header>

<div class="container">
<div class="container-app">
<div class="filters"></div>

<div class="search-container">
<div id="searchBox">
<form role="search">
<input type="search" placeholder="Looking for?" />
</form>
</div>
<div id="hits"></div>
</div>
</div>
</div>

<script src="./src/app.js"></script>
</body>

</html>
15 changes: 15 additions & 0 deletions web/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "elisp-demos",
"name": "elisp-demos Sample",
"icons": [
{
"src": "favicon.png",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Loading

0 comments on commit b765141

Please sign in to comment.