2020-10-17 09:47:01 +00:00
|
|
|
import React from 'react';
|
|
|
|
import Info from '@material-ui/icons/Info';
|
|
|
|
import Location from '@material-ui/icons/LocationOn';
|
|
|
|
import Camera from '@material-ui/icons/PhotoCamera';
|
|
|
|
import Resolution from '@material-ui/icons/Crop';
|
|
|
|
import Photographer from '@material-ui/icons/Person';
|
|
|
|
|
2021-01-17 18:07:26 +00:00
|
|
|
export default function PhotoInformation(props) {
|
2021-01-17 16:25:21 +00:00
|
|
|
return (
|
|
|
|
<div className='photoInformation'>
|
|
|
|
<h1 id='photographer'>{props.language.credit}</h1>
|
|
|
|
<Info className='photoInformationHover'/>
|
|
|
|
<div className={props.className || 'infoCard'}>
|
|
|
|
<Info className='infoIcon'/>
|
|
|
|
<h1>{props.language.information}</h1>
|
|
|
|
<hr/>
|
|
|
|
<Location/>
|
|
|
|
<span id='location'></span>
|
|
|
|
<Camera/>
|
|
|
|
<span id='camera'></span>
|
|
|
|
<Resolution/>
|
|
|
|
<span id='resolution'></span>
|
|
|
|
<Photographer/>
|
|
|
|
<span id='photographerCard'></span>
|
2020-10-17 09:47:01 +00:00
|
|
|
</div>
|
2021-01-17 16:25:21 +00:00
|
|
|
<span id='credit' style={{ 'display': 'none' }}></span>
|
|
|
|
</div>
|
|
|
|
);
|
2021-01-17 18:07:26 +00:00
|
|
|
}
|