Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
[class.animate-switch]="animateSwitch"
[class.animate-lock]="locked()"
src="assets/agent-portraits/{{ agent() }}Portrait.webp"
alt=""
/>

<div class="animate-style-early absolute bottom-3/100 left-1/2 z-4 w-1/4 -translate-x-1/2">
Expand All @@ -17,6 +18,7 @@
[class.animate-switch]="animateSwitch"
[class.animate-lock]="locked()"
src="assets/roles/{{ getAgentRole(agent()) }}.webp"
alt=""
/>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class EndroundBannerComponent {
private calculateSponsor(): IRoundWinBoxSponsors {
const initialSponsor: IRoundWinBoxSponsors = {
wonTeam: "all",
roundCeremonie: ["all"],
roundCeremony: ["all"],
iconUrl: "",
backdropUrl: "",
};
Expand All @@ -105,25 +105,25 @@ export class EndroundBannerComponent {
const sponsor: IRoundWinBoxSponsors = this.roundWinBox().sponsors[0];

for (const spons of this.roundWinBox().sponsors) {
if (spons.roundCeremonie) {
if (spons.roundCeremony) {
if (
spons.wonTeam == "all" ||
(spons.wonTeam == "left" && teamwon == 0) ||
(spons.wonTeam == "right" && teamwon == 1)
) {
if (
spons.roundCeremonie.includes("all") ||
(spons.roundCeremonie.includes("normal") &&
spons.roundCeremony.includes("all") ||
(spons.roundCeremony.includes("normal") &&
roundWonType == TranslateKeys.Endround_RoundWin) ||
(spons.roundCeremonie.includes("ace") &&
(spons.roundCeremony.includes("ace") &&
roundWonType == TranslateKeys.Endround_RoundAce) ||
(spons.roundCeremonie.includes("clutch") &&
(spons.roundCeremony.includes("clutch") &&
roundWonType == TranslateKeys.Endround_RoundClutch) ||
(spons.roundCeremonie.includes("teamAce") &&
(spons.roundCeremony.includes("teamAce") &&
roundWonType == TranslateKeys.Endround_RoundTeamAce) ||
(spons.roundCeremonie.includes("flawless") &&
(spons.roundCeremony.includes("flawless") &&
roundWonType == TranslateKeys.Endround_RoundFlawless) ||
(spons.roundCeremonie.includes("thrifty") &&
(spons.roundCeremony.includes("thrifty") &&
roundWonType == TranslateKeys.Endround_RoundThrifty)
) {
return spons;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
[class.bg-agent-select-defender]="!team.isAttacking"
[class.down]="$index === 1"
>
<img class="aspect-square max-h-8/10 w-8/10" [src]="team.teamUrl" />
<img class="aspect-square max-h-8/10 w-8/10" [src]="team.teamUrl" alt="" />
<p class="font-unbounded text-3xl font-extrabold text-white">
{{ team.teamTricode }}
</p>
Expand Down
2 changes: 0 additions & 2 deletions src/app/overlays/toast-overlay/toast-component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@if(dataModel.match().roundPhase === "shopping") {
<div class="vw-900 vh-130 relative overflow-hidden" [class.hidden]="hide">
<div
class="absolute top-0 left-0 flex w-full items-center justify-center"
Expand Down Expand Up @@ -97,4 +96,3 @@
</div>
</div>
</div>
}
2 changes: 1 addition & 1 deletion src/app/services/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export interface IRoundWinBox {

export interface IRoundWinBoxSponsors {
wonTeam: "all" | "left" | "right";
roundCeremonie: ("all" | "normal" | "ace" | "clutch" | "teamAce" | "flawless" | "thrifty")[];
roundCeremony: ("all" | "normal" | "ace" | "clutch" | "teamAce" | "flawless" | "thrifty")[];
iconUrl: string;
backdropUrl: string;
}
Expand Down