I'm currently facing an issue with nesting Nebular UI Kit components within my Angular app. Specifically, I am trying to nest a header component inside the home page component. The problem arises when the attributes take up the entire page by default, causing my components to stack on top of each other as two full-size screens. I need help figuring out how to properly nest Nebular components inside one another.
I attempted to resolve this by removing the attributes from the header component and then nesting it underneath the attributes in the home component. However, this caused the header to not display in the home component at all. Thus far, I have been unable to find a solution that effectively addresses this issue.
Below is my current setup (everything functions correctly except for the fact that the header displays as a full-size window on top of the rest of the home component):
// Header Component / <app-header>
<nb-layout>
<nb-layout-header>
<nb-actions size="medium">
<nb-action routerLink="/page-1">Page 1</nb-action>
<nb-action routerLink="/page-2">Page 2</nb-action>
</nb-actions>
</nb-layout-header>
</nb-layout>
// Home Component
<app-header></app-header>
<nb-layout>
<nb-layout-column>
Column 1
</nb-layout-column>
</nb-layout>