Skip to content

Commit

Permalink
[Buckinghamshire] Add front page video.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Dec 14, 2023
1 parent 37e962a commit 3050787
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/web/buckinghamshire/footer_extra_js.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
scripts.push(
version('/cobrands/buckinghamshire/grass_cutting.js')
);
END
END;
IF bodyclass.match('frontpage');
scripts.push( version('/vendor/lite-youtube-embed/lite-yt-embed.js') );
END;
%]
1 change: 1 addition & 0 deletions templates/web/buckinghamshire/front/post-steps.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[%# Is in other column %]
3 changes: 3 additions & 0 deletions templates/web/buckinghamshire/front/pre-recent.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<section class="full-width">
[% INCLUDE "front/stats.html" %]
</section>
3 changes: 3 additions & 0 deletions templates/web/buckinghamshire/front/pre-steps.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<h2>Winter Maintenance</h2>

<lite-youtube videoid="fRCcAs2-7q8"></lite-youtube>
1 change: 1 addition & 0 deletions templates/web/buckinghamshire/header_extra.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<link rel="stylesheet" href="[% version('/vendor/lite-youtube-embed/lite-yt-embed.css') %]">
<link rel="icon" type="image/png" sizes="32x32" href="/cobrands/buckinghamshire/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/cobrands/buckinghamshire/img/favicon-16x16.png">
5 changes: 5 additions & 0 deletions web/cobrands/buckinghamshire/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ body.frontpage, body.twothirdswidthpage, body.fullwidthpage, body.authpage {
}
}

#front_stats {
border-top: none;
padding: 1em 0;
}

body.mappage {
// Mappage header is 10px top border, 50px logo (7px 37px 6px), 4px bottom border
#site-logo {
Expand Down
3 changes: 3 additions & 0 deletions web/cobrands/sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,9 @@ textarea.form-error {
#front-recently h2 {
margin-top:0;
}
#front-howto lite-youtube ~ h2 {
margin-top: 1.3333em;
}

.alerts__columns {
@include clearfix;
Expand Down

0 comments on commit 3050787

Please sign in to comment.