From b0295597481fa5afab5a44d6b2777293f044909c Mon Sep 17 00:00:00 2001
From: Jacopo Gasparetto <jacopo.gasparetto@cnaf.infn.it>
Date: Sat, 15 Apr 2023 16:44:21 +0200
Subject: [PATCH] Add Login page

---
 frontend/src/routes/Login/index.tsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 frontend/src/routes/Login/index.tsx

diff --git a/frontend/src/routes/Login/index.tsx b/frontend/src/routes/Login/index.tsx
new file mode 100644
index 0000000..1060477
--- /dev/null
+++ b/frontend/src/routes/Login/index.tsx
@@ -0,0 +1,15 @@
+import { Button } from "../../components/Button"
+
+interface LoginProps {
+  onClick: () => void
+}
+
+export const Login = ({ onClick }: LoginProps) => {
+  return (
+    <div className="bg-slate-100 w-1/3 m-auto p-8 shadow-lg mt-16 rounded-md">
+      <img className="mx-auto bg-gray-100 p-4" alt="" src="/logo530.png" />
+      <h1 className="mx-auto text-center text-4xl font-extrabold">Welcome</h1>
+      <Button onClick={onClick} className="p-8 mx-auto" title="Login with OpenID connect" />
+    </div>
+  )
+}
\ No newline at end of file
-- 
GitLab