feat: add hotel item component and search functionality
This commit is contained in:
parent
f243483688
commit
339dac3999
13 changed files with 97 additions and 9 deletions
5
src/app/HotelItem/HotelItem.component.html
Normal file
5
src/app/HotelItem/HotelItem.component.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<p>Name: {{hotel.hotelName}}</p>
|
||||
<p>Description: {{hotel.description}}</p>
|
||||
<p>Price: {{hotel.price}}$</p>
|
||||
<img src="{{hotel.imageUrl}}" alt="Hotel">
|
||||
<p class="border-b border-black">{{hotel.rating}}</p>
|
Reference in a new issue