-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀Updated background colours for insights and side bar
- Loading branch information
1 parent
4f16414
commit 033296b
Showing
4 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
Frontend/src/app/components/organisms/bottom-player/bottom-player.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
Frontend/src/app/components/organisms/song-cards/song-cards.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<div [ngClass]="this.moodComponentClasses[this.moodService.getCurrentMood()]" class="flex items-center mb-5 hover:cursor-pointer bg-default-backgrounddark rounded-lg p-1 group" | ||
<div class="bg-stone-950 flex items-center mb-5 hover:cursor-pointer bg-default-backgrounddark rounded-lg p-1 group" | ||
(click)="playTrack(card.id)"> | ||
<!-- Image on the left --> | ||
<div class="mr-4 flex-shrink-0" [style.width]="imgSize"> | ||
<img [src]="card?.imageUrl || 'path/to/default-image.jpg'" | ||
alt="Card image" | ||
class="w-1/4 rounded-lg mr-2.5 w-full h-auto" | ||
[style.width]="imgSize" | ||
<img [src]="card?.imageUrl || 'path/to/default-image.jpg'" | ||
alt="Card image" | ||
class="w-1/4 rounded-lg mr-2.5 w-full h-auto" | ||
[style.width]="imgSize" | ||
[style.height]="imgSize"> | ||
</div> | ||
<!-- Text on the right --> | ||
<div class="flex-grow"> | ||
<!-- First text with icon --> | ||
<div class="flex items-center"> | ||
<img *ngIf="card.explicit" src="../../../../assets/images/explicit-dark.png" alt="Explicit Icon" class="w-6 h-6 mr-2"> | ||
<h1 class="font-weight: bold;">{{ card.text }}</h1> | ||
<h1 class="font-weight: bold; text-white">{{ card.text }}</h1> | ||
</div> | ||
<!-- Second text (underneath the first text) --> | ||
<p class="font-weight: bold;">{{ card.secondaryText }}</p> | ||
<p class="font-weight: bold; text-white">{{ card.secondaryText }}</p> | ||
</div> | ||
<app-echo-button | ||
[width]="svgSize" | ||
[height]="svgSize" | ||
[width]="svgSize" | ||
[height]="svgSize" | ||
(buttonClick)="onEchoButtonClick($event)" | ||
class="opacity-0 group-hover:opacity-100 transition-opacity duration-300"> | ||
</app-echo-button> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters