1
1
mirror of https://github.com/rsms/inter.git synced 2024-08-16 14:20:48 +03:00

website: cloudflare sponsor mention and trademark notice in footer

This commit is contained in:
Rasmus Andersson 2023-04-08 10:38:24 -07:00
parent 5171c1be9c
commit 3bf1263412
4 changed files with 14 additions and 15 deletions

View File

@ -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>

View File

@ -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"

View File

@ -518,6 +518,9 @@ h2.banner {
color: #3B414A;
}
footer { opacity: 0.4; }
footer:hover { opacity: 1; }
/* --------------------------------------------------------------------- */

View File

@ -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(){