Update first screen

This commit is contained in:
Vishnu 2021-08-29 01:20:00 +05:30
parent 24d0917537
commit bc4d46912e
2 changed files with 6 additions and 2 deletions

View file

@ -489,8 +489,11 @@ const PhotoFrame = ({
return (
<>
{!isFirstLoad && files.length === 0 && !searchMode ? (
<EmptyScreen>
<EmptyScreen onClick={openFileUploader}>
<img height={150} src="/images/gallery.png" />
<div style={{ color: '#a6a6a6', marginTop: '16px' }}>
{constants.UPLOAD_FIRST_PHOTO_DESCRIPTION}
</div>
<Button
variant="outline-success"
onClick={openFileUploader}

View file

@ -138,7 +138,8 @@ const englishConstants = {
NO_INTERNET_CONNECTION:
'please check your internet connection and try again',
TITLE: 'ente.io | encrypted photo storage',
UPLOAD_FIRST_PHOTO: 'backup a memory',
UPLOAD_FIRST_PHOTO_DESCRIPTION: 'preserve your first memory with ente',
UPLOAD_FIRST_PHOTO: 'preserve',
UPLOAD_DROPZONE_MESSAGE: 'drop to backup your files',
CONFIRM_DELETE_FILE: 'confirm file deletion',
DELETE_FILE_MESSAGE: 'sure you want to delete selected files?',