Skip to content

Commit

Permalink
Merge pull request #3807 from DFE-Digital/apply-campaign-updates-to-l…
Browse files Browse the repository at this point in the history
…anding-pages

Apply campaign updates to paid search and social landing pages
  • Loading branch information
gemmadallmandfe authored Jan 18, 2024
2 parents 1a0bce2 + 1393ed8 commit 1fface6
Show file tree
Hide file tree
Showing 23 changed files with 34 additions and 16 deletions.
2 changes: 1 addition & 1 deletion app/views/content/landing/how-much-do-teachers-get-paid.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
- content/landing/how-much-do-teachers-get-paid/mailing_list
- content/landing/how-much-do-teachers-get-paid/content
- content/landing/how-much-do-teachers-get-paid/promo
image: "static/images/content/hero-images/M_DFE_Southfeilds_Room_A360_10445.jpg"
image: "static/images/content/landing/how-much-do-teachers-get-paid-1.jpg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"The average salary for a classroom teacher in England is over £40k a year."
],
image_paths: [
"static/images/content/how-much-do-teachers-get-paid/collage4.jpg",
"static/images/content/how-much-do-teachers-get-paid/collage1.jpg",
"static/images/content/how-much-do-teachers-get-paid/collage2.jpg",
"static/images/content/landing/how-to-fund-your-teacher-training-1.jpg",
"static/images/content/landing/train-to-teach.jpg",
"static/images/content/landing/train-to-teach-if-you-have-a-degree-1.jpg",
]
) do %>
<p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How much do teachers", "get paid?"],
colour: @front_matter["colour"],
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
) %>
2 changes: 1 addition & 1 deletion app/views/content/landing/how-to-become-a-teacher.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
- content/landing/how-to-become-a-teacher/steps
- content/landing/how-to-become-a-teacher/content
- content/landing/how-to-become-a-teacher/promo
image: "static/images/content/hero-images/M_DFE_Southfeilds_Room_A360_10445.jpg"
image: "static/images/content/landing/how-to-become-a-teacher-1.jpg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How to become", "a teacher"],
colour: @front_matter["colour"],
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
) %>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
- content/landing/how-to-fund-your-teacher-training/mailing_list
- content/landing/how-to-fund-your-teacher-training/content
- content/landing/how-to-fund-your-teacher-training/promo
image: "static/images/content/hero-images/M_DFE_Southfeilds_Room_A360_10445.jpg"
image: "static/images/content/landing/how-to-fund-your-teacher-training-1.jpg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"The exact amount you could receive will depend on the subject that you train to teach."
],
image_paths: [
"static/images/content/how-much-do-teachers-get-paid/collage2.jpg",
"static/images/content/landing/how-to-fund-your-teacher-training-2.jpg",
]
) do %>
<% end %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Fund your", "teacher training"],
colour: @front_matter["colour"],
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
) %>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
- content/landing/train-to-teach-if-you-have-a-degree/mailing_list
- content/landing/train-to-teach-if-you-have-a-degree/content
- content/landing/train-to-teach-if-you-have-a-degree/promo
image: "static/images/content/hero-images/M_DFE_Southfeilds_Room_A360_10445.jpg"
image: "static/images/content/landing/train-to-teach-if-you-have-a-degree-1.jpg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"involves both practical and theoretical learning"
],
image_paths: [
"static/images/content/how-much-do-teachers-get-paid/collage2.jpg",
"static/images/content/landing/train-to-teach-if-you-have-a-degree-2.jpg",
]
) do %>
<% end %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How to start", "teacher training"],
colour: @front_matter["colour"],
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
) %>
2 changes: 1 addition & 1 deletion app/views/content/landing/train-to-teach.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
- content/landing/train-to-teach/mailing_list
- content/landing/train-to-teach/content
- content/landing/train-to-teach/promo
image: "static/images/content/hero-images/M_DFE_Southfeilds_Room_A360_10445.jpg"
image: "static/images/content/hero-images/0029.jpg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
Expand Down
2 changes: 1 addition & 1 deletion app/views/content/landing/train-to-teach/_collage.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"an assessment only route"
],
image_paths: [
"static/images/content/how-much-do-teachers-get-paid/collage2.jpg",
"static/images/content/landing/train-to-teach.jpg",
]
) do %>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/content/landing/train-to-teach/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How can I", "train to teach?"],
colour: @front_matter["colour"],
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
) %>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions config/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,24 @@
"static/images/content/grow/Smiling_Student.jpg":
alt: "Smiling student in a classroom."

# landing
"static/images/content/landing/train-to-teach.jpg":
alt: "A geography teacher laughing with students in a classroom."
"static/images/content/landing/train-to-teach-if-you-have-a-degree-1.jpg":
alt: "A biology teacher examining leaves with students."
"static/images/content/landing/train-to-teach-if-you-have-a-degree-2.jpg":
alt: "A biology teacher examining leaves with students."
"static/images/content/landing/how-to-fund-your-teacher-training-1.jpg":
alt: "A chemistry teacher teaching students about chemical reactions."
"static/images/content/landing/how-to-fund-your-teacher-training-2.jpg":
alt: "Students learn about chemical reactions with a chemistry teacher."
"static/images/content/landing/how-to-become-a-teacher-1.jpg":
alt: "Three teachers walking down a corridor."
"static/images/content/landing/how-to-become-a-teacher-2.jpg":
alt: "A teacher looks over students sat around a table."
"static/images/content/landing/how-much-do-teachers-get-paid-1.jpg":
alt: "A teacher discusses a topic with two students."

# is teaching right for me
"static/images/content/is-teaching-right-for-me/fellowship.jpg":
alt: "Teachers Mike and Phil play on a children's climbing frame in a playground"
Expand Down

0 comments on commit 1fface6

Please sign in to comment.