Skip to content

Commit 31232f8

Browse files
committed
Switched visibile uses of Hub for Place, added temp "noun"
1 parent cbc221a commit 31232f8

24 files changed

Lines changed: 92 additions & 55 deletions

src/app/components/hub-card/hub-card.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
color="success"
2424
[checked]="hub?.active"
2525
(ionChange)="activeToggle($event)"
26-
aria-label="Toggle hub activity">
26+
aria-label="Toggle Place activity">
2727
</ion-toggle>
2828
</ion-col>
2929
</ion-row>

src/app/components/invite/invite.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
<ion-select-option value="all-people">All People</ion-select-option>
3636
<ion-select-option value="events-i-hosted">Events I Hosted</ion-select-option>
3737
<ion-select-option value="events-im-invited-to">Events I'm Invited To</ion-select-option>
38-
<ion-select-option value="hubs-im-an-admin-of">Hubs I'm an Admin Of</ion-select-option>
39-
<ion-select-option value="hubs-im-a-member-of">Hubs I’m a Member Of</ion-select-option>
38+
<ion-select-option value="hubs-im-an-admin-of">Places I'm an Admin Of</ion-select-option>
39+
<ion-select-option value="hubs-im-a-member-of">Places I’m a Member Of</ion-select-option>
4040
</ion-select>
4141
</ion-list-header>
4242

@@ -45,8 +45,8 @@
4545
<ion-item slot="header">
4646
<ion-label *ngIf="showPeopleFrom === 'events-i-hosted'">{{eventFilter ? eventFilter?.event?.name : 'Events'}}</ion-label>
4747
<ion-label *ngIf="showPeopleFrom === 'events-im-invited-to'">{{eventFilter ? eventFilter?.event?.name : 'Events'}}</ion-label>
48-
<ion-label *ngIf="showPeopleFrom === 'hubs-im-an-admin-of'">{{hubFilter ? hubFilter?.hub?.name : 'Hubs'}}</ion-label>
49-
<ion-label *ngIf="showPeopleFrom === 'hubs-im-a-member-of'">{{hubFilter ? hubFilter?.hub?.name : 'Hubs'}}</ion-label>
48+
<ion-label *ngIf="showPeopleFrom === 'hubs-im-an-admin-of'">{{hubFilter ? hubFilter?.hub?.name : 'Places'}}</ion-label>
49+
<ion-label *ngIf="showPeopleFrom === 'hubs-im-a-member-of'">{{hubFilter ? hubFilter?.hub?.name : 'Places'}}</ion-label>
5050
</ion-item>
5151
<div [hidden]="showPeopleFrom !== 'events-i-hosted'" class="ion-padding" slot="content" *ngFor="let userEvent of eventsIHosted" (click)="eventFilterClicked(userEvent)">
5252
{{userEvent?.event?.name}}

src/app/components/pwa-install/pwa-install.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ion-header translucent="true">
22
<ion-toolbar>
33
<ion-text>
4-
Install Lazztech Hub
4+
Install Lazztech Noun
55
</ion-text>
66
</ion-toolbar>
77
</ion-header>

src/app/home/home.page.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
<ion-icon size="large" name="navigate-circle" (click)="goToStatusPage()"></ion-icon>
1111
</ion-buttons>
1212
<ion-title (click)="debugService.devModeEasterEgg()">
13-
<ion-icon *ngIf="mode === 'ios'" style="font-size: 140px;" [src]="themeService.isDark() ? 'assets/lazztech_hub_light.svg' : 'assets/lazztech_hub_dark.svg'"></ion-icon>
14-
<img *ngIf="mode === 'md'" [src]="themeService.isDark() ? 'assets/lazztech_hub_light.svg' : 'assets/lazztech_hub_dark.svg'" style="width: 140px" class="vertical-align"/>
13+
<div style="display: flex; align-items: center; justify-content: center;">
14+
<ion-icon *ngIf="mode === 'ios'" style="font-size: 140px;" [src]="themeService.isDark() ? 'assets/lazztech_title_light.svg' : 'assets/lazztech_title.svg'"></ion-icon>
15+
<img *ngIf="mode === 'md'" [src]="themeService.isDark() ? 'assets/lazztech_title_light.svg' : 'assets/lazztech_title.svg'" style="width: 140px" class="vertical-align"/>
16+
<span style="margin-left: 8px; font-size: 1.75rem;"> | noun</span>
17+
</div>
1518
</ion-title>
1619

1720
<ion-progress-bar *ngIf="loading" type="indeterminate"></ion-progress-bar>
@@ -24,7 +27,7 @@
2427

2528
<ion-content fullscreen="true">
2629

27-
<ion-searchbar (ionInput)="filterHubs($event)" showCancelButton="focus" placeholder="Search Hubs"></ion-searchbar>
30+
<ion-searchbar (ionInput)="filterHubs($event)" showCancelButton="focus" placeholder="Search Places"></ion-searchbar>
2831

