add links to full apartment page

This commit is contained in:
b1ek 2023-05-17 14:11:30 +10:00
parent b3175682cf
commit d19364c38d
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 11 additions and 6 deletions

View File

@ -147,8 +147,11 @@ const CardApartament = function (props) {
return (
<ApartmentSection>
<ApartmentSectionLeft>
<a href={'/apartment/' + props.results.id}>
<ApartmentIcon src="/images/apartment.png"></ApartmentIcon>
</a>
<Characteristics>
<a href={'/apartment/' + props.results.id}>
<h3>{props.results.perimetrs} м², {props.results.rooms == 0 ? '' : props.results.rooms}
{props.results.rooms == 0 ? 'Гостинка' :
@ -157,6 +160,8 @@ const CardApartament = function (props) {
</h3>
<Address>{props.results.address}, {props.results.floor} этаж из {props.results.floorHouse}</Address>
</a>
<TransportSection>
<TransportIcon>
<SVGIcon src='/images/icons/bus.svg' width={20} height={21} />