init Project ✌️✌️

This commit is contained in:
Kenta420-Poom 2023-09-14 14:52:04 +07:00
commit 8a6dc19bdd
42 changed files with 249179 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
@NgModule({
declarations: [],
imports: [
CommonModule
]
})
export class CoreModule { }

View file

@ -0,0 +1,9 @@
<footer>
<div class="container">
<a class="logo-font" routerLink="/">conduit</a>
<span class="attribution">
&copy; {{ today | date : "yyyy" }}. An interactive learning project from
<a href="https://thinkster.io">Thinkster</a>. Code licensed under MIT.
</span>
</div>
</footer>

View file

@ -0,0 +1,14 @@
import { DatePipe } from '@angular/common';
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { RouterLink } from '@angular/router';
@Component({
selector: 'app-layout-footer',
templateUrl: './footer.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [DatePipe, RouterLink],
standalone: true,
})
export class FooterComponent {
today: number = Date.now();
}

View file

@ -0,0 +1,3 @@
<div>
<h1>This is Header</h1>
</div>

View file

@ -0,0 +1,8 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-layout-header',
templateUrl: './header.component.html',
standalone: true,
})
export class HeaderComponent {}