added create page and updated auth
This commit is contained in:
14
frontend/¨:w
Normal file
14
frontend/¨:w
Normal file
@ -0,0 +1,14 @@
|
||||
import { Component, inject, OnInit, Signal } from '@angular/core';
|
||||
import { PostsService } from '../../shared/services/posts.service';
|
||||
import { NgForOf } from '@angular/common';
|
||||
import { RouterLink } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-home',
|
||||
imports: [NgForOf, RouterLink],
|
||||
standalone: true,
|
||||
templateUrl: './home.component.html',
|
||||
})
|
||||
export class HomeComponent {
|
||||
posts = inject(PostsService).getPosts();
|
||||
}
|
Reference in New Issue
Block a user