diff options
Diffstat (limited to 'admin/src/pages/HomePage.tsx')
| -rw-r--r-- | admin/src/pages/HomePage.tsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/admin/src/pages/HomePage.tsx b/admin/src/pages/HomePage.tsx new file mode 100644 index 0000000..bff4f4e --- /dev/null +++ b/admin/src/pages/HomePage.tsx @@ -0,0 +1,16 @@ +import { Main } from '@strapi/design-system'; +import { useIntl } from 'react-intl'; + +import { getTranslation } from '../utils/getTranslation'; + +const HomePage = () => { + const { formatMessage } = useIntl(); + + return ( + <Main> + <h1>Welcome to {formatMessage({ id: getTranslation('plugin.name') })}</h1> + </Main> + ); +}; + +export { HomePage }; |
