From 6e47be2fa865bcd51582ce30ebee6fd820c5f9dd Mon Sep 17 00:00:00 2001 From: Alexander Zoitos Date: Wed, 19 Aug 2020 22:38:43 -0400 Subject: [PATCH] feat(login component/route): add: Login Component and Route --- src/components/Login/index.tsx | 29 +++++++++++++++++++++++++++++ src/pages/login.tsx | 13 +++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 src/components/Login/index.tsx create mode 100644 src/pages/login.tsx diff --git a/src/components/Login/index.tsx b/src/components/Login/index.tsx new file mode 100644 index 00000000..e369f7c2 --- /dev/null +++ b/src/components/Login/index.tsx @@ -0,0 +1,29 @@ +import React from 'react'; +import PlexLoginButton from '../PlexLoginButton'; + +const Login: React.FC = () => { + return ( +
+
+
+ Overseerr +
+
+ would like to sign in to your Plex account +
+
+ + console.log(`auth token is: ${authToken}`) + } + /> +
+
+

+ ©2020 Overseerr. All rights reserved. +

+
+ ); +}; + +export default Login; diff --git a/src/pages/login.tsx b/src/pages/login.tsx new file mode 100644 index 00000000..5b390e2d --- /dev/null +++ b/src/pages/login.tsx @@ -0,0 +1,13 @@ +import React from 'react'; +import { NextPage } from 'next'; +import Login from '../components/Login'; + +const LoginPage: NextPage = () => { + return ( +
+ +
+ ); +}; + +export default LoginPage;