Skip to content

Commit

Permalink
rename image, update config and change image paths on pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jenhadfield-dfe committed Mar 6, 2024
1 parent 4dee759 commit 5487a44
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/content/is-teaching-right-for-me/languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ navigation_title: Modern languages
navigation_description: Discover what it'd be like to a modern languages teacher and help pupils to communicate with people from other countries and cultures.
layout: "layouts/minimal"
colour: "yellow"
image: "static/images/content/hero-images/0004.jpg"
image: "static/images/content/hero-images/languages_4580.jpg"
keywords:
- languages
- teaching languages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<%= render TextBlockWithTwoImagesComponent.new(
heading: "Empower your pupils",
colour: "pink",
image_1_path: "static/images/content/hero-images/0017.jpg",
image_1_path: "static/images/content/hero-images/languages_4809.jpg",
image_1_alt: "",
image_2_path: "static/images/content/hero-images/0024.jpg",
image_2_path: "static/images/content/hero-images/languages_4836.jpg",
image_2_alt: "",
) do %>
<p>"As a language teacher, you can light the flame of language learning and build cultural capital for all young people."</p>
Expand Down
22 changes: 22 additions & 0 deletions config/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,28 @@
- "static/images/content/hero-images/0034--mobile.jpg"
- "static/images/content/hero-images/0034--tablet.jpg"

"static/images/content/hero-images/languages_4580.jpg":
# A language teacher talking to pupils in a classroom.
alt: ""
variants:
- "static/images/content/hero-images/languages_4580--mobile.jpg"
- "static/images/content/hero-images/languages_4580--tablet.jpg"

"static/images/content/hero-images/languages_4809.jpg":
# A language teacher talking to pupils in a classroom.
alt: ""
variants:
- "static/images/content/hero-images/languages_4809--mobile.jpg"
- "static/images/content/hero-images/languages_4809--tablet.jpg"

"static/images/content/hero-images/languages_4836.jpg":
# A language teacher talking to pupils in a classroom.
alt: ""
variants:
- "static/images/content/hero-images/languages_4836--mobile.jpg"
- "static/images/content/hero-images/languages_4836--tablet.jpg"


"static/images/content/hero-images/0035.jpg":
# A teacher discusses text with two students.
alt: ""
Expand Down

0 comments on commit 5487a44

Please sign in to comment.