|
1 | 1 | <% meta_tag :title, 'Courses - Teach Computing' %> |
2 | | -<%= render 'components/hero', hero_title: 'Computing courses for teachers', glyph_position: 'bottom', colour: 'lime-green' %> |
| 2 | +<%= render Cms::PageTitleComponent.new(title: "Computing courses for teachers") %> |
3 | 3 | <div data-controller="course-filter"> |
4 | 4 | <%= render GovGridRowComponent.new(padding: {bottom: 2}) do |row| %> |
5 | | - <%= row.with_column("two-thirds") do %> |
6 | | - <p class="govuk-body"> |
| 5 | + <%= row.with_column("full") do %> |
| 6 | + <p class="govuk-heading-m"> |
7 | 7 | Discover our range of professional development courses, designed to help you teach computing. Courses cover key stages 1 to 4 and cater for all levels of knowledge. |
8 | 8 | </p> |
9 | 9 | <% end %> |
10 | | - <%= row.with_column("one-third") do %> |
11 | | - <%= render AsideComponent.new(title: "Costs") do |component| %> |
12 | | - <% component.with_body do %> |
13 | | - <p class="govuk-body">All our online courses are free to all educators. Additional fees are applicable to residential courses and are stated at the point of booking. </p> |
14 | | - <% end %> |
15 | | - <% end %> |
16 | | - <% end %> |
17 | 10 | <% end %> |
18 | 11 |
|
19 | 12 | <%= form_with url: course_filter_path, method: :get, class: 'ncce-courses__filter-form', data: { action: "ajax:success->course-filter#handleResults", 'course-filter-target': "form" } do %> |
20 | 13 | <div class="govuk-width-container ncce-courses__container" data-course-filter-target="resultsContainer" id="results-top"> |
21 | 14 | <div class="govuk-main-wrapper ncce-courses__results-wrapper"> |
22 | 15 | <div class="govuk-grid-row"> |
23 | 16 | <div class="govuk-grid-column-one-third-from-desktop ncce-courses__filters-wrapper govuk-!-margin-bottom-3"> |
| 17 | + <%= render AsideComponent.new(title: "Costs") do |component| %> |
| 18 | + <% component.with_body do %> |
| 19 | + <p class="govuk-body">All our online courses are free to all educators. Additional fees are applicable to residential courses and are stated at the point of booking. </p> |
| 20 | + <% end %> |
| 21 | + <% end %> |
24 | 22 | <%= render 'courses/aside-filters' %> |
25 | 23 | </div> |
26 | 24 | <div class="govuk-grid-column-two-thirds-from-desktop"> |
27 | | - |
28 | 25 | <div data-course-filter-target="results"> |
29 | 26 | <%= render 'courses/courses-list' %> |
30 | 27 | </div> |
|
0 commit comments