add links to full apartment page
This commit is contained in:
parent
b3175682cf
commit
d19364c38d
|
@ -147,8 +147,11 @@ const CardApartament = function (props) {
|
||||||
return (
|
return (
|
||||||
<ApartmentSection>
|
<ApartmentSection>
|
||||||
<ApartmentSectionLeft>
|
<ApartmentSectionLeft>
|
||||||
|
<a href={'/apartment/' + props.results.id}>
|
||||||
<ApartmentIcon src="/images/apartment.png"></ApartmentIcon>
|
<ApartmentIcon src="/images/apartment.png"></ApartmentIcon>
|
||||||
|
</a>
|
||||||
<Characteristics>
|
<Characteristics>
|
||||||
|
<a href={'/apartment/' + props.results.id}>
|
||||||
<h3>{props.results.perimetrs} м², {props.results.rooms == 0 ? '' : props.results.rooms}
|
<h3>{props.results.perimetrs} м², {props.results.rooms == 0 ? '' : props.results.rooms}
|
||||||
|
|
||||||
{props.results.rooms == 0 ? 'Гостинка' :
|
{props.results.rooms == 0 ? 'Гостинка' :
|
||||||
|
@ -157,6 +160,8 @@ const CardApartament = function (props) {
|
||||||
|
|
||||||
</h3>
|
</h3>
|
||||||
<Address>{props.results.address}, {props.results.floor} этаж из {props.results.floorHouse}</Address>
|
<Address>{props.results.address}, {props.results.floor} этаж из {props.results.floorHouse}</Address>
|
||||||
|
|
||||||
|
</a>
|
||||||
<TransportSection>
|
<TransportSection>
|
||||||
<TransportIcon>
|
<TransportIcon>
|
||||||
<SVGIcon src='/images/icons/bus.svg' width={20} height={21} />
|
<SVGIcon src='/images/icons/bus.svg' width={20} height={21} />
|
||||||
|
|
Loading…
Reference in New Issue