Skip to content

Commit 4d51cd7

Browse files
committed
feat: add title input
1 parent 1f46044 commit 4d51cd7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

angular-hub/src/app/components/banner.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Component, input } from '@angular/core';
77
class="h-20 sm:h-36 flex flex-col justify-center items-center mb-4 m-6 rounded-2xl bg-no-repeat bg-auto md:bg-cover"
88
style="background-image: url(/assets/images/hero.webp);"
99
>
10-
<h1 class="title text-5xl hidden sm:block">ANGULAR HUB</h1>
10+
<h1 class="title text-5xl hidden sm:block">{{ title() }}</h1>
1111
<h2 class="text-2xl text-center">
1212
{{ description() }}
1313
</h2>
@@ -16,5 +16,6 @@ import { Component, input } from '@angular/core';
1616
standalone: true,
1717
})
1818
export class BannerComponent {
19+
title = input<string>('ANGULAR HUB');
1920
description = input.required<string>();
2021
}

angular-hub/src/app/services/pwa.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Injectable, signal } from '@angular/core';
44
providedIn: 'root',
55
})
66
export class PwaService {
7-
private promptEvent: any;
7+
private promptEvent: unknown;
88
isInstallButtonVisible = signal(false);
99

1010
constructor() {}

angular-hub/src/server/routes/v1/events/callforpapers/index.get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineEventHandler((event) => {
1111
parse(CommunityListSchema, communities);
1212

1313
return communities
14-
.reduce((acc: any[], community: Community) => {
14+
.reduce((acc: unknown[], community: Community) => {
1515
const events = community.events.reduce(
1616
(acc: EventCallForPapers[], event: Event) => {
1717
if (

0 commit comments

Comments
 (0)