Add background image support to header components
Updated header components to accept and render background images via a new `[background_image]` input property. Modified relevant templates to apply the background image dynamically and updated usage in `home` and `map` components.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<ng-container>
|
||||
<app-header [title]="'Altitude'" [current_page]="'home'"></app-header>
|
||||
<app-header [title]="'Altitude'" [current_page]="'home'"
|
||||
[background_image]="'/public/img/backgrounds/120spawn-min.png'"></app-header>
|
||||
<main>
|
||||
<section id="scrollingpoint" style="background: #202020; text-align: center; padding: 80px 0px;">
|
||||
<!-- TODO load player count from old api or backend?-->
|
||||
|
||||
Reference in New Issue
Block a user