diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts index 9766be5296..fa0886cf2c 100644 --- a/src/app/home/home.component.ts +++ b/src/app/home/home.component.ts @@ -66,9 +66,12 @@ export class HomeComponent implements OnInit, AfterViewInit { this.mainContent._changeDetectorRef.markForCheck(); } + // Used to swap in different background. + // Should remove when background is finalized. backgroundRoute() { const routesWithBackground = [ 'resources', 'courses' ]; - const routesWithoutBackground = [ 'resources/add', 'resources/view' ]; + // Leaving the exception variable in so we can easily use this while still testing backgrounds + const routesWithoutBackground = []; const isException = routesWithoutBackground .findIndex((route) => this.router.url.indexOf(route) > -1) > -1; const isRoute = routesWithBackground diff --git a/src/app/resources/resources-add.component.html b/src/app/resources/resources-add.component.html index 232d41a52e..f17dde07c3 100644 --- a/src/app/resources/resources-add.component.html +++ b/src/app/resources/resources-add.component.html @@ -1,99 +1,107 @@ -