Link to main page from registration header.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from 'react-intl';
|
||||||
|
import { Link } from 'react-router-dom';
|
||||||
import { DateAndPlace } from './DateAndPlace';
|
import { DateAndPlace } from './DateAndPlace';
|
||||||
import { Diamond } from './Diamond';
|
import { Diamond } from './Diamond';
|
||||||
import './RegistrationHeader.scss';
|
import './RegistrationHeader.scss';
|
||||||
@@ -7,9 +8,11 @@ export const RegistrationHeader = () => {
|
|||||||
return (
|
return (
|
||||||
<header className='App-header'>
|
<header className='App-header'>
|
||||||
<h1>
|
<h1>
|
||||||
|
<Link to='/'>
|
||||||
<FormattedMessage id='common.lintu' />
|
<FormattedMessage id='common.lintu' />
|
||||||
<span> & </span>
|
<span> & </span>
|
||||||
<FormattedMessage id='common.maslo' />
|
<FormattedMessage id='common.maslo' />
|
||||||
|
</Link>
|
||||||
</h1>
|
</h1>
|
||||||
<Diamond />
|
<Diamond />
|
||||||
<DateAndPlace size='small' />
|
<DateAndPlace size='small' />
|
||||||
|
|||||||
Reference in New Issue
Block a user