update styling and do stuff

This commit is contained in:
Jan-Marlon Leibl 2024-11-26 09:37:20 +01:00
commit dd4faea712
19 changed files with 266 additions and 68 deletions

View file

@ -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 {