connect front to back
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {BookInfo} from "../../interfaces/book.interfaces";
|
||||
import {Component, inject, OnInit, signal} from '@angular/core';
|
||||
import {BookCard} from "../../components/book-card/book-card";
|
||||
import {Modal} from "../../components/modal/modal";
|
||||
import {CreateBook} from "../../components/create-book/create-book";
|
||||
@@ -14,14 +13,5 @@ import {CreateBook} from "../../components/create-book/create-book";
|
||||
templateUrl: './book.html',
|
||||
styleUrls: ['./book.css'],
|
||||
})
|
||||
export class Book {
|
||||
books: BookInfo[] = [
|
||||
{ title: '1984', isbn: '978-0451524935', author: 'George Orwell', releaseYear: 1949 },
|
||||
{ title: 'Le Seigneur des Anneaux', isbn: '978-0544003415', author: 'J.R.R. Tolkien', releaseYear: 1954 },
|
||||
{ title: 'Dune', isbn: '978-0441013593', author: 'Frank Herbert', releaseYear: 1965 },
|
||||
{ title: 'Fahrenheit 451', isbn: '978-1451673319', author: 'Ray Bradbury', releaseYear: 1953 },
|
||||
{ title: 'Les Misérables', isbn: '978-2070409185', author: 'Victor Hugo', releaseYear: 1862 },
|
||||
{ title: 'Harry Potter à l’école des sorciers', isbn: '978-2070643028', author: 'J.K. Rowling', releaseYear: 1997 },
|
||||
];
|
||||
|
||||
export class Book{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user