This commit is contained in:
28
src/app/features/landing/landing-page.component.ts
Normal file
28
src/app/features/landing/landing-page.component.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { PageShellComponent } from '../../core/layout/page-shell.component';
|
||||
import { HomeSectionComponent } from '../home/home-section.component';
|
||||
import { AboutMeSectionComponent } from '../about/about-me-section.component';
|
||||
import { AboutItSectionComponent } from '../about/about-it-section.component';
|
||||
import { MAIN_NAVIGATION } from '../../shared/config/navigation.config';
|
||||
|
||||
@Component({
|
||||
selector: 'app-landing-page',
|
||||
standalone: true,
|
||||
imports: [
|
||||
PageShellComponent,
|
||||
HomeSectionComponent,
|
||||
AboutMeSectionComponent,
|
||||
AboutItSectionComponent
|
||||
],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
template: `
|
||||
<app-page-shell [sections]="sections">
|
||||
<app-home-section />
|
||||
<app-about-me-section />
|
||||
<app-about-it-section />
|
||||
</app-page-shell>
|
||||
`
|
||||
})
|
||||
export class LandingPageComponent {
|
||||
readonly sections = MAIN_NAVIGATION;
|
||||
}
|
||||
Reference in New Issue
Block a user