- <%# - The GA4 tracking on the homepage depends on some hardcoded values for index. If a section is added or removed, these values will need to be updated. Specifically 'index_section_count' (the total number of sections) and potentially 'index_section' (the index of the section e.g. 2 for the 2nd second). + <% + # The GA4 tracking on the homepage depends on some hardcoded values for index. If a section is added or removed, these values will need to be updated. + # Specifically 'index_section_count' (the total number of sections) and 'index_section' (the index of the section e.g. 2 for the 2nd section). + index_section_count = 6 %> - - <%= render "homepage/head" %> + <%= render "homepage/inverse_header" %> + <%= render "homepage/links_and_search", locals: { index_section: 1, index_section_count: index_section_count } %>
- <%= render "homepage/body" %> +
+
+ <%= render "homepage/services_and_information", locals: { index_section: 2, index_section_count: index_section_count } %> +
+
+ <%= render "homepage/promotion-slots", locals: { index_section: 3, index_section_count: index_section_count } %> +
+
+
+ <%= render "homepage/government_activity", locals: { index_section: 4, index_section_count: index_section_count } %> + <%= render "homepage/departments_and_organisations", locals: { index_section: 5, index_section_count: index_section_count } %> +
+ <%= render "homepage/more_on_govuk", locals: { index_section: 6, index_section_count: index_section_count } %>