diff options
author | Rasmus Andersson <rasmus@notion.se> | 2023-04-08 20:38:24 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2023-04-08 20:38:24 +0300 |
commit | 3bf1263412e34e384e13067a0cab6ac0350a9f5f (patch) | |
tree | 10c39150e1dbe0d96a9361adec6c994ab21ab669 /docs | |
parent | 5171c1be9c51abea4c851fbf2f93b5eb1c97268f (diff) | |
download | inter-3bf1263412e34e384e13067a0cab6ac0350a9f5f.tar.xz |
website: cloudflare sponsor mention and trademark notice in footer
Diffstat (limited to 'docs')
-rw-r--r-- | docs/_layouts/default.html | 15 | ||||
-rw-r--r-- | docs/index.html | 6 | ||||
-rw-r--r-- | docs/res/base.css | 3 | ||||
-rw-r--r-- | docs/samples/index.html | 5 |
4 files changed, 14 insertions, 15 deletions
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 74d99177b..863c989ac 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -92,14 +92,11 @@ endfor {% comment %}{% include eji-banner.html %}{% endcomment %} - {% if site.safe == true %} - <script async src="https://www.googletagmanager.com/gtag/js?id=UA-105091131-2"></script> - <script> - window.dataLayer = window.dataLayer || []; - function gtag(){dataLayer.push(arguments);} - gtag('js', new Date()); - gtag('config', 'UA-105091131-2'); - </script> - {% endif %} + <footer class="row"> + <p> + Inter a trademark of <a href="https://rsms.me/">Rasmus Andersson</a>. + Font vendor ID: <a href="https://learn.microsoft.com/en-us/typography/vendors/#r">RSMS</a> + </p> + </footer> </body> </html> diff --git a/docs/index.html b/docs/index.html index 4b41ea1d4..ae29a994d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,6 +3,8 @@ layout: default --- {% +assign release_version = site.data.fontinfo[0].version %}{% + for file in site.static_files %}{% assign _path = file.path | remove_first: "/inter" %}{% if _path == "/index.css" %}{% @@ -96,6 +98,8 @@ endfor @supports (font-variation-settings: normal) { :root { font-family: 'Inter var', sans-serif; } }</pre> + <p>Global <abbr title="Content Delivery Network">CDN</abbr> + sponsored by <a href="https://cloudflare.com/">Cloudflare</a></p> </c> <c class="spacer"></c> @@ -130,7 +134,7 @@ endfor <p> Inter is a <a href="https://github.com/rsms/inter">free and open source</a> font family.<br> You are free to use this font in almost any way imaginable.<br> - Refer to the <a href="https://choosealicense.com/licenses/ofl-1.1/">SIL Open Font License 1.1</a> for exact details on what the conditions and restrictions are. + Refer to the <a href="https://raw.githubusercontent.com/rsms/inter/v{{release_version}}/LICENSE.txt">SIL Open Font License 1.1</a> for exact details on what the conditions and restrictions are. </p> <p> <a id="sponsor-button" diff --git a/docs/res/base.css b/docs/res/base.css index 4ddd681f8..c399fc9d3 100644 --- a/docs/res/base.css +++ b/docs/res/base.css @@ -518,6 +518,9 @@ h2.banner { color: #3B414A; } +footer { opacity: 0.4; } +footer:hover { opacity: 1; } + /* --------------------------------------------------------------------- */ diff --git a/docs/samples/index.html b/docs/samples/index.html index 99e6793a4..3dc9213e3 100644 --- a/docs/samples/index.html +++ b/docs/samples/index.html @@ -182,11 +182,6 @@ hills. <img src="img/14.png" srcset="img/14@2x.png 2x" width="888"> <img src="img/15.png" srcset="img/15@2x.png 2x" width="888"> </p> - <p style="text-align:center"> - <a - href="https://www.figma.com/file/WmU5NWr52bnUcqv5os0V4sWi/" - class="plain">Open these samples in Figma</a> - </p> </div></div> <script type="text/javascript">(function(){ |