Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Salary changes to paid langing pages #4205

Merged
merged 9 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/components/content/checklist_collage_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ module Content
class ChecklistCollageComponent < ViewComponent::Base
attr_reader :checklist, :image_paths, :cta

include ContentHelper

def initialize(checklist:, image_paths:, cta: nil)
super

@checklist = checklist
@checklist = checklist.map { |item| substitute_values(item) }
@image_paths = image_paths
@cta = cta
end
Expand Down
3 changes: 2 additions & 1 deletion app/views/content/landing/grow/_collage.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
<p class="col-720">Teaching is a fulfilling career. Not only can you inspire the pupils you teach, you also get to learn new skills, build your confidence and become your best self. The benefits of being a teacher include:</p>
<%= render Content::ChecklistCollageComponent.new(
checklist: [
"a starting salary of $salaries_starting_min$ (or higher in London)",
"career progression ",
"personal development",
"opportunities to increase your pay"
"opportunities to increase your pay",
],
image_paths: [
"static/images/content/grow/Smiling_Student.jpg",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="col col-full-content">
<%= render Content::PurpleBoxComponent.new(
heading: "Find out more about getting into teaching",
text: "Explore how you can get into teaching primary or secondary and find top tips on making a successful application.",
text: "Explore how you can get into teaching primary or secondary and find top tips on making a successful application. With a competitive starting salary of $salaries_starting_min$ (or higher in London), it pays to do what you love.",
cta: {
text: "Get tailored guidance in your inbox",
path: "/mailinglist/signup/name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<% promo.with_right_section(
heading: "Find out more about getting into teaching"
) do %>
<p>Find out more about funding your training, as well as top tips on making a successful application.</p>
<p>Find out more about funding your training, as well as top tips on making a successful application. With a competitive starting salary of <%= v :salaries_starting_min %> (or higher in London), it pays to do what you love. </p>
Sarah-DfE marked this conversation as resolved.
Show resolved Hide resolved

<%= link_to("Get tailored guidance in your inbox", "/mailinglist/signup/name", class: "button") %>
<% end %>
Expand Down
Loading