Revize 98568917
Přidáno uživatelem Dominik Poch před asi 2 roky(ů)
webapp/layouts/loginLayout.tsx | ||
---|---|---|
1 | 1 |
import logo from '/public/usp-logo.svg'; |
2 | 2 |
import Image from 'next/image'; |
3 | 3 |
import styles from '/styles/login.module.scss'; |
4 |
import Props from '../components/props';
|
|
4 |
import LoginProps from '../components/loginProps';
|
|
5 | 5 |
import { Col, Container, Row, Stack } from 'react-bootstrap'; |
6 | 6 |
|
7 | 7 |
/** |
... | ... | |
9 | 9 |
* @param props Html structure of a login form. |
10 | 10 |
* @returns The login screen. |
11 | 11 |
*/ |
12 |
function LoginLayout(props: Props) { |
|
12 |
function LoginLayout(props: LoginProps) {
|
|
13 | 13 |
return ( |
14 | 14 |
<Container> |
15 | 15 |
<Row className="min-vh-100 align-items-center"> |
Také k dispozici: Unified diff
Renamed props.tsx to loginProps.tsx
Props was too generic so I renamed it to show its purpose better.