Skip to content

Commit

Permalink
Fixes Manuals and services link on Team page doesn't work #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Jones committed May 28, 2024
1 parent 056790a commit 0fd0c5e
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 14 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified app/.DS_Store
Binary file not shown.
Binary file modified app/assets/.DS_Store
Binary file not shown.
Binary file modified app/views/.DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions app/views/layouts/content-with-sidenav-left.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<a href="#main-content" class="govuk-skip-link" data-module="govuk-skip-link">Skip to main content</a>

{% include 'layouts/_topnav.html'%}
{% include 'layouts/_services.html'%}


{% block header %}
Expand Down Expand Up @@ -159,9 +160,9 @@ <h1 class="govuk-heading-xl govuk-!-margin-bottom-4">{{pageName}}</h1>
<script src="/assets/js/feedback.min.js"></script>
<script src="/assets/js/dfefrontend.min.js"></script>
{% block scripts %}{% endblock %}
<script type="module" src="/assets/js/govuk-frontend.min.min.js"></script>
<script type="module" src="/assets/js/govuk/all.bundle.min.js"></script>
<script type="module">
import { initAll } from '/assets/js/govuk-frontend.min.min.js'
import { initAll } from '/assets/js/govuk/all.bundle.min.js'
initAll()
</script>
</body>
Expand Down
5 changes: 3 additions & 2 deletions app/views/layouts/content-with-sidenav.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@

{% include 'layouts/_topnav.html'%}

{% include 'layouts/_services.html'%}

{% block header %}

Expand Down Expand Up @@ -159,9 +160,9 @@ <h1 class="govuk-heading-xl govuk-!-margin-bottom-4">{{pageName}}</h1>
<script src="/assets/js/feedback.min.js"></script>
<script src="/assets/js/dfefrontend.min.js"></script>
{% block scripts %}{% endblock %}
<script type="module" src="/assets/js/govuk-frontend.min.min.js"></script>
<script type="module" src="/assets/js/govuk/all.bundle.min.js"></script>
<script type="module">
import { initAll } from '/assets/js/govuk-frontend.min.min.js'
import { initAll } from '/assets/js/govuk/all.bundle.min.js'
initAll()
</script>
</body>
Expand Down
17 changes: 7 additions & 10 deletions app/views/layouts/full.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z4G55VN0FB"></script>

<body class="govuk-template__body ">
<script>
document.body.className = (
(document.body.className)
? document.body.className + ' js-enabled'
: 'js-enabled');
</script>
<script>document.body.className += ' js-enabled' + ('noModule' in HTMLScriptElement.prototype ? ' govuk-frontend-supported' : '');</script>


<script type="application/ld+json">
{
Expand Down Expand Up @@ -88,6 +84,7 @@

{% include 'layouts/_topnav.html'%}

{% include 'layouts/_services.html'%}

{% block header %}

Expand Down Expand Up @@ -163,10 +160,10 @@ <h1 class="govuk-heading-xl govuk-!-margin-bottom-4">{{pageName}}</h1>

{% block scripts %}{% endblock %}

<script>
window
.GOVUKFrontend
.initAll()
<script type="module" src="/assets/js/govuk/all.bundle.min.js"></script>
<script type="module">
import { initAll } from '/assets/js/govuk/all.bundle.min.js'
initAll()
</script>

</body>
Expand Down
Binary file modified public/.DS_Store
Binary file not shown.
Binary file modified public/assets/.DS_Store
Binary file not shown.

0 comments on commit 0fd0c5e

Please sign in to comment.