Add placeholder to Session logo in JwennSesyon

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2021-07-22 21:20:42 +02:00
parent a2d71f03d4
commit 3f6c6892db
+4 -1
View File
@@ -2,6 +2,8 @@ import {useState} from 'react'
import {Box, Button, Typography} from '@material-ui/core'
import Image from 'next/image'
import sessionLogo from '../../public/session-logo-50.png'
import SesyonDialog from './sesyon-dialog'
export default function JwennSesyon() {
@@ -20,9 +22,10 @@ export default function JwennSesyon() {
<Button style={{marginTop: 10}} variant='outlined' color='primary' onClick={handleClickOuve}>
<Box paddingTop={1}>
<Image
src='/session-logo-50.png'
src={sessionLogo}
width={50}
height={55}
placeholder='blur'
/>
<Typography style={{fontWeight: 'bold'}} variant='h6' component='h1'>
Session