zinoubm commited on
Commit
606a5bd
·
1 Parent(s): b0abe84

adding vercel conf

Browse files
Files changed (2) hide show
  1. pages/auth_page.html +59 -0
  2. vercel.json +18 -0
pages/auth_page.html ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html>
2
+
3
+ <head>
4
+ <title>Button Page</title>
5
+ <link rel="preconnect" href="https://fonts.googleapis.com">
6
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
7
+ <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap" rel="stylesheet">
8
+ <style>
9
+ body {
10
+ background-color: #090F1E;
11
+ font-family: 'Poppins', sans-serif;
12
+
13
+ }
14
+
15
+ .button-wrapper {
16
+ height: 100vh;
17
+ display: flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ }
21
+
22
+ button {
23
+ border: none;
24
+ margin-right: 10px;
25
+ border-radius: 5px;
26
+ color: #090F1E;
27
+ font-weight: 400;
28
+ font-size: 1rem;
29
+ }
30
+
31
+ .integrate {
32
+ display: flex;
33
+
34
+ align-items: center;
35
+ }
36
+
37
+ .skip {
38
+ color: #95BDFF;
39
+ text-decoration: none;
40
+ }
41
+
42
+ img {
43
+ width: 2rem;
44
+ }
45
+ </style>
46
+ </head>
47
+
48
+ <body>
49
+ <div class="button-wrapper">
50
+ <div>
51
+ <button onclick="location.href='/auth'" class="integrate">
52
+ <img src="assets/google_logo.svg"> Integrate Google Cloud
53
+ </button>
54
+ </div>
55
+ <a class="skip" href="/gradio?__theme=dark">skip</a>
56
+ </div>
57
+ </body>
58
+
59
+ </html>
vercel.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 2,
3
+ "builds": [
4
+ {
5
+ "src": "main.py",
6
+ "use": "@vercel/python"
7
+ }
8
+ ],
9
+ "routes": [
10
+ {
11
+ "src": "/(.*)",
12
+ "dest": "/main.py"
13
+ }
14
+ ],
15
+ "env": {
16
+ "PYTHONUNBUFFERED": "1"
17
+ }
18
+ }