Skip to content

Commit 29852d5

Browse files
committed
hub -> noun in links
1 parent 34cb242 commit 29852d5

9 files changed

Lines changed: 20 additions & 20 deletions

File tree

src/app.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class AppController {
1010
message: 'Hello world!',
1111
ogTitle: 'Lazztech Hub - Social App',
1212
ogDescription: 'From app to the real world - Foster Community',
13-
ogImage: 'https://hub.lazz.tech/assets/banner.webp',
13+
ogImage: 'https://noun.lazz.tech/assets/banner.webp',
1414
};
1515
}
1616
}

src/event/event.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class EventService {
9494
await this.notificationService.sendPushToUser(event.createdBy.id, {
9595
title: `${(user.firstName || user.username)} RSVP'd ${rsvp}.`,
9696
body: `to ${event.name}`,
97-
click_action: `https://hub.lazz.tech/app/tabs/event/${eventId}`,
97+
click_action: `https://noun.lazz.tech/app/tabs/event/${eventId}`,
9898
});
9999

100100
return userEvent;
@@ -117,7 +117,7 @@ export class EventService {
117117
await this.notificationService.sendPushToUser(invitee.id, {
118118
title: `You're invited to "${event.name}" event.`,
119119
body: `View the invite.`,
120-
click_action: `https://hub.lazz.tech/app/tabs/event/${eventId}`,
120+
click_action: `https://noun.lazz.tech/app/tabs/event/${eventId}`,
121121
});
122122
return joinUserEvent;
123123
}
@@ -166,7 +166,7 @@ export class EventService {
166166
await this.notificationService.sendPushToUser(event?.createdBy?.id, {
167167
title: `You're invited to "${event.name}" event.`,
168168
body: `View the invite.`,
169-
click_action: `https://hub.lazz.tech/app/tabs/event/${event?.id}`,
169+
click_action: `https://noun.lazz.tech/app/tabs/event/${event?.id}`,
170170
});
171171

172172
return joinUserEvent;
@@ -230,7 +230,7 @@ export class EventService {
230230
j.user.id,
231231
{ title: `"${event.name}" has been updated`,
232232
body: `View the event to see changes.`,
233-
click_action: `https://hub.lazz.tech/app/tabs/event/${event?.id}`,
233+
click_action: `https://noun.lazz.tech/app/tabs/event/${event?.id}`,
234234
}
235235
)
236236
);

src/hub/hub-activity/hub-activity.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class HubActivityService {
7979
await this.notificationService.sendPushToUser(joinUserHub.user.id, {
8080
title: `"${hub.name}" hub became active`,
8181
body: `Touch to go to hub.`,
82-
click_action: `https://hub.lazz.tech/app/tabs/hub/${hub?.id}`,
82+
click_action: `https://noun.lazz.tech/app/tabs/hub/${hub?.id}`,
8383
} as PushNotificationDto);
8484

8585
await this.notificationService.addInAppNotificationForUser(
@@ -89,7 +89,7 @@ export class HubActivityService {
8989
header: `"${hub.name}" hub became active`,
9090
text: `Touch to go to hub.`,
9191
date: Date.now().toString(),
92-
actionLink: `https://hub.lazz.tech/app/tabs/hub/${hub?.id}`,
92+
actionLink: `https://noun.lazz.tech/app/tabs/hub/${hub?.id}`,
9393
},
9494
);
9595
}

src/hub/hub-geofence/hub-geofence.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class HubGeofenceService {
107107
if (!relation.muted) {
108108
await this.notificationService.sendPushToUser(relation.user.id, {
109109
title: message,
110-
click_action: `https://hub.lazz.tech/app/tabs/hub/${hub?.id}`,
110+
click_action: `https://noun.lazz.tech/app/tabs/hub/${hub?.id}`,
111111
body: `at the "${hub.name}" hub.`,
112112
});
113113
}
@@ -130,7 +130,7 @@ export class HubGeofenceService {
130130
if (!relation.muted) {
131131
await this.notificationService.sendPushToUser(relation.user.id, {
132132
title: message,
133-
click_action: `https://hub.lazz.tech/app/tabs/hub/${hub?.id}`,
133+
click_action: `https://noun.lazz.tech/app/tabs/hub/${hub?.id}`,
134134
body: `the "${hub.name}" hub`,
135135
});
136136
}

src/hub/hub-invite/hub-invite.service.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ describe('HubInviteService', () => {
133133
}" hub.`,
134134
text: `View the invite.`,
135135
// date: Date.now().toString(),
136-
actionLink: `https://hub.lazz.tech/app/preview-hub/${mockedFindOneJoinUserHub.hub.id}`,
136+
actionLink: `https://noun.lazz.tech/app/preview-hub/${mockedFindOneJoinUserHub.hub.id}`,
137137
}),
138138
);
139139
expect(sendPushToUser).toHaveBeenCalledWith(
@@ -143,7 +143,7 @@ describe('HubInviteService', () => {
143143
(await mockedFindOneJoinUserHub.hub.load()).name
144144
}" hub.`,
145145
body: `View the invite.`,
146-
click_action: `https://hub.lazz.tech/app/preview-hub/${(await mockedFindOneJoinUserHub.hub.load()).id}`,
146+
click_action: `https://noun.lazz.tech/app/preview-hub/${(await mockedFindOneJoinUserHub.hub.load()).id}`,
147147
}),
148148
);
149149
});

