fix(challenge 48): challenge naming

This commit is contained in:
Sven Brodny
2024-04-18 14:55:53 +02:00
parent a691a7e2f9
commit 97026895f0
26 changed files with 21 additions and 21 deletions

View File

@@ -0,0 +1,16 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { FormComponent } from '../ui/form.component';
@Component({
standalone: true,
imports: [FormComponent],
template: `
<section class="mx-auto max-w-screen-sm">
<div class="rounded-lg bg-white p-8 shadow-lg lg:p-12">
<app-form />
</div>
</section>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class JoinComponent {}

View File

@@ -0,0 +1,14 @@
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
@Component({
standalone: true,
template: `
<section>
<h1>{{ title() }}</h1>
</section>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PageComponent {
title = input.required<string>();
}