Skip to content

Commit

Permalink
update content and remove redundant files
Browse files Browse the repository at this point in the history
  • Loading branch information
emmaachesongray committed Dec 11, 2024
1 parent 07fe595 commit 861ac99
Show file tree
Hide file tree
Showing 31 changed files with 43 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/art-and-design/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,7 @@
<section class="col col-720">
<%= render 'content/shared/teaching/ect_support' %>
</section>
<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become an art and design teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/biology/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
<!-- Support with teacher training -->
<%= render 'content/shared/teaching/ect_support' %>
</section>

<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a biology teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/chemistry/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,7 @@
<!-- Support with teacher training -->
<%= render 'content/shared/teaching/ect_support' %>
</section>

<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a chemistry teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/computing/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,7 @@
<%= render 'content/shared/qualifications-training/paid_internships' %>
<%= render 'content/shared/teaching/ect_support' %>
</section>
<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a computing teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/design-and-technology/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,7 @@
<section class="col col-720">
<%= render 'content/shared/teaching/ect_support' %>
</section>
<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a design and technology teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/drama/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@
<!-- Support with teacher training -->
<%= render 'content/shared/teaching/ect_support' %>
</section>

<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a drama teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/english/article"
- "content/shared/subject-pages/adviser-promo"
---

Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,7 @@
<section class="col col-720">
<%= render 'content/shared/teaching/ect_support' %>
</section>

<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become an English teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/geography/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,7 @@
<!-- Support with teacher training -->
<%= render 'content/shared/teaching/ect_support' %>
</section>
<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a geography teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/history/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@
<section class="col col-720">
<%= render 'content/shared/teaching/ect_support' %>
</section>

<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a history teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/languages/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@
<section class="col col-720">
<%= render 'content/shared/teaching/ect_support' %>
</section>
<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a languages teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/maths/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,7 @@
<!-- Support with teacher training -->
<%= render 'content/shared/teaching/ect_support' %>
</section>
<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a maths teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/music/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,7 @@
<section class="col col-720">
<%= render 'content/shared/teaching/ect_support' %>
</section>
<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a music teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/physics/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,7 @@
<section class="col col-720">
<%= render 'content/shared/teaching/ect_support' %>
</section>
<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a physics teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ keywords:
content:
- "content/shared/subject-pages/header"
- "content/life-as-a-teacher/explore-subjects/religious-education/article"
- "content/shared/subject-pages/adviser-promo"
---
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@
<!-- Support with teacher training -->
<%= render 'content/shared/teaching/ect_support' %>
</section>

<%= render CallsToAction::AdviserComponent.new(
text: "An adviser with years of teaching experience can help you to become a religious education teacher. Chat by phone, text, or email as little or often as you need.",
) %>
</div>

This file was deleted.

6 changes: 1 addition & 5 deletions docs/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,18 +470,15 @@ Values should be named using only _lowercase_ characters `a` to `z`, the numbers

Create a subject folder under ‘content/life as a teacher’

From a previous published subject page copy the 3 files:
From a previous published subject page copy the 2 files:

- _adviser-promo-subject-html.erb (replace with subject name)
- _article.html/erb
- _header.html.erb

Also copy and paste a previous subject ‘.md’ file and rename it with the subject (e.g english.md)

#### File changes:

_adviser-promo-subject.html.erb - change line 4 to relate to the subject

_header.html.erb – no changes needed

The main content of subject pages should be written in HTML format using the following template as a guide:
Expand Down Expand Up @@ -515,7 +512,6 @@ keywords:
content:
- "content/life-as-a-teacher/subject/header"
- "content/life-as-a-teacher/subject/article"
- "content/life-as-a-teacher/subject/adviser-promo-subject"
---
```

Expand Down
21 changes: 0 additions & 21 deletions spec/views/content/shared/adviser_promo.html.erb_spec.rb

This file was deleted.

0 comments on commit 861ac99

Please sign in to comment.