Add 404 image
This commit is contained in:
parent
946c70d776
commit
5f486695ba
BIN
webclient/public/404.jpg
Normal file
BIN
webclient/public/404.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
|
@ -91,7 +91,7 @@ function MemberInfo(props) {
|
||||||
<Grid.Column width={6}>
|
<Grid.Column width={6}>
|
||||||
<img
|
<img
|
||||||
className='photo-medium'
|
className='photo-medium'
|
||||||
src={member.photo_medium ? staticUrl + '/' + member.photo_medium : 'nophoto.png'} size='small'
|
src={member.photo_medium ? staticUrl + '/' + member.photo_medium : '/nophoto.png'} size='small'
|
||||||
/>
|
/>
|
||||||
</Grid.Column>
|
</Grid.Column>
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ export function Members(props) {
|
||||||
<Table.Cell>
|
<Table.Cell>
|
||||||
<img
|
<img
|
||||||
className='photo-small'
|
className='photo-small'
|
||||||
src={x.photo_small ? staticUrl + '/' + x.photo_small : 'nophoto.png'}
|
src={x.photo_small ? staticUrl + '/' + x.photo_small : '/nophoto.png'}
|
||||||
/>
|
/>
|
||||||
</Table.Cell>
|
</Table.Cell>
|
||||||
<Table.Cell>{x.preferred_name} {x.last_name}</Table.Cell>
|
<Table.Cell>{x.preferred_name} {x.last_name}</Table.Cell>
|
||||||
|
|
|
@ -21,6 +21,8 @@ export function NotFound() {
|
||||||
<Message.Header style={{ padding: 0 }}>The page you requested can't be found!</Message.Header>
|
<Message.Header style={{ padding: 0 }}>The page you requested can't be found!</Message.Header>
|
||||||
<p>Visit our <Link to='/'>home page</Link> if you are lost.</p>
|
<p>Visit our <Link to='/'>home page</Link> if you are lost.</p>
|
||||||
</Message>
|
</Message>
|
||||||
|
|
||||||
|
<img className='photo-404' src='/404.jpg' />
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -39,3 +39,8 @@ body {
|
||||||
max-width: 150px;
|
max-width: 150px;
|
||||||
max-height: 1500px;
|
max-height: 1500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.photo-404 {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user