Skip to content

Commit

Permalink
fix(frontend): header title color (#1958)
Browse files Browse the repository at this point in the history
Signed-off-by: OMPRAKASH MISHRA <[email protected]>
  • Loading branch information
mishraomp authored May 2, 2024
1 parent 2a8f5b4 commit ba49bf8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/cypress/e2e/home-page.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ describe("Home page visit", () => {

it("visit landing page", () => {
cy.visit("/");
cy.contains("Quickstart OpenShift");
cy.contains("QuickStart OpenShift");
});
});
22 changes: 21 additions & 1 deletion frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,27 @@ export default function Header() {
<AppBar position="fixed" sx={styles.appBar}>
<Toolbar sx={{ justifyContent: 'space-between' }}>
<img style={{ maxHeight: '60px' }} alt="Logo" src={BCGovLogo} />
<Typography>Quickstart OpenShift</Typography>
<div style={{ display: 'inline-flex' }}>
<Typography
sx={{
display: 'inline-flex',
fontFamily: 'BCSans',
fontSize: {
xs: '1.25em',
sm: '1.5em',
},
lineHeight: '100%',
alignItems: 'center',
marginLeft: {
xs: '.25em',
sm: '.5em',
},
color: 'rgb(0 0 0 / 87%)'
}}
>
QuickStart OpenShift
</Typography>
</div>
<a href={'/'} target={'_self'}>
<IconButton color="secondary">
<HomeRounded color="secondary"></HomeRounded>
Expand Down

0 comments on commit ba49bf8

Please sign in to comment.