Date and place -section to separate component.

This commit is contained in:
codevictory
2021-12-19 21:12:18 +02:00
parent 8b479ebfdc
commit 65687a6e6b
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
@import '../colors.scss';
.dateAndPlace {
text-align: center;
text-transform: uppercase;
font-size: calc(10px + 2vmin);
h2 {
font-family: 'Montserrat-Medium';
font-size: 1.4rem;
color: $brown-text !important;
margin-bottom: -0.7rem;
}
h3 {
font-size: 1rem;
color: $brown-text !important;
}
}

View File

@@ -0,0 +1,17 @@
import './DateAndPlace.scss';
import { FormattedMessage } from 'react-intl';
export const DateAndPlace = () => {
return (
<div className='dateAndPlace'>
<h2>
<FormattedMessage id='common.datetime' />
</h2>
<h3>
<FormattedMessage id='common.place' />
</h3>
</div>
);
};