Skip to content

Commit

Permalink
always show footer in docs list sidebars
Browse files Browse the repository at this point in the history
  • Loading branch information
griest024 committed Jan 15, 2025
1 parent b86543f commit 4ae2f88
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
11 changes: 4 additions & 7 deletions apps/daffio/src/app/docs/api/sidebar/provider.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { DaffioApiNavListSidebarContainer } from './component';
import { DaffioSidebarFooterComponent } from '../../../core/sidebar/components/sidebar-footer/sidebar-footer.component';
import { DaffioSidebarHeaderComponent } from '../../../core/sidebar/components/sidebar-header/sidebar-header.component';
import { DAFFIO_DOCS_LIST_SIDEBAR_ID } from '../../containers/docs-list/sidebar.provider';
import { DaffioSidebarRegistration } from '../../../core/sidebar/registration/type';
import { DAFFIO_DOCS_LIST_SIDEBAR_REGISTRATION } from '../../containers/docs-list/sidebar.provider';

export const DAFFIO_API_NAV_LIST_SIDEBAR_REGISTRATION = {
id: DAFFIO_DOCS_LIST_SIDEBAR_ID,
header: DaffioSidebarHeaderComponent,
export const DAFFIO_API_NAV_LIST_SIDEBAR_REGISTRATION: DaffioSidebarRegistration = {
...DAFFIO_DOCS_LIST_SIDEBAR_REGISTRATION,
body: DaffioApiNavListSidebarContainer,
footer: DaffioSidebarFooterComponent,
};
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { DaffioDocsListContainer } from './docs-list.component';
import { DaffioSidebarFooterComponent } from '../../../core/sidebar/components/sidebar-footer/sidebar-footer.component';
import { DaffioSidebarHeaderComponent } from '../../../core/sidebar/components/sidebar-header/sidebar-header.component';
import { DaffioSidebarRegistration } from '../../../core/sidebar/registration/type';

export const DAFFIO_DOCS_LIST_SIDEBAR_ID = 'daffioDocsList';

export const DAFFIO_DOCS_LIST_SIDEBAR_REGISTRATION = {
export const DAFFIO_DOCS_LIST_SIDEBAR_REGISTRATION: DaffioSidebarRegistration = {
id: DAFFIO_DOCS_LIST_SIDEBAR_ID,
header: DaffioSidebarHeaderComponent,
body: DaffioDocsListContainer,
footer: DaffioSidebarFooterComponent,
alwaysShowFooter: true,
};
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { DaffioSidebarRegistration } from 'apps/daffio/src/app/core/sidebar/registration/type';

import { DaffioDocsDesignListContainer } from './docs-list.component';
import { DaffioSidebarFooterComponent } from '../../../../core/sidebar/components/sidebar-footer/sidebar-footer.component';
import { DaffioSidebarHeaderComponent } from '../../../../core/sidebar/components/sidebar-header/sidebar-header.component';
import { DAFFIO_DOCS_LIST_SIDEBAR_REGISTRATION } from '../../../containers/docs-list/sidebar.provider';

export const DAFFIO_DOCS_DESIGN_LIST_SIDEBAR_ID = 'daffioDocsList';

export const DAFFIO_DOCS_DESIGN_LIST_SIDEBAR_REGISTRATION = {
id: DAFFIO_DOCS_DESIGN_LIST_SIDEBAR_ID,
header: DaffioSidebarHeaderComponent,
export const DAFFIO_DOCS_DESIGN_LIST_SIDEBAR_REGISTRATION: DaffioSidebarRegistration = {
...DAFFIO_DOCS_LIST_SIDEBAR_REGISTRATION,
body: DaffioDocsDesignListContainer,
footer: DaffioSidebarFooterComponent,
};

0 comments on commit 4ae2f88

Please sign in to comment.