Skip to content

Commit

Permalink
update css [home]
Browse files Browse the repository at this point in the history
  • Loading branch information
p-marques committed Feb 19, 2024
1 parent 8b4d461 commit 4c4ab22
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
3 changes: 2 additions & 1 deletion src/app/home/home.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}

100% {
transform: none;
transform: translateY(10px);
opacity: 1;
}
}
Expand All @@ -65,6 +65,7 @@
text-align: end;
font-weight: 500;
animation: code-mover 5s infinite;
animation-direction: reverse;
}

.home-wrapper .division {
Expand Down
20 changes: 9 additions & 11 deletions src/app/mods/mods.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,16 @@ export class ModsComponent implements OnInit {
}

private getModsByDomainName(domainName: string) : NexusMod[] | undefined {
if (domainName == "witcher3") {
return this.modsWitcher3;
}
else if (domainName == "cyberpunk2077") {
return this.modsCyberpunk2077;
}
else if (domainName == "witcher2") {
return this.modsWitcher2;
}
else {
return;
switch(domainName) {
case "witcher3":
return this.modsWitcher3;
case "cyberpunk2077":
return this.modsCyberpunk2077;
case "witcher2":
return this.modsWitcher2;
}

return;
}

private finishLoading() {
Expand Down

0 comments on commit 4c4ab22

Please sign in to comment.