Skip to content

Commit

Permalink
Update site preview image
Browse files Browse the repository at this point in the history
  • Loading branch information
martikat committed May 31, 2024
1 parent 96086d8 commit 1fe0d47
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added app/assets/images/hfeyp_opengraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ html.govuk-template lang='en'

= tag.meta content: 'width=device-width,initial-scale=1', name: 'viewport'
= tag.meta name: 'robots', content: 'noindex,nofollow' unless Rails.application.live?
= tag.meta property: 'og:image', content: image_path('images/govuk-opengraph-image.png')
= tag.meta property: 'og:image', content: image_path('hfeyp_opengraph.png')
= tag.meta name: 'description', content: @page&.meta_description if @page&.meta_description.present?
= csrf_meta_tags
= tag.meta name: 'theme-color', content: '#0b0c0c'
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/hero.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ html.govuk-template lang='en'

= tag.meta content: 'width=device-width,initial-scale=1', name: 'viewport'
= tag.meta name: 'robots', content: 'noindex,nofollow' unless Rails.application.live?
= tag.meta property: 'og:image', content: image_path('images/govuk-opengraph-image.png')
= tag.meta property: 'og:image', content: image_path('hfeyp_opengraph.png')
= tag.meta name: 'description', content: @page&.meta_description if @page&.meta_description.present?
= csrf_meta_tags
= tag.meta name: 'theme-color', content: '#0b0c0c'
Expand Down

0 comments on commit 1fe0d47

Please sign in to comment.