Skip to content

Commit

Permalink
Implementing new header component on slanting header pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mariosh-e committed Apr 19, 2024
1 parent 9b3902d commit 3d39cc7
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get the most", "from an event"],
<%= render Content::LandingHeroComponent.new(
title: "Get the most from an event",
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
Expand Down
4 changes: 2 additions & 2 deletions app/views/content/explore-teaching-advisers/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Explore", "teaching", "advisers"],
<%= render Content::LandingHeroComponent.new(
title: "Explore teaching advisers",
colour: @front_matter["colour"],
image: @front_matter["image"]
) %>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Become a", "computing teacher"],
<%= render Content::LandingHeroComponent.new(
title: "Become a computing teacher",
colour: @front_matter["colour"],
image: @front_matter["image"]
) %>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Engineers teach", "physics"],
<%= render Content::LandingHeroComponent.new(
title: "Engineers teach physics",
colour: @front_matter["colour"],
image: @front_matter["image"]
) %>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Become a", "maths teacher"],
<%= render Content::LandingHeroComponent.new(
title: "Become a maths teacher",
colour: @front_matter["colour"],
image: @front_matter["image"]
) %>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Become a", "physics teacher"],
<%= render Content::LandingHeroComponent.new(
title: "Become a physics teacher",
colour: @front_matter["colour"],
image: @front_matter["image"]
) %>
4 changes: 2 additions & 2 deletions app/views/content/landing/campus-advisers/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Sign up for an", "adviser"],
<%= render Content::LandingHeroComponent.new(
title: "Sign up for an adviser",
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
Expand Down
4 changes: 2 additions & 2 deletions app/views/content/landing/careers/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["You're more of a teacher than", "you think"],
<%= render Content::LandingHeroComponent.new(
title: "You're more of a teacher than you think",
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
Expand Down
4 changes: 2 additions & 2 deletions app/views/content/landing/food-for-thought/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Food for", "thought"],
<%= render Content::LandingHeroComponent.new(
title: "Food for thought",
colour: @front_matter["colour"],
image: @front_matter["image"]
) %>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How much do teachers", "get paid?"],
<%= render Content::LandingHeroComponent.new(
title: "How much do teachers get paid?",
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How to become", "a teacher"],
<%= render Content::LandingHeroComponent.new(
title: "How to become a teacher",
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Fund your", "teacher training"],
<%= render Content::LandingHeroComponent.new(
title: "Fund your teacher training",
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
Expand Down
4 changes: 2 additions & 2 deletions app/views/content/landing/mailing-list-1/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get personalised", "guidance"],
<%= render Content::LandingHeroComponent.new(
title: "Get personalised guidance",
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
Expand Down
4 changes: 2 additions & 2 deletions app/views/content/landing/mailing-list-2/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get personalised", "guidance"],
<%= render Content::LandingHeroComponent.new(
title: "Get personalised guidance",
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
Expand Down
4 changes: 2 additions & 2 deletions app/views/content/landing/mailing-list-3/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get personalised", "guidance"],
<%= render Content::LandingHeroComponent.new(
title: "Get personalised guidance",
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
Expand Down
4 changes: 2 additions & 2 deletions app/views/content/landing/mailing-list/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get personalised", "guidance"],
<%= render Content::LandingHeroComponent.new(
title: "Get personalised guidance",
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get a", "return to", "teaching adviser"],
<%= render Content::LandingHeroComponent.new(
title: "Get a return to teaching adviser",
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How to start", "teacher training"],
<%= render Content::LandingHeroComponent.new(
title: "How to start teacher training",
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
Expand Down
4 changes: 2 additions & 2 deletions app/views/content/landing/train-to-teach/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How can I", "train to teach?"],
<%= render Content::LandingHeroComponent.new(
title: "How can I train to teach?",
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::CampaignHeroComponent.new(
title: ["How teaching", "can help you grow"],
<%= render Content::LandingHeroComponent.new(
title: "How teaching can help you grow",
colour: "grow",
image: @front_matter["image"],
background_colour: "grey"
Expand Down

0 comments on commit 3d39cc7

Please sign in to comment.