19 lines
643 B
JavaScript
19 lines
643 B
JavaScript
import { withTranslation } from 'react-i18next';
|
|
import { Link } from 'react-router-dom';
|
|
|
|
function SearchAddress({ t }) {
|
|
return (
|
|
<div className="flex flex-col items-center gap-68">
|
|
<span>How are you?</span>
|
|
<Link
|
|
to="/rent-and-buy/preview"
|
|
className="inline-block w-[182px] py-[17px] text-center text-base text-primary-light font-semibold tracking-widest uppercase rounded-lg bg-secondary-light shadow hover:shadow-hover hover:shadow-secondary-light ease-in-out duration-300"
|
|
>
|
|
{t('show_btn')}
|
|
</Link>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default withTranslation('rentAndBuyPage')(SearchAddress);
|