// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
// SPDX-License-Identifier: Apache-2.0
import { Anchor, Button, Stack, Text, Title } from '@mantine/core';
import { Document } from '@medplum/react';
import type { JSX } from 'react';
import { Link } from 'react-router';
export function LandingPage(): JSX.Element {
return (
<Document width={500}>
<Stack align="center">
<Title order={1} fz={36}>
Welcome!
</Title>
<Text>
This Patient Intake Demo shows how to build a simple React application that fetches Patient data from Medplum.
If you haven't already done so, <Anchor href="https://app.medplum.com/register">register</Anchor> for Medplum
Project. After that you can sign into your project by clicking the link below.
</Text>
<Button component={Link} to="/signin" size="lg" radius="xl">
Sign in
</Button>
</Stack>
</Document>
);
}