Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(frontend): header title color #1958

Merged
merged 2 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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