feat: Replace old page theme props with new ones

This commit is contained in:
Marvin9
2020-10-04 18:03:50 +05:30
parent 3a82aaef7a
commit e2564645e5
30 changed files with 74 additions and 80 deletions
@@ -14,6 +14,7 @@
* limitations under the License.
*/
import { customPageTheme } from '@backstage/theme';
import React from 'react';
import { Link as RouterLink } from 'react-router-dom';
import {
@@ -30,7 +31,6 @@ import {
Header,
HomepageTimer,
Page,
pageTheme,
ContentHeader,
SupportButton,
WarningPanel,
@@ -44,7 +44,7 @@ const WelcomePage = () => {
const profile = { givenName: '' };
return (
<Page theme={pageTheme.home}>
<Page pageTheme={customPageTheme.pageTheme.home}>
<Header
title={`Welcome ${profile.givenName || `to ${appTitle}`}`}
subtitle="Let's start building a better developer experience"