mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
* basic framework for match/tinder * working version of swiping * working version of profile editing * introducing backend * working matching system * working profile updating * fix all linting issues * updated events to Enum * working profile generation * documentation updates * general PR feedback * working profile loading, matches show matchedAt * slight modification to event strings * added sql imports
29 lines
712 B
TypeScript
29 lines
712 B
TypeScript
import React from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { Box, Typography } from '@material-ui/core';
|
|
import { makeStyles, Theme } from '@material-ui/core/styles';
|
|
|
|
const useStyles = makeStyles((theme: Theme) => ({
|
|
root: {
|
|
color: theme.palette.primary.main,
|
|
fontSize: theme.typography.fontSize,
|
|
height: '100%',
|
|
width: '100%',
|
|
display: 'flex',
|
|
justifyContent: 'center',
|
|
paddingTop: '140px',
|
|
},
|
|
}));
|
|
|
|
function NoProfiles() {
|
|
const classes = useStyles();
|
|
const { t } = useTranslation();
|
|
return (
|
|
<Box className={classes.root}>
|
|
<Typography variant="h5">{t('APPS_MATCH_NO_PROFILES')}</Typography>
|
|
</Box>
|
|
);
|
|
}
|
|
|
|
export default NoProfiles;
|