Skip to content

Commit

Permalink
Merge pull request #106 from companieshouse/IDV5-565-link-to-cdnhost-…
Browse files Browse the repository at this point in the history
…image

add updated path to cdnhost to refer to correct image
  • Loading branch information
swalke-ch authored Feb 26, 2024
2 parents 2222a85 + ab6d8dd commit de6a403
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export NUNJUCKS_LOADER_NO_CACHE=true

## The CDN_HOST value should be a production value used to access static assets not available in your local env e.g. vendor specific libraries (like jQuery)
## Leave it empty if you want to access locally built assets
export CDN_HOST=//d7blrfb1p86zg.cloudfront.net ## Check with Platform Team or DevOps for most up-to-date value
export CDN_HOST=//d15kgrvdyu1vil.cloudfront.net ## Check with Platform Team or DevOps for most up-to-date value
export CDN_URL_CSS=/css
export CDN_URL_JS=/js
export CHS_URL=
Expand Down
2 changes: 1 addition & 1 deletion src/main/views/features/sole-trader/index/home.njk
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
If you’re a sole trader, you’ll need to verify your identity for Companies House before you can use this service.
</p>
<p class="govuk-body" style="display: flex; align-items: center;">
<img src="images/govuk-ons-icon-arrow-circle-medium.png" alt="" height="40" width="40" style="max-width:100%; margin-top: 5px; margin-right: 0px;">
<img src="{{cdnHost}}/images/icon/govuk-ons-icon-arrow-circle-medium.png" alt="" height="40" width="40" style="max-width:100%; margin-top: 5px; margin-right: 0px;">
<strong><a class="govuk-link govuk-link--no-visited-state" href="/v7/verify-identity-prototype" style="margin-left:10px;">
Verify your identity for Companies House
</a></strong>.
Expand Down
1 change: 0 additions & 1 deletion src/main/views/partials/__footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
</div>
</footer>

<script src="/js/app.min.js"></script>
<script src="{{ cdnHost }}/javascripts/app/cookie-consent/cookie-consent-1.0.0.js"></script>
<script src="{{ cdnHost }}/javascripts/app/cookie-consent/piwik-only-cookie-consent.js"></script>
<script src="{{ cdnHost }}/javascripts/vendor/jquery-3.3.1.min.js"></script>
Expand Down

0 comments on commit de6a403

Please sign in to comment.