1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-23 09:40:52 +02:00

feat(#102): frontend: center team signup success message

Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
This commit is contained in:
Christoph Heiss 2024-05-28 19:54:23 +02:00
parent 2469cb2a45
commit 8aab0cc86c
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A
2 changed files with 8 additions and 1 deletions

View file

@ -1,6 +1,9 @@
@if (isTournamentLoadedAndRegistrationOpen) {
@if (success) {
<div class="success-message">
<h2>Signed up successfully</h2>
<h3>Thanks for participating in {{ tournament?.name }}!</h3>
</div>
} @else {
<div class="form-container">
<form [formGroup]="newTeamNameForm" (ngSubmit)="createTeam()" class="form">

View file

@ -8,3 +8,7 @@
flex-direction: column;
gap: 1rem;
}
.success-message {
text-align: center;
}