-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Expand file tree
/
Copy pathapp.component.ts
More file actions
22 lines (20 loc) · 620 Bytes
/
app.component.ts
File metadata and controls
22 lines (20 loc) · 620 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
@Component({
imports: [RouterOutlet],
selector: 'app-root',
template: `
<div class="min-h-screen bg-gray-50 px-4 py-8 sm:px-6 lg:px-8">
<div class="mx-auto max-w-4xl">
<header class="mb-8 font-serif">
<h1 class="text-3xl font-bold leading-tight text-gray-900">
User Management Portal
</h1>
</header>
<router-outlet />
</div>
</div>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent {}