2017-10-24 23:37:26 +01:00
|
|
|
/*
|
2024-09-09 14:57:16 +01:00
|
|
|
Copyright 2019-2024 New Vector Ltd.
|
2019-12-12 19:31:52 -07:00
|
|
|
Copyright 2019 The Matrix.org Foundation C.I.C.
|
2024-09-09 14:57:16 +01:00
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2017-10-24 23:37:26 +01:00
|
|
|
|
2024-09-09 14:57:16 +01:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2017-10-24 23:37:26 +01:00
|
|
|
*/
|
|
|
|
|
|
2023-03-08 13:28:07 +00:00
|
|
|
import React, { ReactNode } from "react";
|
2021-10-22 17:23:32 -05:00
|
|
|
|
2021-07-20 12:22:32 +02:00
|
|
|
import AuthFooter from "./AuthFooter";
|
2017-10-24 23:37:26 +01:00
|
|
|
|
2023-03-08 13:28:07 +00:00
|
|
|
export default class AuthPage extends React.PureComponent<{ children: ReactNode }> {
|
2021-07-15 15:22:34 +02:00
|
|
|
public render(): React.ReactNode {
|
2019-01-21 12:05:07 -06:00
|
|
|
return (
|
2019-01-21 18:33:17 -06:00
|
|
|
<div className="mx_AuthPage">
|
2019-01-21 18:49:28 -06:00
|
|
|
<div className="mx_AuthPage_modal">{this.props.children}</div>
|
2019-01-22 19:28:23 -06:00
|
|
|
<AuthFooter />
|
2019-01-21 12:05:07 -06:00
|
|
|
</div>
|
|
|
|
|
);
|
2019-12-12 19:31:52 -07:00
|
|
|
}
|
|
|
|
|
}
|