2932
<ion-card style="height:30%" (click)="goToMap()">
3033
<app-maplibre
@@ -51,7 +54,7 @@
5154
</ion-card-header>
5255
<ion-icon slot="end" name="arrow-down"></ion-icon>
5356
<ion-card-content>
54-
Create an event and invite guests!
57+
Create an event and invite people!
5558
</ion-card-content>
5659
</ion-item>
5760

@@ -81,7 +84,7 @@
8184

8285
<ion-list *ngIf="filter === ''">
8386
<ion-list-header>
84-
<ion-text>Hubs</ion-text>
87+
<ion-text>Places</ion-text>
8588
</ion-list-header>
8689

8790
<ion-item lines="none" *ngIf="!loading && !userHubs?.length">
@@ -90,7 +93,7 @@
9093
</ion-card-header>
9194
<ion-icon slot="end" name="arrow-down"></ion-icon>
9295
<ion-card-content>
93-
Create a community Hub and receive notifications when people gather.
96+
Create a community Place and receive notifications when people gather.
9497
</ion-card-content>
9598
</ion-item>
9699

@@ -107,7 +110,7 @@
107110

108111
<ion-list *ngIf="filter !== ''">
109112
<ion-list-header>
110-
<ion-text>Hubs</ion-text>
113+
<ion-text>Places</ion-text>
111114
</ion-list-header>
112115
<div *ngFor="let userHub of filteredUserHubs; trackBy: userTrackByHub">
113116
<app-hub-card

src/app/pages/add-hub/add-hub.page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<form [formGroup]="myForm" (ngSubmit)="saveHub()" method="post">
1212
<ion-list>
1313
<ion-list-header class="ion-padding-bottom">
14-
<ion-text>Hub Details</ion-text>
14+
<ion-text>Place Details</ion-text>
1515
</ion-list-header>
1616

1717
<ion-item>
18-
<ion-input type="text" ngDefaultControl formControlName="hubName" color="" [(ngModel)]="hub.name" placeholder="Hub name"></ion-input>
18+
<ion-input type="text" ngDefaultControl formControlName="hubName" color="" [(ngModel)]="hub.name" placeholder="Place name"></ion-input>
1919
<ion-label>
2020
<ion-text *ngIf="hubName.invalid" color="danger">*</ion-text>
2121
</ion-label>

src/app/pages/auth/landing/landing.page.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
<ion-header translucent="true">
22
<ion-toolbar>
3-
<ion-title>
4-
<ion-icon *ngIf="mode === 'ios'" style="font-size: 140px;" [src]="themeService.isDark() ? 'assets/lazztech_hub_light.svg' : 'assets/lazztech_hub_dark.svg'"></ion-icon>
5-
<img *ngIf="mode === 'md'" [src]="themeService.isDark() ? 'assets/lazztech_hub_light.svg' : 'assets/lazztech_hub_dark.svg'" style="width: 140px" class="vertical-align"/>
3+
<ion-title>
4+
<div style="display: flex; align-items: center; justify-content: center;">
5+
<ion-icon *ngIf="mode === 'ios'" style="font-size: 140px;" [src]="themeService.isDark() ? 'assets/lazztech_title_light.svg' : 'assets/lazztech_title.svg'"></ion-icon>
6+
<img *ngIf="mode === 'md'" [src]="themeService.isDark() ? 'assets/lazztech_title_light.svg' : 'assets/lazztech_title.svg'" style="width: 140px" class="vertical-align"/>
7+
<span style="margin-left: 8px; font-size: 1.75rem;"> | noun</span>
8+
</div>
69
</ion-title>
710

811
<ion-progress-bar *ngIf="loading" type="indeterminate"></ion-progress-bar>

src/app/pages/event/event.page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
<ion-list *ngIf="userEventQueryResult?.data?.event?.event?.hub as hub">
4848
<ion-list-header>
49-
<ion-text>Hub</ion-text>
49+
<ion-text>Place</ion-text>
5050
</ion-list-header>
5151
<app-hub-card
5252
[hub]="hub"

src/app/pages/hub/admin-hub/admin-hub.page.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ion-buttons slot="start">
44
<ion-back-button defaultHref="/"></ion-back-button>
55
</ion-buttons>
6-
<ion-title>Manage Hub</ion-title>
6+
<ion-title>Manage Place</ion-title>
77
<ion-icon
88
slot="end"
99
size="large"
@@ -17,7 +17,7 @@
1717
<ion-content fullscreen="true">
1818
<ion-list *ngIf="userHub?.data?.hub">
1919
<ion-list-header class="ion-padding-bottom">
20-
<ion-label>Hub Details</ion-label>
20+
<ion-label>Place Details</ion-label>
2121
</ion-list-header>
2222

