diff --git a/site/src/_includes/components/chrome-extension.njk b/site/src/_includes/components/chrome-extension.njk new file mode 100644 index 00000000..aece7efc --- /dev/null +++ b/site/src/_includes/components/chrome-extension.njk @@ -0,0 +1,13 @@ +{% extends "layouts/normal-section-wrapper.njk" %} +{% block section %} +{% sectionTitle "Chrome Extension" %} +{{ "We've developed a [Chrome extension](https://chrome.google.com/webstore/detail/quicklink-chrome-extensio/epmplkdcjhgigmnjmjibilpmekhgkbeg) that injects and initializes `Quicklink` in every site you visit." | markdown | safe }} +{{ "The extension can be used with the following purposes:" | markdown | safe }} + +{{ "* To navigate the web faster." | markdown | safe }} +{{ "* To estimate the potential impact of `Quicklink` on a site, before implementing it (see [impact measurement guide](/measure))." | markdown | safe }} + +{{ "The extension comes with a default set of URL patterns [to ignore](https://github.com/GoogleChromeLabs/quicklink#optionsignores) (e.g. signin, logout, etc). You can add more patterns, by clicking on the extension icon, and picking 'Options' from the drop-down menu." | markdown | safe }} +{{ "The code of the extension can be found at [this repository](https://github.com/demianrenzulli/quicklink-chrome-extension). Contributions are welcomed!" | markdown | safe }} + +{% endblock %} \ No newline at end of file diff --git a/site/src/_includes/components/over-prefetching.njk b/site/src/_includes/components/over-prefetching.njk index 9d7f9562..88f8d55f 100644 --- a/site/src/_includes/components/over-prefetching.njk +++ b/site/src/_includes/components/over-prefetching.njk @@ -10,7 +10,7 @@ {% markdownConvert %} ```js quicklink.listen({ - el: document.getElementById('carousel') + el: document.getElementById('content') }); ``` {% endmarkdownConvert %} diff --git a/site/src/index.njk b/site/src/index.njk index 090c5da9..dc745402 100644 --- a/site/src/index.njk +++ b/site/src/index.njk @@ -19,4 +19,6 @@ description: Faster subsequent page-loads by prefetching in-viewport links durin {% include "components/over-prefetching.njk" %} +{% include "components/chrome-extension.njk" %} + {% include "components/use-with.njk" %}