Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions-bot committed Aug 12, 2024
1 parent 3d767d5 commit 147572f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ <h1 class="govuk-heading-l">Library finder instructions</h1>

<p class="govuk-body" id="main-content">
A widget is a small component that can be placed on any website. This widget helps users find their nearest public
library. The data is provided by the <a class="govuk-link" href="https://www.libraryon.org" target="_blank">LibraryOn API</a>.
library. The data is provided by the <a class="govuk-link" href="https://www.libraryon.org"
target="_blank">LibraryOn API</a>.
</p>
<p class="govuk-body">
You can either embed the widget as it comes, or customise the width, height, and primary/secondary colours. Once
Expand Down Expand Up @@ -255,7 +256,7 @@ <h1 class="govuk-heading-l">Code</h1>
const embedScript = `<script>
(function () {
var script = document.createElement('script');
script.type = 'text/javascript';
script.type = 'module';
script.async = true;
script.src = 'https://widget.librarymap.co.uk/libraryfinder-widget.js';
var firstTag = document.getElementsByTagName('script')[0];
Expand All @@ -282,4 +283,4 @@ <h1 class="govuk-heading-l">Code</h1>

</body>

</html>
</html>

0 comments on commit 147572f

Please sign in to comment.