<main class="main">

  <h1>{{title}}</h1>

  @if (!showMessage) {
  <button (click)="toggleMessage()">Show Message</button>
  } @else {
  <button (click)="toggleMessage()">Hide Message</button>
  }

  @if (showMessage) {
  <app-message></app-message>
  }

</main>