src/hub/hub-invite/hub-invite.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ export class HubInviteService {
9999
header: `You're invited to "${hub.name}" hub.`,
100100
text: `View the invite.`,
101101
date: Date.now().toString(),
102-
actionLink: `https://hub.lazz.tech/app/preview-hub/${hubId}`,
102+
actionLink: `https://noun.lazz.tech/app/preview-hub/${hubId}`,
103103
});
104104

105105
await this.notificationService.sendPushToUser(invitee.id, {
106106
title: `You're invited to "${hub.name}" hub.`,
107107
body: `View the invite.`,
108-
click_action: `https://hub.lazz.tech/app/preview-hub/${hubId}`,
108+
click_action: `https://noun.lazz.tech/app/preview-hub/${hubId}`,
109109
});
110110

111111
return invite;
@@ -136,13 +136,13 @@ export class HubInviteService {
136136
header: `${invitee.firstName} accepted invite`,
137137
text: `to "${hub.name}" hub.`,
138138
date: Date.now().toString(),
139-
actionLink: `https://hub.lazz.tech/app/tabs/hub/${hub?.id}`,
139+
actionLink: `https://noun.lazz.tech/app/tabs/hub/${hub?.id}`,
140140
});
141141

142142
await this.notificationService.sendPushToUser(invitee.id, {
143143
title: `${invitee.firstName} accepted invite`,
144144
body: `to "${hub.name}" hub.`,
145-
click_action: `https://hub.lazz.tech/app/tabs/hub/${hub?.id}`,
145+
click_action: `https://noun.lazz.tech/app/tabs/hub/${hub?.id}`,
146146
});
147147

148148
return newRelationship;

src/hub/hub.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,14 @@ export class HubService {
274274
text: `By ${user.firstName} ${user.lastName}`,
275275
date: Date.now().toString(),
276276
thumbnail: (await hub.coverImage.load()).fileName,
277-
actionLink: `https://hub.lazz.tech/app/tabs/hub/${hub?.id}`,
277+
actionLink: `https://noun.lazz.tech/app/tabs/hub/${hub?.id}`,
278278
},
279279
);
280280

281281
await this.notificationService.sendPushToUser(relationship.user.id, {
282282
title: `${hub.name} had its location changed.`,
283283
body: `By ${user.firstName} ${user.lastName}`,
284-
click_action: `https://hub.lazz.tech/app/tabs/hub/${hub?.id}`,
284+
click_action: `https://noun.lazz.tech/app/tabs/hub/${hub?.id}`,
285285
});
286286
}
287287

src/notification/notification.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export class NotificationService {
212212
JSON.stringify({
213213
notification: {
214214
...notification,
215-
icon: 'https://hub.lazz.tech/assets/lazztech_icon.webp'
215+
icon: 'https://noun.lazz.tech/assets/lazztech_icon.webp'
216216
}
217217
}),
218218
)

views/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<!-- Twitter Meta Tags -->
2222
<meta name="twitter:card" content="summary_large_image">
23-
<meta property="twitter:domain" content="hub.lazz.tech">
23+
<meta property="twitter:domain" content="noun.lazz.tech">
2424
<meta property="twitter:url" content="{{ ogUrl }}">
2525
<meta name="twitter:title" content="{{ ogTitle }}">
2626
<meta name="twitter:description" content="{{ ogDescription }}">
@@ -166,7 +166,7 @@
166166
class="appStore" src="/assets/appstore.webp" alt="apple app store linke"></a> --}}
167167

168168

169-
<a class="playStoreLink" href="https://hub.lazz.tech/app"><img class="playStore"
169+
<a class="playStoreLink" href="https://noun.lazz.tech/app"><img class="playStore"
170170
src="/assets/pwa.webp" alt="progressive web app link"></a>
171171

172172
</div>

0 commit comments

Comments
 (0)