update styling and do stuff
This commit is contained in:
parent
21eb309acc
commit
dd4faea712
19 changed files with 266 additions and 68 deletions
|
@ -1,17 +1,14 @@
|
|||
import { Component, Injectable, Input } from "@angular/core";
|
||||
import { ChildComponent } from "../Child/child.component";
|
||||
import { Component, Input } from "@angular/core";
|
||||
import { Hotel } from "./hotel";
|
||||
import { CurrencyPipe, NgIf } from "@angular/common";
|
||||
import {CurrencyPipe, NgForOf, NgIf} from "@angular/common";
|
||||
import { FormsModule } from "@angular/forms";
|
||||
import { StarRatingComponent } from "../star-rating/star-rating.component";
|
||||
import { HttpClient } from "@angular/common/http";
|
||||
import { RouterLink } from "@angular/router";
|
||||
|
||||
@Component({
|
||||
selector: 'app-hotel-item',
|
||||
standalone: true,
|
||||
templateUrl: './HotelItem.component.html',
|
||||
imports: [ChildComponent, CurrencyPipe, FormsModule, StarRatingComponent, NgIf, RouterLink],
|
||||
imports: [CurrencyPipe, FormsModule, NgIf, RouterLink, NgForOf],
|
||||
})
|
||||
export class HotelItem {
|
||||
|
||||
|
|
Reference in a new issue