Skip to content

Commit

Permalink
feat: apply footer on app
Browse files Browse the repository at this point in the history
  • Loading branch information
sanriodev committed Sep 11, 2024
1 parent 141aacc commit c5a77d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { NavigationEnd, Router } from '@angular/router';

@Component({
selector: 'app-root',
template: '<router-outlet></router-outlet>',
template: '<router-outlet></router-outlet><app-footer></app-footer>',
styleUrls: ['./app.component.scss'],
})
export class AppComponent {
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { AppComponent } from './app.component';
import { HttpClientModule } from '@angular/common/http';
import { routes } from './app.routes';
import { RouterModule } from '@angular/router';
import { DefaultLayoutComponent } from './common';
import { EnergyOverviewModule } from './views/energy-overview/energy-overview.module';
import { BrowserModule } from '@angular/platform-browser';
const APP_CONTAINERS = [DefaultLayoutComponent];
import { FooterComponent } from './common/footer/footer.component';
const APP_CONTAINERS = [FooterComponent];

@NgModule({
declarations: [AppComponent],
declarations: [AppComponent, ...APP_CONTAINERS],
imports: [
BrowserModule,
HttpClientModule,
Expand Down

0 comments on commit c5a77d0

Please sign in to comment.