Skip to content

Commit

Permalink
Rename advanced profile to project profile and implement project prof…
Browse files Browse the repository at this point in the history
…ile component
  • Loading branch information
miladsoft committed Dec 12, 2024
1 parent 2531c91 commit bfeca36
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<!-- Section -->
<div class="w-full">
<div class="text-secondary">
Customize and enhance your profile with advanced modules and personalized settings.
Manage and customize your project profile, including privacy settings, analytics, activity logs, and linked accounts.
</div>
</div>



<!-- Actions -->
<div class="mt-8 flex items-center justify-end">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import { PasswordDialogComponent } from 'app/shared/password-dialog/password-dia
import { NostrEvent, UnsignedEvent, finalizeEvent } from 'nostr-tools';

@Component({
selector: 'settings-advanced-profile',
templateUrl: './advanced-profile.component.html',
selector: 'settings-project-profile',
templateUrl: './project-profile.component.html',
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
Expand All @@ -48,7 +48,7 @@ import { NostrEvent, UnsignedEvent, finalizeEvent } from 'nostr-tools';
CommonModule,
]
})
export class SettingsAdvancedProfileComponent implements OnInit {
export class SettingsProjectProfileComponent implements OnInit {
profileForm: FormGroup;
content: string;
user: any;
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/settings/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
<settings-profile></settings-profile>
}
<!-- Advanced Profile -->
@case ('advanced-profile') {
<settings-advanced-profile></settings-advanced-profile>
@case ('project-profile') {
<settings-project-profile></settings-project-profile>
}
<!-- Security -->
@case ('security') {
Expand Down
10 changes: 5 additions & 5 deletions src/app/components/settings/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { SettingsNotificationsComponent } from './notifications/notifications.co
import { SettingsProfileComponent } from './profile/profile.component';
import { SettingsRelayComponent } from './relay/relay.component';
import { SettingsSecurityComponent } from './security/security.component';
import { SettingsAdvancedProfileComponent } from './advanced-profile/advanced-profile.component';
import { SettingsProjectProfileComponent } from './project-profile/project-profile.component';

@Component({
selector: 'settings',
Expand All @@ -40,7 +40,7 @@ import { SettingsAdvancedProfileComponent } from './advanced-profile/advanced-pr
SettingsRelayComponent,
SettingsNetworkComponent,
SettingsIndexerComponent,
SettingsAdvancedProfileComponent
SettingsProjectProfileComponent
]
})
export class SettingsComponent implements OnInit, OnDestroy {
Expand Down Expand Up @@ -77,11 +77,11 @@ export class SettingsComponent implements OnInit, OnDestroy {
'Update your personal profile, manage your account details, and modify your private information.',
},
{
id: 'advanced-profile',
id: 'project-profile',
icon: 'heroicons_outline:check-badge',
title: 'Advanced Profile',
title: 'Project profile',
description:
'Manage and explore advanced settings of your profile, including privacy options, analytics, activity logs, and connected accounts.',
'Manage and customize your project profile, including privacy settings, analytics, activity logs, and linked accounts.',
},
{
id: 'notifications',
Expand Down

0 comments on commit bfeca36

Please sign in to comment.