Update: Environment for Heroku Production

This commit is contained in:
Yûki VACHOT 2021-12-22 12:15:32 +01:00
parent b7df19e1c0
commit 0d6cca625c
136 changed files with 35 additions and 2784 deletions

View file

@ -0,0 +1,11 @@
<p *ngIf="data.roleName === 'user'">
Votre inscription a bien été effectuée.
</p>
<p *ngIf="data.roleName === 'advertiser'">
Votre inscription est en cours de validation.
</p>
<div style="text-align: right">
<button mat-button mat-dialog-close> Continuer </button>
</div>

View file

@ -0,0 +1,7 @@
p {
font-size: small;
}
div {
font-size: small;
}

View file

@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PopupConfirmationComponent } from './popup-confirmation.component';
describe('PopupConfirmationComponent', () => {
let component: PopupConfirmationComponent;
let fixture: ComponentFixture<PopupConfirmationComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ PopupConfirmationComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(PopupConfirmationComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View file

@ -0,0 +1,13 @@
import {Component, Inject} from '@angular/core';
import {MAT_DIALOG_DATA, MatDialogRef} from "@angular/material/dialog";
@Component({
selector: 'app-popup-confirmation',
templateUrl: './popup-confirmation.component.html',
styleUrls: ['./popup-confirmation.component.scss']
})
export class PopupConfirmationComponent
{
constructor( public dialogRef: MatDialogRef<PopupConfirmationComponent>,
@Inject(MAT_DIALOG_DATA) public data) {}
}