2323
<ion-item>
@@ -30,14 +30,14 @@
3030
(click)="toggleActivity()"
3131
class="ion-float-right"
3232
color="success"
33-
aria-label="Toggle hub activity"
33+
aria-label="Toggle Place activity"
3434
></ion-toggle>
3535
</ion-item>
3636

3737
<form *ngIf="userHub" [formGroup]="myForm" method="post">
3838

3939
<ion-item>
40-
<ion-input *ngIf="userHub" formControlName="hubName" placeholder="Hub name"></ion-input>
40+
<ion-input *ngIf="userHub" formControlName="hubName" placeholder="Place name"></ion-input>
4141
<ion-label>
4242
<ion-text *ngIf="hubName.invalid" color="danger">*</ion-text>
4343
</ion-label>
@@ -241,7 +241,7 @@ <h3 class="ion-float-left">
241241
[shareableLink]="'https://hub.lazz.tech/hub/' + userHub?.data?.hub?.hub?.shareableId"
242242
[qrData]="'https://hub.lazz.tech/hub/' + userHub?.data?.hub?.hub?.shareableId"
243243
[qrTitle]="userHub?.data?.hub?.hub?.name"
244-
[qrSubtitle]="'Scan to join hub @ ' + userHub?.data?.hub?.hub?.locationLabel"
244+
[qrSubtitle]="'Scan to join @ ' + userHub?.data?.hub?.hub?.locationLabel"
245245
[modal]="modal"
246246
></app-invite>
247247
</ion-content>

src/app/pages/hub/hub.page.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<ion-icon size="large" name="settings-outline" href="javascript:void(0);" (click)="presentActionSheet()"></ion-icon>
88
</ion-buttons>
99

10-
<ion-title>{{userHub?.hub?.name || 'Hub'}}</ion-title>
10+
<ion-title>{{userHub?.hub?.name || 'Place'}}</ion-title>
1111
<ion-progress-bar *ngIf="loading" type="indeterminate"></ion-progress-bar>
1212
</ion-toolbar>
1313
</ion-header>
@@ -71,15 +71,15 @@
7171
<ion-item button lines="none" (click)="goToCreateEventPage()">
7272
<ion-icon slot="end" name="calendar"></ion-icon>
7373
<ion-card-content>
74-
Create an Event and invite people for them to see all your Events at this Hub!
74+
Create an Event and invite people for them to see all your Events at this Place!
7575
</ion-card-content>
7676
</ion-item>
7777
</ion-card>
7878
<ion-card *ngIf="!userHub?.isOwner">
7979
<ion-item lines="none">
8080
<ion-icon slot="end" name="calendar"></ion-icon>
8181
<ion-card-content>
82-
Events at this Hub, by the Admin, will be listed here.
82+
Events at this Place, by the Admin, will be listed here.
8383
</ion-card-content>
8484
</ion-item>
8585
</ion-card>
@@ -343,7 +343,7 @@ <h3>
343343
[shareableLink]="'https://hub.lazz.tech/hub/' + userHub.hub?.shareableId"
344344
[qrData]="'https://hub.lazz.tech/hub/' + userHub.hub?.shareableId"
345345
[qrTitle]="userHub?.hub?.name"
346-
[qrSubtitle]="'Scan to join hub @ ' + userHub?.hub.locationLabel"
346+
[qrSubtitle]="'Scan to join @ ' + userHub?.hub.locationLabel"
347347
[modal]="modal"
348348
></app-invite>
349349
</ion-content>

src/app/pages/hub/hub.page.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ export class HubPage implements OnInit, OnDestroy {
169169
async presentActionSheet() {
170170
if (this.userHub) {
171171
const buttons = [];
172-
console.log('is hub owner' + this.userHub.isOwner);
172+
console.log('is Place owner' + this.userHub.isOwner);
173173
if (this.userHub.isOwner) {
174174
buttons.push({
175-
text: 'Manage Hub',
175+
text: 'Manage Place',
176176
handler: () => {
177177
this.navCtrl.navigateForward('admin-hub/' + this.id);
178178
}
@@ -230,7 +230,7 @@ export class HubPage implements OnInit, OnDestroy {
230230
}
231231

232232
const actionSheet = await this.actionSheetController.create({
233-
header: 'Hub Options',
233+
header: 'Place Options',
234234
buttons: [
235235
...buttons,
236236
{
@@ -292,7 +292,7 @@ export class HubPage implements OnInit, OnDestroy {
292292
data: 'https://hub.lazz.tech/hub/' + this.userHub.hub?.shareableId,
293293
shareableLink: 'https://hub.lazz.tech/hub/' + this.userHub.hub?.shareableId,
294294
title: this.userHub.hub.name,
295-
subtitle: 'Scan to join hub @ ' + this.userHub?.hub.locationLabel,
295+
subtitle: 'Scan to join @ ' + this.userHub?.hub.locationLabel,
296296
image: this.userHub.hub?.image,
297297
inviteContext: {
298298
type: 'hub',

0 commit comments

Comments
 (0)