Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 52.14.176.111
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
qptran /
static /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
0.69926822.chunk.js
39.24
KB
-rw-rw-r--
0.69926822.chunk.js.map
195.71
KB
-rw-rw-r--
0.d0d1de1c.chunk.js
39.26
KB
-rw-rw-r--
0.d0d1de1c.chunk.js.map
195.71
KB
-rw-rw-r--
1.2c4420a7.chunk.js
2.55
KB
-rw-rw-r--
1.2c4420a7.chunk.js.map
9.21
KB
-rw-rw-r--
1.b84def81.chunk.js
2.57
KB
-rw-rw-r--
1.b84def81.chunk.js.map
9.21
KB
-rw-rw-r--
10.2c293975.chunk.js
23.49
KB
-rw-rw-r--
10.2c293975.chunk.js.map
47.57
KB
-rw-rw-r--
10.accea937.chunk.js
23.49
KB
-rw-r--r--
10.accea937.chunk.js.map
47.57
KB
-rw-r--r--
10.d461accd.chunk.js
23.51
KB
-rw-rw-r--
10.d461accd.chunk.js.map
47.57
KB
-rw-rw-r--
10.eba79e80.chunk.js
23.47
KB
-rw-r--r--
10.eba79e80.chunk.js.map
47.53
KB
-rw-r--r--
11.4fde32ed.chunk.js
18.55
KB
-rw-r--r--
11.4fde32ed.chunk.js.map
44.96
KB
-rw-r--r--
11.7e7b88eb.chunk.js
18.56
KB
-rw-rw-r--
11.7e7b88eb.chunk.js.map
45.04
KB
-rw-rw-r--
11.ab0dc695.chunk.js
18.56
KB
-rw-r--r--
11.ab0dc695.chunk.js.map
45.04
KB
-rw-r--r--
11.b9e137ad.chunk.js
18.58
KB
-rw-rw-r--
11.b9e137ad.chunk.js.map
45.04
KB
-rw-rw-r--
12.7e58117e.chunk.js
9.96
KB
-rw-rw-r--
12.7e58117e.chunk.js.map
49.95
KB
-rw-rw-r--
12.e92632f3.chunk.js
9.98
KB
-rw-rw-r--
12.e92632f3.chunk.js.map
49.95
KB
-rw-rw-r--
13.361e1d16.chunk.js
15.81
KB
-rw-rw-r--
13.361e1d16.chunk.js.map
37.87
KB
-rw-rw-r--
13.4aed36b2.chunk.js
15.79
KB
-rw-rw-r--
13.4aed36b2.chunk.js.map
37.87
KB
-rw-rw-r--
13.5a58d2f5.chunk.js
15.79
KB
-rw-r--r--
13.5a58d2f5.chunk.js.map
37.87
KB
-rw-r--r--
13.c8a9399a.chunk.js
15.78
KB
-rw-r--r--
13.c8a9399a.chunk.js.map
37.79
KB
-rw-r--r--
14.1356d0de.chunk.js
18.04
KB
-rw-r--r--
14.1356d0de.chunk.js.map
42.46
KB
-rw-r--r--
14.52c7fe69.chunk.js
18.04
KB
-rw-rw-r--
14.52c7fe69.chunk.js.map
42.46
KB
-rw-rw-r--
14.938a7c7f.chunk.js
18.06
KB
-rw-rw-r--
14.938a7c7f.chunk.js.map
42.46
KB
-rw-rw-r--
14.d97212a3.chunk.js
18.03
KB
-rw-r--r--
14.d97212a3.chunk.js.map
42.39
KB
-rw-r--r--
15.194bd9c2.chunk.js
11.12
KB
-rw-rw-r--
15.194bd9c2.chunk.js.map
13.13
KB
-rw-rw-r--
15.24bd0a62.chunk.js
11.14
KB
-rw-rw-r--
15.24bd0a62.chunk.js.map
13.13
KB
-rw-rw-r--
15.86187e01.chunk.js
11.11
KB
-rw-r--r--
15.86187e01.chunk.js.map
13.09
KB
-rw-r--r--
15.c6130058.chunk.js
11.12
KB
-rw-r--r--
15.c6130058.chunk.js.map
13.13
KB
-rw-r--r--
16.1785fdd6.chunk.js
15.91
KB
-rw-rw-r--
16.1785fdd6.chunk.js.map
38.09
KB
-rw-rw-r--
16.5d1e5299.chunk.js
15.93
KB
-rw-rw-r--
16.5d1e5299.chunk.js.map
38.09
KB
-rw-rw-r--
16.d7faeea6.chunk.js
15.89
KB
-rw-r--r--
16.d7faeea6.chunk.js.map
38.02
KB
-rw-r--r--
16.f9fb1507.chunk.js
15.91
KB
-rw-r--r--
16.f9fb1507.chunk.js.map
38.09
KB
-rw-r--r--
17.5fb5fde5.chunk.js
22.19
KB
-rw-r--r--
17.5fb5fde5.chunk.js.map
25.69
KB
-rw-r--r--
17.7e971def.chunk.js
22.2
KB
-rw-rw-r--
17.7e971def.chunk.js.map
25.75
KB
-rw-rw-r--
17.9246f7f3.chunk.js
22.2
KB
-rw-r--r--
17.9246f7f3.chunk.js.map
25.75
KB
-rw-r--r--
17.b47076a6.chunk.js
22.22
KB
-rw-rw-r--
17.b47076a6.chunk.js.map
25.75
KB
-rw-rw-r--
18.66540caf.chunk.js
14.91
KB
-rw-rw-r--
18.66540caf.chunk.js.map
36.66
KB
-rw-rw-r--
18.bc74fb4f.chunk.js
14.89
KB
-rw-r--r--
18.bc74fb4f.chunk.js.map
36.66
KB
-rw-r--r--
18.db962db2.chunk.js
14.89
KB
-rw-rw-r--
18.db962db2.chunk.js.map
36.66
KB
-rw-rw-r--
19.218cf290.chunk.js
14.54
KB
-rw-rw-r--
19.218cf290.chunk.js.map
35.38
KB
-rw-rw-r--
19.4c1783fb.chunk.js
14.56
KB
-rw-rw-r--
19.4c1783fb.chunk.js.map
35.38
KB
-rw-rw-r--
19.4cf0a8b7.chunk.js
14.54
KB
-rw-r--r--
19.4cf0a8b7.chunk.js.map
35.38
KB
-rw-r--r--
2.da67344f.chunk.js
58.2
KB
-rw-rw-r--
2.da67344f.chunk.js.map
233.42
KB
-rw-rw-r--
2.fd7ab139.chunk.js
58.18
KB
-rw-rw-r--
2.fd7ab139.chunk.js.map
233.42
KB
-rw-rw-r--
20.4b8316df.chunk.js
14.87
KB
-rw-r--r--
20.4b8316df.chunk.js.map
36.64
KB
-rw-r--r--
20.d0962de5.chunk.js
14.89
KB
-rw-rw-r--
20.d0962de5.chunk.js.map
36.64
KB
-rw-rw-r--
20.fe8c99dd.chunk.js
14.87
KB
-rw-rw-r--
20.fe8c99dd.chunk.js.map
36.64
KB
-rw-rw-r--
21.2fe4525d.chunk.js
14.88
KB
-rw-r--r--
21.2fe4525d.chunk.js.map
36.64
KB
-rw-r--r--
21.8f752462.chunk.js
14.9
KB
-rw-rw-r--
21.8f752462.chunk.js.map
36.64
KB
-rw-rw-r--
21.a57e73e8.chunk.js
14.88
KB
-rw-rw-r--
21.a57e73e8.chunk.js.map
36.64
KB
-rw-rw-r--
22.0077b13a.chunk.js
15.2
KB
-rw-rw-r--
22.0077b13a.chunk.js.map
56.78
KB
-rw-rw-r--
22.96f0613d.chunk.js
15.18
KB
-rw-rw-r--
22.96f0613d.chunk.js.map
56.78
KB
-rw-rw-r--
23.5c7a32e9.chunk.js
15.18
KB
-rw-rw-r--
23.5c7a32e9.chunk.js.map
56.78
KB
-rw-rw-r--
23.bc15b2f5.chunk.js
15.2
KB
-rw-rw-r--
23.bc15b2f5.chunk.js.map
56.78
KB
-rw-rw-r--
24.5ffade49.chunk.js
15.18
KB
-rw-rw-r--
24.5ffade49.chunk.js.map
56.78
KB
-rw-rw-r--
24.f185a309.chunk.js
15.2
KB
-rw-rw-r--
24.f185a309.chunk.js.map
56.78
KB
-rw-rw-r--
25.1f81e424.chunk.js
15.18
KB
-rw-rw-r--
25.1f81e424.chunk.js.map
56.78
KB
-rw-rw-r--
25.ba55dd0e.chunk.js
15.2
KB
-rw-rw-r--
25.ba55dd0e.chunk.js.map
56.78
KB
-rw-rw-r--
26.489bda12.chunk.js
1.13
KB
-rw-rw-r--
26.489bda12.chunk.js.map
2.69
KB
-rw-rw-r--
26.4be325fb.chunk.js
1.11
KB
-rw-r--r--
26.4be325fb.chunk.js.map
2.66
KB
-rw-r--r--
26.5283890f.chunk.js
1.15
KB
-rw-rw-r--
26.5283890f.chunk.js.map
2.69
KB
-rw-rw-r--
26.5e323fdd.chunk.js
1.13
KB
-rw-r--r--
26.5e323fdd.chunk.js.map
2.69
KB
-rw-r--r--
27.03344838.chunk.js
11.14
KB
-rw-rw-r--
27.03344838.chunk.js.map
12.41
KB
-rw-rw-r--
27.c96f1958.chunk.js
11.14
KB
-rw-r--r--
27.c96f1958.chunk.js.map
12.41
KB
-rw-r--r--
27.d9d59016.chunk.js
11.16
KB
-rw-rw-r--
27.d9d59016.chunk.js.map
12.41
KB
-rw-rw-r--
27.f7d8aac1.chunk.js
11.13
KB
-rw-r--r--
27.f7d8aac1.chunk.js.map
12.37
KB
-rw-r--r--
28.0ce8dd6f.chunk.js
11.94
KB
-rw-r--r--
28.0ce8dd6f.chunk.js.map
14.16
KB
-rw-r--r--
28.8a7c4a96.chunk.js
11.96
KB
-rw-r--r--
28.8a7c4a96.chunk.js.map
14.2
KB
-rw-r--r--
28.9801c858.chunk.js
11.96
KB
-rw-rw-r--
28.9801c858.chunk.js.map
14.2
KB
-rw-rw-r--
28.b1608e02.chunk.js
11.97
KB
-rw-rw-r--
28.b1608e02.chunk.js.map
14.2
KB
-rw-rw-r--
29.0756b948.chunk.js
11.83
KB
-rw-r--r--
29.0756b948.chunk.js.map
13.8
KB
-rw-r--r--
29.2cb8151c.chunk.js
11.83
KB
-rw-rw-r--
29.2cb8151c.chunk.js.map
13.8
KB
-rw-rw-r--
29.f90bd001.chunk.js
11.85
KB
-rw-rw-r--
29.f90bd001.chunk.js.map
13.8
KB
-rw-rw-r--
29.fa55bb9b.chunk.js
11.81
KB
-rw-r--r--
29.fa55bb9b.chunk.js.map
13.76
KB
-rw-r--r--
3.08025d9e.chunk.js
15.18
KB
-rw-rw-r--
3.08025d9e.chunk.js.map
56.78
KB
-rw-rw-r--
3.a105a9fc.chunk.js
15.2
KB
-rw-rw-r--
3.a105a9fc.chunk.js.map
56.78
KB
-rw-rw-r--
30.4a6d5636.chunk.js
10.57
KB
-rw-r--r--
30.4a6d5636.chunk.js.map
10.14
KB
-rw-r--r--
30.56808ad1.chunk.js
10.59
KB
-rw-rw-r--
30.56808ad1.chunk.js.map
10.14
KB
-rw-rw-r--
30.765fb11b.chunk.js
10.57
KB
-rw-rw-r--
30.765fb11b.chunk.js.map
10.14
KB
-rw-rw-r--
30.9b264ce1.chunk.js
10.56
KB
-rw-r--r--
30.9b264ce1.chunk.js.map
10.1
KB
-rw-r--r--
31.1ebbc726.chunk.js
12.22
KB
-rw-r--r--
31.1ebbc726.chunk.js.map
14.73
KB
-rw-r--r--
31.336d1753.chunk.js
12.2
KB
-rw-r--r--
31.336d1753.chunk.js.map
14.7
KB
-rw-r--r--
31.a7b887a2.chunk.js
12.22
KB
-rw-rw-r--
31.a7b887a2.chunk.js.map
14.73
KB
-rw-rw-r--
31.ff2b6e8b.chunk.js
12.24
KB
-rw-rw-r--
31.ff2b6e8b.chunk.js.map
14.73
KB
-rw-rw-r--
32.87c02a01.chunk.js
12.6
KB
-rw-r--r--
32.87c02a01.chunk.js.map
15.11
KB
-rw-r--r--
32.b3c207c9.chunk.js
12.6
KB
-rw-rw-r--
32.b3c207c9.chunk.js.map
15.11
KB
-rw-rw-r--
32.b58b7c58.chunk.js
12.62
KB
-rw-rw-r--
32.b58b7c58.chunk.js.map
15.11
KB
-rw-rw-r--
32.c498ce39.chunk.js
12.59
KB
-rw-r--r--
32.c498ce39.chunk.js.map
15.08
KB
-rw-r--r--
33.32736bdc.chunk.js
11.41
KB
-rw-rw-r--
33.32736bdc.chunk.js.map
12.95
KB
-rw-rw-r--
33.8e2e0229.chunk.js
11.39
KB
-rw-rw-r--
33.8e2e0229.chunk.js.map
12.95
KB
-rw-rw-r--
33.a5bc85ff.chunk.js
11.39
KB
-rw-r--r--
33.a5bc85ff.chunk.js.map
12.95
KB
-rw-r--r--
33.a94d37fe.chunk.js
11.38
KB
-rw-r--r--
33.a94d37fe.chunk.js.map
12.91
KB
-rw-r--r--
34.3d802237.chunk.js
53.1
KB
-rw-r--r--
34.3d802237.chunk.js.map
214.59
KB
-rw-r--r--
34.ee83110c.chunk.js
53.1
KB
-rw-rw-r--
34.ee83110c.chunk.js.map
214.58
KB
-rw-rw-r--
34.eef1fc62.chunk.js
53.12
KB
-rw-rw-r--
34.eef1fc62.chunk.js.map
214.58
KB
-rw-rw-r--
35.4df074bd.chunk.js
10.2
KB
-rw-r--r--
35.4df074bd.chunk.js.map
8.17
KB
-rw-r--r--
35.767f6660.chunk.js
10.3
KB
-rw-rw-r--
35.767f6660.chunk.js.map
8.49
KB
-rw-rw-r--
35.e1e7b81d.chunk.js
10.32
KB
-rw-rw-r--
35.e1e7b81d.chunk.js.map
8.49
KB
-rw-rw-r--
35.f38a1a73.chunk.js
10.3
KB
-rw-r--r--
35.f38a1a73.chunk.js.map
8.49
KB
-rw-r--r--
6.3877be8c.chunk.js
454.64
KB
-rw-rw-r--
6.3877be8c.chunk.js.map
1.74
MB
-rw-rw-r--
6.92f7417b.chunk.js
454.64
KB
-rw-r--r--
6.92f7417b.chunk.js.map
1.74
MB
-rw-r--r--
6.ee60ca93.chunk.js
454.66
KB
-rw-rw-r--
6.ee60ca93.chunk.js.map
1.74
MB
-rw-rw-r--
7.770ebe73.chunk.js
57.91
KB
-rw-r--r--
7.770ebe73.chunk.js.map
63.41
KB
-rw-r--r--
7.83852126.chunk.js
57.72
KB
-rw-r--r--
7.83852126.chunk.js.map
62.66
KB
-rw-r--r--
7.b67db582.chunk.js
57.91
KB
-rw-rw-r--
7.b67db582.chunk.js.map
63.41
KB
-rw-rw-r--
7.fd82704b.chunk.js
57.92
KB
-rw-rw-r--
7.fd82704b.chunk.js.map
63.41
KB
-rw-rw-r--
8.1d9c2cc7.chunk.js
18.08
KB
-rw-r--r--
8.1d9c2cc7.chunk.js.map
45.77
KB
-rw-r--r--
8.5009d97d.chunk.js
18.08
KB
-rw-rw-r--
8.5009d97d.chunk.js.map
45.77
KB
-rw-rw-r--
8.6a23ed7d.chunk.js
18.1
KB
-rw-rw-r--
8.6a23ed7d.chunk.js.map
45.77
KB
-rw-rw-r--
8.d9837dd3.chunk.js
18.07
KB
-rw-r--r--
8.d9837dd3.chunk.js.map
45.7
KB
-rw-r--r--
9.26a35738.chunk.js
15.91
KB
-rw-rw-r--
9.26a35738.chunk.js.map
38.5
KB
-rw-rw-r--
9.64ce3f4d.chunk.js
15.89
KB
-rw-r--r--
9.64ce3f4d.chunk.js.map
38.5
KB
-rw-r--r--
9.6ce53139.chunk.js
15.88
KB
-rw-r--r--
9.6ce53139.chunk.js.map
38.43
KB
-rw-r--r--
9.82e71713.chunk.js
15.89
KB
-rw-rw-r--
9.82e71713.chunk.js.map
38.5
KB
-rw-rw-r--
main.470a9728.chunk.js
191.32
KB
-rw-rw-r--
main.470a9728.chunk.js.map
215.4
KB
-rw-rw-r--
main.7dbaa353.chunk.js
191.52
KB
-rw-rw-r--
main.7dbaa353.chunk.js.map
215.81
KB
-rw-rw-r--
main.8ce0deb5.chunk.js
191.43
KB
-rw-r--r--
main.8ce0deb5.chunk.js.map
215.64
KB
-rw-r--r--
main.f4296309.chunk.js
191.43
KB
-rw-rw-r--
main.f4296309.chunk.js.map
215.68
KB
-rw-rw-r--
main.fb9fe8de.chunk.js
191.45
KB
-rw-r--r--
main.fb9fe8de.chunk.js.map
215.75
KB
-rw-r--r--
main.fedf15a4.chunk.js
191.5
KB
-rw-rw-r--
main.fedf15a4.chunk.js.map
215.81
KB
-rw-rw-r--
runtime~main.089df643.js
3.99
KB
-rw-rw-r--
runtime~main.089df643.js.map
17.3
KB
-rw-rw-r--
runtime~main.0f6169a9.js
3.99
KB
-rw-r--r--
runtime~main.0f6169a9.js.map
17.3
KB
-rw-r--r--
runtime~main.23bf6665.js
4.05
KB
-rw-rw-r--
runtime~main.23bf6665.js.map
17.37
KB
-rw-rw-r--
runtime~main.7bbd8cb4.js
3.99
KB
-rw-r--r--
runtime~main.7bbd8cb4.js.map
17.3
KB
-rw-r--r--
runtime~main.bd6db2a7.js
3.99
KB
-rw-r--r--
runtime~main.bd6db2a7.js.map
17.3
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 35.f38a1a73.chunk.js.map
{"version":3,"sources":["app/login/index.js"],"names":["Login","props","history","useHistory","match","path","localStorage","setItem","useState","univName","setUnivName","useEffect","API","get","getItem","headers","res","data","FUNIVNAME","console","log","loaduniv","username","setusername","paswword","setpassword","handleSubmit","Swal","fire","error_code","token","loginfo","push","msg","logo","style","backgroundColor","borderRadius","width","height","className","src","require","alt","color","display","marginRight","paddingLeft","paddingRight","fontSize","textAlign","Group","Input","type","onChange","e","value","placeholder","onClick"],"mappings":"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","file":"static/js/35.f38a1a73.chunk.js","sourcesContent":["import React, { Component, useState, useEffect } from \"react\";\nimport { Link, useHistory } from \"react-router-dom\";\n// import { Form } from 'react-bootstrap';\nimport { Form } from \"semantic-ui-react\";\nimport API from \"../api/apilink\";\nimport Swal from \"sweetalert2\";\n\nconst Login = (props) => {\n const history = useHistory();\n if (props.match.path == \"/bcu\") {\n localStorage.setItem(\"univcode\", \"041\");\n } else if (props.match.path == \"/rcub\") {\n localStorage.setItem(\"univcode\", \"027\");\n } else if (props.match.path == \"/demo\") {\n localStorage.setItem(\"univcode\", \"098\");\n }\n\n const [univName, setUnivName] = useState(\"\");\n\n useEffect(() => {\n const loaduniv = async function () {\n try {\n const res = await API.get(\n `app.php?a=getUnivName&univcode=${localStorage.getItem(\"univcode\")}`,\n {\n headers: {\n \"X-Auth-Type\": \"LOADUNIV\",\n },\n }\n );\n setUnivName(res.data.data.FUNIVNAME);\n } catch (err) {\n console.log(err);\n }\n };\n\n loaduniv();\n }, []);\n\n const [username, setusername] = useState(\"\");\n const [paswword, setpassword] = useState(\"\");\n\n const handleSubmit = async () => {\n if (username == \"\") {\n Swal.fire(\"Enter User Name\");\n return;\n }\n\n if (paswword == \"\") {\n Swal.fire(\"Enter Password\");\n return;\n }\n console.log(\"hkjhkjhk: \", localStorage.getItem(\"univcode\"));\n try {\n const res = await API.get(\n `app.php?a=qptranvaliddate&univcode=${localStorage.getItem(\n \"univcode\"\n )}&username=${username}&paswword=${paswword}`,\n {\n headers: {\n \"X-Auth-Type\": \"LOGREGN\",\n },\n }\n );\n if (res.data.error_code == 0) {\n localStorage.setItem(\"token\", res.data.data.token);\n localStorage.setItem(\"collcode\", res.data.data.loginfo[\"fcollcode\"]);\n localStorage.setItem(\"user\", res.data.data.loginfo[\"fuser\"]);\n localStorage.setItem(\"usertype\", res.data.data.loginfo[\"fusertype\"]);\n localStorage.setItem(\"name\", res.data.data.loginfo[\"fname\"]);\n localStorage.setItem(\"mob\", res.data.data.loginfo[\"fmobileno\"]);\n if (localStorage.getItem(\"usertype\") == \"A\") {\n history.push(\"/dashboard\");\n } else {\n history.push(\"/dashboardcollege\");\n }\n } else {\n Swal.fire(res.data.data.msg);\n return;\n }\n } catch (err) {\n console.log(err);\n }\n };\n\n const handleKeyPress = (e) => {\n if (e.key === \"Enter\") {\n console.log(\"enter press here! \");\n }\n };\n\n let logo = localStorage.getItem(\"univcode\");\n\n return (\n <div\n style={{\n backgroundColor: \"white\",\n borderRadius: \"10px\",\n width: \"100%\",\n height: \"100%\",\n }}\n >\n <div>\n <div className=\"brand-logo\">\n <img\n src={require(`../../assets/images/${logo}.jpg`)}\n alt=\"logo\"\n style={{ width: \"120px\", height: \"100px\" }}\n />\n <b style={{ color: \"#0763c5\" }}>{univName}</b>\n </div>\n <hr />\n <div style={{ display: \"flex\" }}>\n <div\n className=\"col-lg-7\"\n style={{\n marginRight: \"5px\",\n paddingLeft: \"0px\",\n paddingRight: \"0px\",\n }}\n >\n <p\n style={{\n backgroundColor: \"rgb(7 99 197)\",\n color: \"white\",\n fontSize: \"16px\",\n textAlign: \"center\",\n }}\n >\n Notification\n </p>\n <div></div>\n </div>\n <div\n className=\"col-lg-5 pr-1\"\n style={{ paddingLeft: \"0px\", paddingRight: \"0px\" }}\n >\n <p\n style={{\n backgroundColor: \"rgb(7 99 197)\",\n color: \"white\",\n fontSize: \"16px\",\n textAlign: \"center\",\n }}\n >\n Login\n </p>\n <Form className=\"p-5\">\n <Form.Group>\n <Form.Input\n type=\"email\"\n onChange={(e, data) => {\n setusername(data.value);\n }}\n value={username}\n style={{ width: \"476px\" }}\n placeholder=\"Username\"\n className=\"h-auto\"\n />\n </Form.Group>\n <Form.Group className=\"d-flex\">\n <Form.Input\n type=\"password\"\n onChange={(e, data) => {\n setpassword(data.value);\n }}\n value={paswword}\n style={{ width: \"476px\" }}\n placeholder=\"Password\"\n className=\"h-auto\"\n />\n </Form.Group>\n <div className=\"mt-3\">\n <Link\n className=\"btn btn-block btn-lg font-weight-medium auth-form-btn\"\n onClick={() => handleSubmit()}\n style={{ backgroundColor: \"rgb(7 99 197)\", color: \"white\" }}\n >\n SIGN IN\n </Link>\n </div>\n </Form>\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nexport default Login;\n"],"sourceRoot":""}
Close