init Project ✌️✌️
This commit is contained in:
commit
8a6dc19bdd
42 changed files with 249179 additions and 0 deletions
12
client/src/app/core/core.module.ts
Normal file
12
client/src/app/core/core.module.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [],
|
||||
imports: [
|
||||
CommonModule
|
||||
]
|
||||
})
|
||||
export class CoreModule { }
|
||||
9
client/src/app/core/layout/footer.component.html
Normal file
9
client/src/app/core/layout/footer.component.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<footer>
|
||||
<div class="container">
|
||||
<a class="logo-font" routerLink="/">conduit</a>
|
||||
<span class="attribution">
|
||||
© {{ today | date : "yyyy" }}. An interactive learning project from
|
||||
<a href="https://thinkster.io">Thinkster</a>. Code licensed under MIT.
|
||||
</span>
|
||||
</div>
|
||||
</footer>
|
||||
14
client/src/app/core/layout/footer.component.ts
Normal file
14
client/src/app/core/layout/footer.component.ts
Normal 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();
|
||||
}
|
||||
3
client/src/app/core/layout/header.component.html
Normal file
3
client/src/app/core/layout/header.component.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<div>
|
||||
<h1>This is Header</h1>
|
||||
</div>
|
||||
8
client/src/app/core/layout/header.component.ts
Normal file
8
client/src/app/core/layout/header.component.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-layout-header',
|
||||
templateUrl: './header.component.html',
|
||||
standalone: true,
|
||||
})
|
||||
export class HeaderComponent {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue