Files
warframe-center/app/pages/home/Hero.js
anatolykopyl 3c888dc7f1
Some checks failed
continuous-integration/drone/push Build is failing
Added i18n
2022-07-03 16:31:31 +03:00

45 lines
755 B
JavaScript

import { useTranslation } from 'next-i18next'
import Image from 'next/image'
import { Box } from '@mui/material'
import logo from './assets/warframe_logo.png'
const Hero = () => {
const { t } = useTranslation('home')
return (
<Box
sx={{
py: 12,
textAlign: 'center'
}}
>
<Box
sx={{
width: 400,
m: 'auto'
}}
>
<Image
src={logo}
alt='logo'
layout='responsive'
width={500}
height={300}
/>
</Box>
<Box
sx={{
width: 400,
m: 'auto'
}}
>
<h1>Market Gaps</h1>
<p>{t('description')}</p>
</Box>
</Box>
)
}
export default Hero