Skip to content

careerfairsystems/arkad-search-consumer-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Front end for consuming Arkad-Search data

Run project locally

npm install && npm start

How to mount

  1. Build static assets
npm install && npm run build
  1. Upload build/static folder to a static address

  2. Load frontend in desired website

Place this in html head

<link rel="stylesheet" type="text/css" href="PLACE_URL_TO_CSS_HERE">

Place this in the bottom of html body

<script 
    src="PLACE_URL_TO_JS_HERE" 
    mountNode="<id-of-dom-node-to-mount-on>"
    NoHitsText="<text-to-show-when-no-hits-are-found>" 
    NoQueryText="<text-to-show-when-no-query>"
    SearchingText="<text-to-show-when-searching>"
/>

Default values

mountNode: arkad-search-consumer-frontend
NoHitsText: No results found, try something else
NoQueryText: Welcome to Arkad Search! What are you looking for?
SearchingText: Searching...

About

A javascript which allows consumption of ARKAD-SEARCH data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published