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,5 @@
|
||||
<ng-container>
|
||||
<header id="top">
|
||||
<header id="top" [ngStyle]="{ 'background-image': 'url(' + background_image + ')'}">
|
||||
<nav id="nav" [ngClass]="active">
|
||||
<div class="container">
|
||||
<div id="mobile_nav">
|
||||
|
||||
Reference in New Issue
Block a user