You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mi...@apache.org on 2023/04/24 13:19:14 UTC

[kafka-site] branch asf-site updated: KAFKA-14925: Hosting JS files locally (#506)

This is an automated email from the ASF dual-hosted git repository.

mimaison pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/kafka-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new c111c1fe KAFKA-14925: Hosting JS files locally (#506)
c111c1fe is described below

commit c111c1fe9e5016baf7c21bed4b5db320aab494fe
Author: atu-sharm <13...@users.noreply.github.com>
AuthorDate: Mon Apr 24 18:49:08 2023 +0530

    KAFKA-14925: Hosting JS files locally (#506)
    
    
    Reviewers: Mickael Maison <mi...@gmail.com>, Manyanda Chitimbo <ma...@gmail.com>
---
 includes/_header.htm | 2 +-
 js/fontawesome.js    | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/includes/_header.htm b/includes/_header.htm
index 47840a1b..120957eb 100644
--- a/includes/_header.htm
+++ b/includes/_header.htm
@@ -17,7 +17,7 @@
 		<meta property="og:type" content="website" />
 		<link href="/css/fonts.css" rel="stylesheet">
 		<script src="/js/jquery.min.js"></script>
-		<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
+		<script defer src="/js/fontawesome.js"></script>
 
 		<link rel="stylesheet" href="/css/prism.min.css" />
 		<script defer src="/js/prism.min.js"></script>
diff --git a/js/fontawesome.js b/js/fontawesome.js
new file mode 100644
index 00000000..cfce4315
--- /dev/null
+++ b/js/fontawesome.js
@@ -0,0 +1,5 @@
+/*!
+ * Font Awesome Free 5.0.8 by @fontawesome - https://fontawesome.com
+ * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
+ */
+!function(){"use strict";var c={};try{"undefined"!=typeof window&&(c=window)}catch(c){}var l=(c.navigator||{}).userAgent,h=void 0===l?"":l,v=c,z=(~h.indexOf("MSIE")||h.indexOf("Trident/"),"___FONT_AWESOME___"),e=function(){try{return!0}catch(c){return!1}}(),a=[1,2,3,4,5,6,7,8,9,10],m=a.concat([11,12,13,14,15,16,17,18,19,20]);["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","stack","stac [...]
\ No newline at end of file