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

Header: Support custom logos #1281

Prev Previous commit
Update components/header/src/Header.tsx
Co-authored-by: Daniel A.C. Martin <daniel-ac-martin@users.noreply.github.com>
wildtangent and daniel-ac-martin authored Jan 31, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 7e1e2555d96cc14e6a61b1af95dc29d5094e09ad
2 changes: 1 addition & 1 deletion components/header/src/Header.tsx
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ export const Header: FC<HeaderProps> = ({
<A href={orgHref} classModifiers={[ 'homepage', (orgText && orgText.length > 9) ? 'small' : undefined ]}>
{
govUK
? headerLogo
? logo
: (
<Fragment>
{logo}