Use service theme (#1197)

* Use service theme

* Theme spacing

* breadcrumbs
This commit is contained in:
Stefan Ålund
2020-06-08 20:45:26 +02:00
committed by GitHub
parent 056c794451
commit 920f496a7f
2 changed files with 8 additions and 12 deletions
@@ -115,8 +115,9 @@ const ComponentPage: FC<ComponentPageProps> = ({ match, history }) => {
];
return (
<Page theme={pageTheme.home}>
<Header title={component?.name || 'Catalog'}>
// TODO: Switch theme and type props based on component type (website, library, ...)
<Page theme={pageTheme.service}>
<Header title={component?.name || 'Catalog'} type="Service">
<ComponentContextMenu onUnregisterComponent={showRemovalDialog} />
</Header>
<HeaderTabs tabs={tabs} />