parent
950da7f878
commit
5ee856f49c
@ -0,0 +1,12 @@
|
|||||||
|
.buttonNabImg{
|
||||||
|
margin: 15px 0;
|
||||||
|
width: auto;
|
||||||
|
height: 8vh;
|
||||||
|
|
||||||
|
background-color: #85C9C2;
|
||||||
|
color: #2A4541;
|
||||||
|
border-radius: 15px;
|
||||||
|
border-width: 0;
|
||||||
|
|
||||||
|
font-size:larger;
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { Link } from 'react-router-dom';
|
||||||
|
import './ButtonImgNav.css';
|
||||||
|
import { FormattedMessage } from 'react-intl';
|
||||||
|
|
||||||
|
//@ts-ignore
|
||||||
|
function ButtonImgNav({ dest, img }) {
|
||||||
|
return (
|
||||||
|
<Link to={dest}>
|
||||||
|
<button className='buttonNabImg'>
|
||||||
|
<img src={img} alt="Button Image" />
|
||||||
|
</button>
|
||||||
|
</Link>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default ButtonImgNav;
|
Loading…
Reference in new issue