Skip to content

Commit

Permalink
wip new shop
Browse files Browse the repository at this point in the history
  • Loading branch information
FunixG committed Feb 13, 2024
1 parent 253aa57 commit 6a7471b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
4 changes: 1 addition & 3 deletions src/app/pages/shop/shop.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {ShopRoutingModule} from './shop-routing.module';
import {ShopComponent} from './shop.component';
import {ShopCategoriesComponent} from './components/shop-categories/shop-categories.component';
import {ShopArticlesComponent} from './components/shop-articles/shop-articles.component';
import {FontAwesomeModule} from "@fortawesome/angular-fontawesome";
import {ShopArticleComponent} from './components/shop-articles/shop-article/shop-article.component';
import {ShopArticleModalComponent} from './components/shop-articles/shop-article-modal/shop-article-modal.component';
import {ShopCheckoutComponent} from './shop-checkout/shop-checkout.component';
Expand All @@ -23,8 +22,7 @@ import {HttpClientModule} from "@angular/common/http";
imports: [
CommonModule,
HttpClientModule,
ShopRoutingModule,
FontAwesomeModule
ShopRoutingModule
]
})
export class ShopModule { }
2 changes: 1 addition & 1 deletion src/app/pages/user/user-page/user-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ <h3>{{ user?.username }}</h3>
</div>

<div class="link minecraft">
<button class="btn btn-success"><fa-icon [icon]="faSearch"></fa-icon> Lier son compte Minecraft</button>
<button class="btn btn-success"><i class="bi bi-search"></i>Lier son compte Minecraft</button>
</div>
</div>
3 changes: 0 additions & 3 deletions src/app/pages/user/user-page/user-page.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {Component, Inject, PLATFORM_ID} from '@angular/core';
import {Router} from "@angular/router";
import {faSearch} from '@fortawesome/free-solid-svg-icons';
import {PacifistaPage} from "../../../components/pacifista-page/pacifista-page";
import {UserAuthService, UserDTO} from "@funixproductions/funixproductions-requests";
import {Title} from "@angular/platform-browser";
Expand All @@ -19,8 +18,6 @@ export class UserPageComponent extends PacifistaPage {
protected override canonicalPath: string = 'user';
protected override pageDescription: string = 'Page de profil utilisateur.';

protected readonly faSearch = faSearch;

private readonly authService: UserAuthService;
user?: UserDTO;

Expand Down
2 changes: 0 additions & 2 deletions src/app/pages/user/user.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {FormsModule} from "@angular/forms";
import {RECAPTCHA_V3_SITE_KEY, RecaptchaV3Module} from "ng-recaptcha";
import {environment} from "../../../environments/environment";
import {UserForgotPasswordComponent} from './user-forgot-password/user-forgot-password.component';
import {FontAwesomeModule} from "@fortawesome/angular-fontawesome";
import {MatSelectCountryModule} from "@angular-material-extensions/select-country";
import {InputEmailComponent} from "../../components/inputs/input-email/input-email.component";
import {SendButtonComponent} from "../../components/buttons/send-button/send-button.component";
Expand All @@ -36,7 +35,6 @@ import {UserForgotPasswordChangeComponent} from "./user-forgot-password-change/u
HttpClientModule,
FormsModule,
RecaptchaV3Module,
FontAwesomeModule,
InputEmailComponent,
SendButtonComponent,
InputTextComponent,
Expand Down

0 comments on commit 6a7471b

Please sign in to comment.