|
1 | 1 | <div |
2 | | - class="vw-875 vh-200 animate-duration-300 relative top-0 overflow-hidden" |
| 2 | + class="vw-750 vh-200 animate-duration-300 animate-style-keep relative top-0 overflow-hidden" |
3 | 3 | [class.hidden]="hide" |
4 | 4 | [class.animate-swish]="inAnimation" |
5 | 5 | [class.animate-swish-out]="outAnimation" |
6 | 6 | > |
7 | 7 | <div |
8 | | - class="vw-875 vh-200 relative top-0 left-0 flex flex-col items-center justify-center overflow-hidden" |
| 8 | + class="vw-750 vh-200 relative top-0 left-0 flex flex-col items-center justify-center overflow-hidden" |
9 | 9 | > |
10 | | - <img class="absolute top-0 left-0 -z-1 h-full w-full" [src]="tournamentBackgroundUrl()" /> |
| 10 | + @if (tournamentBackgroundUrl()) { |
| 11 | + <img class="absolute top-0 left-0 -z-1 h-full w-full" [src]="tournamentBackgroundUrl()" /> |
| 12 | + } @else if (!timeoutInfo().techPause) { |
| 13 | + <div |
| 14 | + class="absolute top-0 left-0 -z-1 h-full w-full rounded-lg" |
| 15 | + [class]="timeoutTeamBackgroundClass()" |
| 16 | + ></div> |
| 17 | + } @else { |
| 18 | + <div class="gradient-tech-pause absolute top-0 left-0 -z-1 h-full w-full rounded-lg"></div> |
| 19 | + } |
11 | 20 |
|
12 | 21 | @if (timeoutInfo().techPause) { |
13 | 22 | <p class="font-unbounded text-5xl font-bold text-white uppercase"> |
14 | 23 | {{ TranslateKeys.Timeout_Techpause | translate }} |
15 | 24 | </p> |
16 | 25 | } @else { |
17 | | - <img class="max-vh-120 max-vw-400" [src]="timeoutTeam().teamUrl" /> |
| 26 | + <div class="-mt-2 flex h-2/3 w-1/2 flex-row content-center items-center justify-around"> |
| 27 | + <div class="w-1/2"> |
| 28 | + <img class="max-vh-120 max-vw-400" [src]="timeoutTeam().teamUrl" /> |
| 29 | + </div> |
| 30 | + <div class="flex w-1/2 flex-col gap-2 text-center"> |
| 31 | + <p class="font-unbounded text-2xl font-bold text-white"> |
| 32 | + {{ TranslateKeys.Timeout_Amount | translate }} |
| 33 | + </p> |
| 34 | + <div class="flex flex-row justify-center gap-2"> |
| 35 | + @for (i of numSequence(activeTimeoutCounter()); track $index) { |
| 36 | + @if ($index === activeTimeoutCounter() - 1) { |
| 37 | + <img class="vw-25 vh-25 timeout-pulse" src="assets/misc/ultimate-pip.svg" /> |
| 38 | + } @else { |
| 39 | + <img class="vw-25 vh-25" src="assets/misc/ultimate-pip-full.svg" /> |
| 40 | + } |
| 41 | + } |
| 42 | + @for (i of numSequence(maxTimeouts() - activeTimeoutCounter()); track $index) { |
| 43 | + <img class="vw-25 vh-25" src="assets/misc/ultimate-pip.svg" /> |
| 44 | + } |
| 45 | + </div> |
| 46 | + </div> |
| 47 | + </div> |
18 | 48 | <p class="font-unbounded text-2xl font-bold text-white"> |
19 | 49 | {{ TranslateKeys.Timeout_Tactical | translate: { teamName: timeoutTeam().teamName } }} |
20 | 50 | </p> |
21 | | - <div class="vh-23 absolute bottom-0 flex w-full items-center justify-center bg-white/20"> |
| 51 | + <div |
| 52 | + class="vh-22 absolute bottom-0 flex w-full items-center justify-center rounded-b-lg bg-white/20" |
| 53 | + > |
22 | 54 | <div |
23 | | - class="timer-transition absolute left-0 h-full bg-white/35" |
| 55 | + class="timer-transition absolute left-0 h-full rounded-tr-lg rounded-br-lg rounded-bl-lg bg-white/35" |
24 | 56 | [style.width]="timerWidth()" |
25 | 57 | ></div> |
26 | 58 | <p class="font-montserrat z-2 text-lg font-bold text-white text-shadow-2xs"> |
|
0 commit comments