diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a93fed2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +# Common files +.DS_Store +node_modules/ +npm-debug.log + +# Build products +dist/ + +# Temporary files +oid_settings.json +nginx.conf diff --git a/Gruntfile.js b/Gruntfile.js index 5603698..8596904 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -47,6 +47,12 @@ module.exports = function (grunt) { cwd: './node_modules/bootstrap/', src: ['dist/**'], dest: './dist/app/assets/bootstrap/' + }, + { + expand: true, + cwd: './node_modules/oidc-client/', + src: ['dist/**'], + dest: './dist/app/assets/oidc-client/' } ] } diff --git a/app/components/input.jsx b/app/components/input.jsx new file mode 100644 index 0000000..5d924c6 --- /dev/null +++ b/app/components/input.jsx @@ -0,0 +1,27 @@ +import React from 'react'; + +// eslint-disable-next-line react/prefer-stateless-function +export default class Input extends React.Component { + render() { + return ( + + ); + } +} + +Input.propTypes = { + type: React.PropTypes.string, + placeholder: React.PropTypes.string, + value: React.PropTypes.string, +}; + +Input.defaultProps = { + type: 'text', + placeholder: '', + value: '', +}; diff --git a/app/index.html b/app/index.html index a2fa9e0..7f6808d 100644 --- a/app/index.html +++ b/app/index.html @@ -7,6 +7,7 @@