diff --git a/aries-site/src/components/Login.jsx b/aries-site/src/components/Login.jsx new file mode 100644 index 0000000000..8814aade26 --- /dev/null +++ b/aries-site/src/components/Login.jsx @@ -0,0 +1,51 @@ +import { + Form, + FormField, + TextInput, + Button, + Page, + PageContent, + PageHeader, +} from 'grommet'; +import PropTypes from 'prop-types'; + +export const Login = ({ setAuthenticated }) => { + return ( + + + +
{ + if (value.password === process.env.NEXT_PUBLIC_PASSWORD) { + localStorage.setItem('theme-update-demo', 'true'); + setAuthenticated(true); + } + }} + > + + + +