-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(web)!: Everything stands alone.
Refactored the quasi-entirety of the Angular application to the new standalone components approach, to mitigate module hell. So far everything looks in order, except for the Modals. Will fix in further commits.
- Loading branch information
1 parent
226a5c5
commit 83fb419
Showing
63 changed files
with
588 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<ng-container *ngIf="appInit.isInitialized$ | async as initialized"> | ||
<div class="app-loading-wrapper" *ngIf="!initialized"> | ||
<img alt="App Loading Logo" id="app-init-logo-light" class="app-loading-logo" src="../assets/logos/rci-logo-light.svg"/> | ||
<img alt="App Loading Logo" id="app-init-logo-dark" class="app-loading-logo" src="../assets/logos/rci-logo-dark.svg"/> | ||
<!-- <img alt="App Loading Logo" id="app-init-logo-light" class="app-loading-logo" src="../assets/logos/rci-logo-light.svg"/> --> | ||
<!-- <img alt="App Loading Logo" id="app-init-logo-dark" class="app-loading-logo" src="..k/assets/logos/rci-logo-dark.svg"/> --> | ||
</div> | ||
</ng-container> | ||
|
||
<router-outlet></router-outlet> | ||
<router-outlet /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; | ||
import { AppInitService } from "./services/app-init.service"; | ||
import { RouterOutlet } from "@angular/router"; | ||
import { AsyncPipe, NgIf } from "@angular/common"; | ||
|
||
@Component({ | ||
standalone: true, | ||
selector: 'app-root', | ||
templateUrl: './app-wrapper.component.html', | ||
imports: [ | ||
RouterOutlet, | ||
AsyncPipe, | ||
NgIf | ||
], | ||
changeDetection: ChangeDetectionStrategy.OnPush | ||
}) | ||
export class AppWrapperComponent { | ||
|
||
constructor(public appInit: AppInitService) { | ||
} | ||
constructor(public appInit: AppInitService) { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
wowskarma.app/src/app/pages/clan/search/search.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
wowskarma.app/src/app/pages/fallbacks/not-found/not-found.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.