Skip to content

Commit

Permalink
Updated colours and higher res images
Browse files Browse the repository at this point in the history
  • Loading branch information
jenhadfield-dfe committed Apr 19, 2024
1 parent fb2d072 commit 8c29ff1
Show file tree
Hide file tree
Showing 43 changed files with 41 additions and 60 deletions.
1 change: 0 additions & 1 deletion app/views/content/events/get-the-most-from-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ content:
- content/events/get-the-most-from-events/steps
- content/events/get-the-most-from-events/content
image: "static/images/content/events/teaching-event.jpeg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render Content::LandingHeroComponent.new(
title: "Get the most from an event",
colour: @front_matter["colour"],
colour: "pastel yellow-yellow",
image: @front_matter["image"],
background_colour: "grey"
) %>
3 changes: 1 addition & 2 deletions app/views/content/explore-teaching-advisers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ title: Explore teaching advisers
description: |-
Find out if teaching is for you with an explore teaching adviser who can help you discover what teaching is really like.
layout: "layouts/minimal"
colour: "yellow"
image: "static/images/content/ttalianne.jpg"
image: "static/images/content/campus-advisers/adviser.jpeg"
keywords:
- explore teaching advisers
- adviser
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="row inset">
<section class="col col-720 statement">
<div>
<div style="margin-top:60px">
<span class="pink xlarge bold">Teaching is&hellip;</span>
</div>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Explore teaching advisers",
colour: @front_matter["colour"],
colour: "pastel yellow-yellow",
image: @front_matter["image"]
) %>
1 change: 0 additions & 1 deletion app/views/content/is-teaching-right-for-me/computing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ navigation: 5.43
navigation_title: Computing
navigation_description: Discover how computing is vital, helping children learn digital skills they'll need throughout life.
layout: "layouts/minimal"
colour: "yellow"
image: "static/images/content/hero-images/0036.jpg"
keywords:
- computing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Become a computing teacher",
colour: @front_matter["colour"],
colour: "pastel blue-pink",
image: @front_matter["image"]
) %>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ description: |-
Find out more about the Engineers teach physics teacher training programme for engineers and material scientists who want to teach physics.
layout: "layouts/minimal"
colour: "yellow"
image: "static/images/content/hero-images/0013.jpg"
keywords:
- engineers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Engineers teach physics",
colour: @front_matter["colour"],
colour: "pastel blue-pink",
image: @front_matter["image"]
) %>
1 change: 0 additions & 1 deletion app/views/content/is-teaching-right-for-me/maths.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ navigation: 5.46
navigation_title: Maths
navigation_description: Find out how to become a maths teacher and show children the importance of maths in everything we do.
layout: "layouts/minimal"
colour: "yellow"
image: "static/images/content/hero-images/0004.jpg"
keywords:
- maths
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Become a maths teacher",
colour: @front_matter["colour"],
colour: "pastel blue-pink",
image: @front_matter["image"]
) %>
1 change: 0 additions & 1 deletion app/views/content/is-teaching-right-for-me/physics.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ navigation: 5.48
navigation_title: Physics
navigation_description: Find out how to become a physics teacher and inspire the next generation of scientists, engineers and innovators.
layout: "layouts/minimal"
colour: "yellow"
image: "static/images/content/hero-images/physics_1383.jpg"
keywords:
- physics
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Become a physics teacher",
colour: @front_matter["colour"],
colour: "pastel blue-pink",
image: @front_matter["image"]
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/campus-advisers.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ content:
- content/landing/campus-advisers/header
- content/landing/campus-advisers/adviser
image: "static/images/content/campus-advisers/adviser.jpeg"
colour: "pink"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
3 changes: 1 addition & 2 deletions app/views/content/landing/campus-advisers/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Sign up for an adviser",
colour: @front_matter["colour"],
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/careers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ content:
- content/landing/careers/content
- content/landing/careers/promo
image: "static/images/content/hero-images/0029.jpg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
3 changes: 1 addition & 2 deletions app/views/content/landing/careers/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "You're more of a teacher than you think",
colour: "grow",
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/food-for-thought.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ content:
- content/landing/food-for-thought/quotes
- content/landing/food-for-thought/promo
image: "static/images/content/hero-images/cake.png"
colour: "yellow"
layout: "layouts/minimal"
noindex: true
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Food for thought",
colour: @front_matter["colour"],
colour: "pink-blue",
image: @front_matter["image"]
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/grow.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ content:
- content/landing/grow/content
- content/landing/grow/promo
image: "static/images/content/hero-images/0027.jpg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
3 changes: 1 addition & 2 deletions app/views/content/landing/grow/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Grow as only a teacher can",
colour: "grow",
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
3 changes: 1 addition & 2 deletions app/views/content/landing/how-to-become-a-teacher.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +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/landing/how-to-become-a-teacher-1.jpg"
colour: "yellow"
image: "static/images/content/hero-images/0031.jpg"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "How to become a teacher",
colour: "grow",
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +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/landing/how-to-fund-your-teacher-training-1.jpg"
colour: "yellow"
image: "static/images/content/hero-images/chemistry.jpg"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Fund your teacher training",
colour: "grow",
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/mailing-list-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ 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
Expand Down
3 changes: 1 addition & 2 deletions app/views/content/landing/mailing-list-1/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Get personalised guidance",
colour: @front_matter["colour"],
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
2 changes: 1 addition & 1 deletion app/views/content/landing/mailing-list-2/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= render Content::LandingHeroComponent.new(
<%= render Content::CampaignHeroComponent.new(
title: "Get personalised guidance",
colour: @front_matter["colour"],
image: @front_matter["image"],
Expand Down
1 change: 0 additions & 1 deletion app/views/content/landing/mailing-list-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ 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
Expand Down
3 changes: 1 addition & 2 deletions app/views/content/landing/mailing-list-3/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Get personalised guidance",
colour: @front_matter["colour"],
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/mailing-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ content:
- content/landing/mailing-list/header
- content/landing/mailing-list/mailing-list
image: "static/images/content/hero-images/0027.jpg"
colour: "grow"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
3 changes: 1 addition & 2 deletions app/views/content/landing/mailing-list/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Get personalised guidance",
colour: @front_matter["colour"],
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/return-to-teaching-advisers.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ content:
- content/landing/return-to-teaching-advisers/header
- content/landing/return-to-teaching-advisers/adviser
image: "static/images/content/campus-advisers/adviser.jpeg"
colour: "green"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "Get a return to teaching adviser",
colour: @front_matter["colour"],
colour: "green-yellow",
image: @front_matter["image"],
background_colour: "grey"
) %>
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +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/landing/train-to-teach-if-you-have-a-degree-1.jpg"
colour: "yellow"
image: "static/images/content/hero-images/0030.jpg"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "How to start teacher training",
colour: "grow",
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/train-to-teach.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ content:
- content/landing/train-to-teach/content
- content/landing/train-to-teach/promo
image: "static/images/content/hero-images/0029.jpg"
colour: "yellow"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
3 changes: 1 addition & 2 deletions app/views/content/landing/train-to-teach/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "How can I train to teach?",
colour: "grow",
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
1 change: 0 additions & 1 deletion app/views/content/landing/what-teaching-taught-me.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ content:
- content/landing/what-teaching-taught-me/content
- content/landing/what-teaching-taught-me/promo
image: "static/images/content/hero-images/0028.jpg"
colour: "pink"
layout: "layouts/minimal"
talk_to_us: false
noindex: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Content::LandingHeroComponent.new(
title: "How teaching can help you grow",
colour: "grow",
colour: "pink-blue",
image: @front_matter["image"],
background_colour: "grey"
) %>
8 changes: 4 additions & 4 deletions app/views/teaching_events/about_git_events.html.erb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<%= render Content::CampaignHeroComponent.new(
title: ["Get Into Teaching", "events"],
colour: "yellow",
<%= render Content::LandingHeroComponent.new(
title: "Get Into Teaching events",
colour: "pastel yellow-yellow",
image: "static/images/content/hero-images/0025.jpg"
) %>

<div class="row inset">
<section class="col col-720 statement">
<h2 class="pink xlarge bold">What to expect</h2>
<h2 class="pink xlarge bold" style="margin-top:60px">What to expect</h2>
</section>

<section class="col col-720">
Expand Down
Binary file modified app/webpacker/images/content/hero-images/cake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions app/webpacker/styles/sections/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,18 @@ $mobile-cutoff: 800px;
}
}

&.yellow-yellow {
background-color: $yellow;

h1 span {
background: $yellow;
}

&.pastel {
background-color: rgba($yellow, 0.4);
}
}

.content {
padding: 90px;
z-index: 1;
Expand Down

0 comments on commit 8c29ff1

Please sign in to comment.