Revize a5000e3c
Přidáno uživatelem Lukáš Vlček před téměř 3 roky(ů)
webapp/layouts/LoginLayout.tsx | ||
---|---|---|
12 | 12 |
export function LoginLayout(props: { children: React.ReactNode }) { |
13 | 13 |
return ( |
14 | 14 |
<Container> |
15 |
<Row className="min-vh-100 align-items-center"> |
|
16 |
<Col md={8}>
|
|
15 |
<Row className="min-vh-100 align-items-center justify-content-between">
|
|
16 |
<Col md={7}>
|
|
17 | 17 |
<Stack gap={5}> |
18 | 18 |
<div> |
19 | 19 |
<Image |
... | ... | |
21 | 21 |
alt="Ústav státu a práva Akademie věd ČR" |
22 | 22 |
></Image> |
23 | 23 |
</div> |
24 |
<h1 className={styles.title}>
|
|
25 |
Vítejte na stránkách Ústavu státu a práva Akademie věd ČR pro
|
|
24 |
<p className={styles.title}>
|
|
25 |
Vítejte v nástroji Ústavu státu a práva Akademie věd ČR pro
|
|
26 | 26 |
anotaci dokumentů v rámci projektu TAČR TL03000152 - Umělá |
27 | 27 |
inteligence, média a právo |
28 |
</h1>
|
|
28 |
</p>
|
|
29 | 29 |
</Stack> |
30 | 30 |
</Col> |
31 | 31 |
<Col md={4}> |
webapp/pages/login/index.tsx | ||
---|---|---|
1 | 1 |
import 'antd/dist/antd.css'; |
2 |
import { Form, Input, Button } from 'antd';
|
|
3 |
import { UserOutlined, LockOutlined } from '@ant-design/icons';
|
|
2 |
import { Button, Form, Input } from 'antd';
|
|
3 |
import { LockOutlined, UserOutlined } from '@ant-design/icons';
|
|
4 | 4 |
import { LoggedUserContext } from '../../contexts/LoggedUserContext'; |
5 | 5 |
import { LoginLayout } from '../../layouts/LoginLayout'; |
6 | 6 |
import { useContext } from 'react'; |
... | ... | |
8 | 8 |
import { ShowToast } from '../../utils/alerts'; |
9 | 9 |
import { getTokenData } from '../../utils/login'; |
10 | 10 |
import { LoginResponse } from '../../api'; |
11 |
import env from '@beam-australia/react-env'; |
|
12 | 11 |
|
13 | 12 |
/** |
14 | 13 |
* Creates a login screen. |
webapp/styles/Login.module.scss | ||
---|---|---|
1 | 1 |
.title { |
2 | 2 |
font-size: x-large; |
3 |
font-family:Arial, Helvetica, sans-serif |
|
4 |
} |
|
3 |
line-height: normal; |
|
4 |
} |
Také k dispozici: Unified diff
Login screen