2021-12-16 15:02:22 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
import type { ReactElement } from 'react';
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import type { LocalizerType } from '../../types/Util';
|
|
|
|
|
|
|
|
import { Spinner } from '../Spinner';
|
|
|
|
import { TitlebarDragArea } from '../TitlebarDragArea';
|
|
|
|
import { InstallScreenSignalLogo } from './InstallScreenSignalLogo';
|
|
|
|
|
2023-10-11 19:06:43 +00:00
|
|
|
export type Props = Readonly<{ i18n: LocalizerType }>;
|
|
|
|
|
|
|
|
export function InstallScreenLinkInProgressStep({ i18n }: Props): ReactElement {
|
2022-11-18 00:45:19 +00:00
|
|
|
return (
|
|
|
|
<div className="module-InstallScreenLinkInProgressStep">
|
|
|
|
<TitlebarDragArea />
|
2021-12-16 15:02:22 +00:00
|
|
|
|
2022-11-18 00:45:19 +00:00
|
|
|
<InstallScreenSignalLogo />
|
2021-12-16 15:02:22 +00:00
|
|
|
|
2022-11-18 00:45:19 +00:00
|
|
|
<Spinner size="50px" svgSize="normal" />
|
2023-05-09 15:17:46 +00:00
|
|
|
<h1 role="status">{i18n('icu:initialSync')}</h1>
|
|
|
|
<h2 role="status">{i18n('icu:initialSync__subtitle')}</h2>
|
2022-11-18 00:45:19 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|