Added more components

This commit is contained in:
Lorenzo Iovino 2023-12-29 04:34:47 +01:00
parent c94493a3c5
commit 8b20acfcc4
28 changed files with 436 additions and 31 deletions

View file

@ -0,0 +1,16 @@
import {Component, Input} from '@angular/core';
import {Post} from "../models/post";
import {JsonPipe} from "@angular/common";
@Component({
selector: 'iov-post-card',
standalone: true,
imports: [
JsonPipe
],
templateUrl: './post-card.component.html',
styleUrl: './post-card.component.scss'
})
export class PostCardComponent {
@Input() post: Post | undefined;
}