Add 404 image

master
Tanner Collin 4 years ago
parent 946c70d776
commit 5f486695ba
  1. BIN
      webclient/public/404.jpg
  2. 2
      webclient/src/Home.js
  3. 2
      webclient/src/Members.js
  4. 2
      webclient/src/Misc.js
  5. 5
      webclient/src/light.css

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

@ -91,7 +91,7 @@ function MemberInfo(props) {
<Grid.Column width={6}>
<img
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>

@ -65,7 +65,7 @@ export function Members(props) {
<Table.Cell>
<img
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>{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>
<p>Visit our <Link to='/'>home page</Link> if you are lost.</p>
</Message>
<img className='photo-404' src='/404.jpg' />
</Container>
);
};

@ -39,3 +39,8 @@ body {
max-width: 150px;
max-height: 1500px;
}
.photo-404 {
max-width: 100%;
height: auto;
}

Loading…
Cancel
Save