Skip to content

Commit

Permalink
Upadte law commission image (#728)
Browse files Browse the repository at this point in the history
New law_comms image
  • Loading branch information
wilson1000 authored Oct 9, 2024
1 parent dd3b6f4 commit 9c77d11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions public/app/themes/clarity/src/components/c-logo-bar/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
$header_logo = get_field(get_intranet_code() .'_header_logo', 'option');
$logo = get_stylesheet_directory_uri() . '/dist/images/moj_logo_header.png';

# If law commission, use different logo
if ($activeAgency['shortcode'] === 'law-commission') {
$logo = get_stylesheet_directory_uri() . '/dist/images/lawcomms_logo_new.png';
$logo = get_stylesheet_directory_uri() . '/dist/images/lawcomms_logo_new.jpg';
}

if(!empty($header_logo)){
# If header logo is set, use that instead
if (!empty($header_logo)) {
$logo = $header_logo;
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9c77d11

Please sign in to comment.