Skip to content

Commit

Permalink
Merge pull request #3894 from DFE-Digital/Maling-list-landing-pages-v…
Browse files Browse the repository at this point in the history
…ariants-for-split-testing

Mailing-list-landing-pages-variants-for-split-testing
  • Loading branch information
MaxineCl authored Mar 14, 2024
2 parents 888f97a + 1e3be4e commit 777064f
Show file tree
Hide file tree
Showing 9 changed files with 108 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/views/content/landing/mailing-list-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Get personalised guidance"
description: Free advice and support on how to become a teacher. Get the latest information sent straight to your inbox.
content:
- content/landing/mailing-list-1/header
- content/landing/mailing-list-1/mailing-list
image: "static/images/content/hero-images/0027.jpg"
colour: "grow"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
---
6 changes: 6 additions & 0 deletions app/views/content/landing/mailing-list-1/_header.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get personalised", "guidance"],
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
) %>
27 changes: 27 additions & 0 deletions app/views/content/landing/mailing-list-1/_mailing-list.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<div class="row">
<div class="grey col-space-0">
<section class="col col-720 col-space-0">
<%= render Content::MailingListComponent.new(
title: "Get free advice and support tailored to you",
color: "transparent",
margin: false,
heading: :l
) do %>

<p>
Find out how to get:
</p>

<ul>
<li>personalised guidance on teacher training</li>
<li>experience of life in the classroom</li>
<li>free one-to-one support from an adviser</li>
<li>alerts about teaching events near you</li>
</ul>

<br>

<% end %>
</section>
</div>
</div>
11 changes: 11 additions & 0 deletions app/views/content/landing/mailing-list-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Get personalised guidance"
description: Free advice and support on how to become a teacher. Get the latest information sent straight to your inbox.
content:
- content/landing/mailing-list-2/header
- content/landing/mailing-list-2/mailing-list
colour: "grow"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
---
6 changes: 6 additions & 0 deletions app/views/content/landing/mailing-list-2/_header.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get personalised", "guidance"],
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
) %>
14 changes: 14 additions & 0 deletions app/views/content/landing/mailing-list-2/_mailing-list.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="row">
<div class="grey col-space-0">
<section class="col col-720 col-space-0">
<%= render Content::MailingListComponent.new(
title: "",
color: "transparent",
margin: false,
heading: :l
) do %>

<% end %>
</section>
</div>
</div>
12 changes: 12 additions & 0 deletions app/views/content/landing/mailing-list-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Get personalised guidance"
description: Free advice and support on how to become a teacher. Get the latest information sent straight to your inbox.
content:
- content/landing/mailing-list-3/header
- content/landing/mailing-list-3/mailing-list
image: "static/images/content/hero-images/0027.jpg"
colour: "grow"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
---
6 changes: 6 additions & 0 deletions app/views/content/landing/mailing-list-3/_header.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get personalised", "guidance"],
colour: @front_matter["colour"],
image: @front_matter["image"],
background_colour: "grey"
) %>
14 changes: 14 additions & 0 deletions app/views/content/landing/mailing-list-3/_mailing-list.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="row">
<div class="grey col-space-0">
<section class="col col-720 col-space-0">
<%= render Content::MailingListComponent.new(
title: "",
color: "transparent",
margin: false,
heading: :l
) do %>

<% end %>
</section>
</div>
</div>

0 comments on commit 777064f

Please sign in to comment.