missing-person

A simple 404 page that displays missing persons data instead of the same ole 404

Usage no npm install needed!

<script type="module">
  import missingPerson from 'https://cdn.skypack.dev/missing-person';
</script>

README

missing-person-404

A simple 404 page that displays missing persons data instead of the same ole 404

NPM JavaScript Style Guide

Install

npm install --save missing-person

Usage

import React, { Component } from 'react'

import PageNotFound from 'missing-person'

class Example extends Component {
  render() {
    return <PageNotFound />
  }
}

Customizable features:

To change the background color of the header, buttons and button text:

<PageNotFound color='desired color value here' btnColor='purple' btnTxtColor='hot pink'>

To change search parameters to return children under the age of 18:

<PageNotFound child='true'>

Note that you must pass true as a string

The API will return 500 randomized records. The records are further randomized on the front end.

For any issues, or for feature requests please reach out to me:

rdturner40@gmail.com Git-hub: Too-Far Repo: Missing-Person

License

MIT © Too-Far