Skip to content

Commit 8b0ba78

Browse files
committed
Fix for asset route
1 parent d8d205f commit 8b0ba78

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/app/expo-quiz-2025/expo-quiz-2025.component.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ header p {
5757
left: 0;
5858
width: 100%;
5959
height: 100%;
60-
background-image: url('assets/img/antwerp.png');
6160
background-size: cover;
6261
background-position: center;
6362
background-repeat: no-repeat;

src/app/expo-quiz-2025/expo-quiz-2025.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h1>🎯 Expo 2025 Terminology Quiz</h1>
66

77
<!-- Quiz Selector - Videogame Style Menu -->
88
<div class="quiz-selector videogame-menu" *ngIf="showQuizSelector">
9-
<div class="menu-background"></div>
9+
<div class="menu-background" [style.background-image]="'url(' + backgroundImage + ')'"></div>
1010
<div class="menu-content">
1111
<div class="menu-buttons">
1212
<button class="menu-btn" (click)="startQuiz('food')">

src/app/expo-quiz-2025/expo-quiz-2025.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ export class ExpoQuiz2025Component implements OnInit, OnDestroy {
170170
// Event name for grouping quiz results
171171
eventName: string = 'Expo 2025';
172172

173+
// Background image path
174+
backgroundImage: string = 'assets/img/antwerp.png';
175+
173176
// Loading states
174177
isLoadingLeaderboards: boolean = false;
175178

0 commit comments

Comments
 (0)