diff --git a/apps/schedule/src/app/models/event.ts b/apps/schedule/src/app/models/event.ts index 8c8cbd2..4796154 100644 --- a/apps/schedule/src/app/models/event.ts +++ b/apps/schedule/src/app/models/event.ts @@ -4,6 +4,8 @@ export interface Event { end: Date; title: string; description: string; + cover_image_id: string; + cover_image_url: string; game_id: number; game_name: string; game_box_small: string; diff --git a/apps/schedule/src/app/schedule/schedule.component.css b/apps/schedule/src/app/schedule/schedule.component.css index 946752d..cb9e454 100644 --- a/apps/schedule/src/app/schedule/schedule.component.css +++ b/apps/schedule/src/app/schedule/schedule.component.css @@ -14,8 +14,13 @@ font-size: 125%; } -.mat-column-game_name img, .mat-column-game_name span { - vertical-align: middle; +.mat-cell { + padding-top: 0.5em; + padding-bottom: 0.5em; +} + +.mat-cell img { + margin-top: 0.5em; } .spinner-container { diff --git a/apps/schedule/src/app/schedule/schedule.component.html b/apps/schedule/src/app/schedule/schedule.component.html index 9f9d7cd..d686e9d 100644 --- a/apps/schedule/src/app/schedule/schedule.component.html +++ b/apps/schedule/src/app/schedule/schedule.component.html @@ -42,7 +42,7 @@ - + @@ -50,31 +50,38 @@ +
+ + {{event.title}} +
- {{event.description}} + {{event.description}} - - - {{event.game_name}} + {{event.game_name}} +
+ + {{event.game_name}} +
- {{event.start | time : timeZone}} + {{event.start | time : timeZone}}