2022-09-13 08:55:13 -07:00
|
|
|
import React from 'react';
|
2022-09-14 07:35:32 -07:00
|
|
|
import { defineMessages, useIntl } from 'react-intl';
|
2022-09-13 08:55:13 -07:00
|
|
|
|
|
|
|
import { Stack, Text } from 'soapbox/components/ui';
|
|
|
|
|
2022-09-14 07:35:32 -07:00
|
|
|
const messages = defineMessages({
|
|
|
|
title: { id: 'chat_search.blankslate.title', defaultMessage: 'Search followers' },
|
2022-10-31 12:48:42 -07:00
|
|
|
body: { id: 'chat_search.blankslate.body', defaultMessage: 'You can start a chat with anyone that follows you.' },
|
2022-09-14 07:35:32 -07:00
|
|
|
});
|
|
|
|
|
|
|
|
const Blankslate = () => {
|
|
|
|
const intl = useIntl();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Stack justifyContent='center' alignItems='center' space={2} className='h-full w-2/3 mx-auto'>
|
|
|
|
<Text weight='bold' size='lg' align='center'>
|
|
|
|
{intl.formatMessage(messages.title)}
|
|
|
|
</Text>
|
|
|
|
<Text theme='muted' align='center'>
|
|
|
|
{intl.formatMessage(messages.body)}
|
|
|
|
</Text>
|
|
|
|
</Stack>
|
|
|
|
);
|
|
|
|
};
|
2022-09-13 08:55:13 -07:00
|
|
|
|
|
|
|
export default Blankslate;
|