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

jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new cf8561a69 [AMORO-3832] Update amoro site to meet ASF graduation 
requirements (#4105)
cf8561a69 is described below

commit cf8561a6998cfd7e5daa845c4239ed1287ece434
Author: Xu Bai <[email protected]>
AuthorDate: Wed Mar 4 10:29:39 2026 +0800

    [AMORO-3832] Update amoro site to meet ASF graduation requirements (#4105)
    
    * Add Events section to site navigation
    
    * Self-host Lato font to comply with ASF policy
---
 site/amoro-docs/hugo.toml                          |   9 ++--
 site/amoro-site/hugo.toml                          |   9 ++--
 site/amoro-theme/layouts/partials/css.html         |   2 +-
 site/amoro-theme/static/css/lato-font.css          |  57 +++++++++++++++++++++
 .../static/fonts/lato/lato-v24-latin-300.woff2     | Bin 0 -> 5624 bytes
 .../fonts/lato/lato-v24-latin-300italic.woff2      | Bin 0 -> 4340 bytes
 .../static/fonts/lato/lato-v24-latin-700.woff2     | Bin 0 -> 5368 bytes
 .../fonts/lato/lato-v24-latin-700italic.woff2      | Bin 0 -> 5616 bytes
 .../static/fonts/lato/lato-v24-latin-italic.woff2  | Bin 0 -> 5600 bytes
 .../static/fonts/lato/lato-v24-latin-regular.woff2 | Bin 0 -> 5472 bytes
 10 files changed, 68 insertions(+), 9 deletions(-)

diff --git a/site/amoro-docs/hugo.toml b/site/amoro-docs/hugo.toml
index 92e414beb..143f28afe 100644
--- a/site/amoro-docs/hugo.toml
+++ b/site/amoro-docs/hugo.toml
@@ -43,10 +43,11 @@ home = [ "HTML", "RSS", "SearchIndex" ]
     { name = "ASF", weight = 700 },
     { name = "Foundation", identifier = "_foundation", parent = "ASF", url = 
"https://www.apache.org/";, weight = 701 },
     { name = "License", identifier = "_license", parent = "ASF", url = 
"https://www.apache.org/licenses/";, weight = 702 },
-    { name = "Donate", identifier = "_donate", parent = "ASF", url = 
"https://www.apache.org/foundation/sponsorship.html";, weight = 703 },
-    { name = "Sponsors", identifier = "_sponsors", parent = "ASF", url = 
"https://www.apache.org/foundation/thanks.html";, weight = 704 },
-    { name = "Security", identifier = "_security", parent = "ASF", url = 
"https://www.apache.org/security/";, weight = 705 },
-    { name = "Privacy", identifier = "_privacy", parent = "ASF", url = 
"https://privacy.apache.org/policies/privacy-policy-public.html";, weight = 706 }
+    { name = "Events", identifier = "_events", parent = "ASF", url = 
"https://events.apache.org/";, weight = 703 },
+    { name = "Donate", identifier = "_donate", parent = "ASF", url = 
"https://www.apache.org/foundation/sponsorship.html";, weight = 704 },
+    { name = "Sponsors", identifier = "_sponsors", parent = "ASF", url = 
"https://www.apache.org/foundation/thanks.html";, weight = 705 },
+    { name = "Security", identifier = "_security", parent = "ASF", url = 
"https://www.apache.org/security/";, weight = 706 },
+    { name = "Privacy", identifier = "_privacy", parent = "ASF", url = 
"https://privacy.apache.org/policies/privacy-policy-public.html";, weight = 707 }
   ]
 
   main = [ # Main menu, docs site left nav
diff --git a/site/amoro-site/hugo.toml b/site/amoro-site/hugo.toml
index cf5e4af83..de74999a6 100644
--- a/site/amoro-site/hugo.toml
+++ b/site/amoro-site/hugo.toml
@@ -143,10 +143,11 @@ home = [ "HTML", "RSS", "SearchIndex" ]
     { name = "ASF", weight = 700 },
     { name = "Foundation", identifier = "_foundation", parent = "ASF", url = 
"https://www.apache.org/";, weight = 701 },
     { name = "License", identifier = "_license", parent = "ASF", url = 
"https://www.apache.org/licenses/";, weight = 702 },
-    { name = "Donate", identifier = "_donate", parent = "ASF", url = 
"https://www.apache.org/foundation/sponsorship.html";, weight = 703 },
-    { name = "Sponsors", identifier = "_sponsors", parent = "ASF", url = 
"https://www.apache.org/foundation/thanks.html";, weight = 704 },
-    { name = "Security", identifier = "_security", parent = "ASF", url = 
"https://www.apache.org/security/";, weight = 705 },
-    { name = "Privacy", identifier = "_privacy", parent = "ASF", url = 
"https://privacy.apache.org/policies/privacy-policy-public.html";, weight = 706 }
+    { name = "Events", identifier = "_events", parent = "ASF", url = 
"https://events.apache.org/";, weight = 703 },
+    { name = "Donate", identifier = "_donate", parent = "ASF", url = 
"https://www.apache.org/foundation/sponsorship.html";, weight = 704 },
+    { name = "Sponsors", identifier = "_sponsors", parent = "ASF", url = 
"https://www.apache.org/foundation/thanks.html";, weight = 705 },
+    { name = "Security", identifier = "_security", parent = "ASF", url = 
"https://www.apache.org/security/";, weight = 706 },
+    { name = "Privacy", identifier = "_privacy", parent = "ASF", url = 
"https://privacy.apache.org/policies/privacy-policy-public.html";, weight = 707 }
   ]
 
 [markup.goldmark.renderer]
diff --git a/site/amoro-theme/layouts/partials/css.html 
b/site/amoro-theme/layouts/partials/css.html
index 52ec5e9ff..eb37f18d8 100644
--- a/site/amoro-theme/layouts/partials/css.html
+++ b/site/amoro-theme/layouts/partials/css.html
@@ -30,7 +30,7 @@
 
 <!-- Custom Fonts -->
 <link href="{{ .Site.BaseURL }}/font-awesome-4.7.0/css/font-awesome.min.css" 
rel="stylesheet" type="text/css">
-<link 
href="//fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
 rel="stylesheet" type="text/css">
+<link href="{{ .Site.BaseURL }}/css/lato-font.css" rel="stylesheet" 
type="text/css">
 
 <!-- Needed to render termynal animations -->
 <link href="{{ .Site.BaseURL }}/css/termynal.css" rel="stylesheet">
diff --git a/site/amoro-theme/static/css/lato-font.css 
b/site/amoro-theme/static/css/lato-font.css
new file mode 100644
index 000000000..adecce430
--- /dev/null
+++ b/site/amoro-theme/static/css/lato-font.css
@@ -0,0 +1,57 @@
+/* Lato font - self-hosted to comply with ASF policy (no external resources) */
+/* Source: Google Fonts - Lato by Ɓukasz Dziedzic, licensed under OFL */
+
+/* Lato Light (300) */
+@font-face {
+  font-family: 'Lato';
+  font-style: normal;
+  font-weight: 300;
+  font-display: swap;
+  src: url('../fonts/lato/lato-v24-latin-300.woff2') format('woff2');
+}
+
+/* Lato Light Italic (300italic) */
+@font-face {
+  font-family: 'Lato';
+  font-style: italic;
+  font-weight: 300;
+  font-display: swap;
+  src: url('../fonts/lato/lato-v24-latin-300italic.woff2') format('woff2');
+}
+
+/* Lato Regular (400) */
+@font-face {
+  font-family: 'Lato';
+  font-style: normal;
+  font-weight: 400;
+  font-display: swap;
+  src: url('../fonts/lato/lato-v24-latin-regular.woff2') format('woff2');
+}
+
+/* Lato Regular Italic (400italic) */
+@font-face {
+  font-family: 'Lato';
+  font-style: italic;
+  font-weight: 400;
+  font-display: swap;
+  src: url('../fonts/lato/lato-v24-latin-italic.woff2') format('woff2');
+}
+
+/* Lato Bold (700) */
+@font-face {
+  font-family: 'Lato';
+  font-style: normal;
+  font-weight: 700;
+  font-display: swap;
+  src: url('../fonts/lato/lato-v24-latin-700.woff2') format('woff2');
+}
+
+/* Lato Bold Italic (700italic) */
+@font-face {
+  font-family: 'Lato';
+  font-style: italic;
+  font-weight: 700;
+  font-display: swap;
+  src: url('../fonts/lato/lato-v24-latin-700italic.woff2') format('woff2');
+}
+
diff --git a/site/amoro-theme/static/fonts/lato/lato-v24-latin-300.woff2 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-300.woff2
new file mode 100644
index 000000000..486d3ecf0
Binary files /dev/null and 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-300.woff2 differ
diff --git a/site/amoro-theme/static/fonts/lato/lato-v24-latin-300italic.woff2 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-300italic.woff2
new file mode 100644
index 000000000..f17999bd2
Binary files /dev/null and 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-300italic.woff2 differ
diff --git a/site/amoro-theme/static/fonts/lato/lato-v24-latin-700.woff2 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-700.woff2
new file mode 100644
index 000000000..2c8aaa866
Binary files /dev/null and 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-700.woff2 differ
diff --git a/site/amoro-theme/static/fonts/lato/lato-v24-latin-700italic.woff2 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-700italic.woff2
new file mode 100644
index 000000000..f59e721c3
Binary files /dev/null and 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-700italic.woff2 differ
diff --git a/site/amoro-theme/static/fonts/lato/lato-v24-latin-italic.woff2 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-italic.woff2
new file mode 100644
index 000000000..15be816ab
Binary files /dev/null and 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-italic.woff2 differ
diff --git a/site/amoro-theme/static/fonts/lato/lato-v24-latin-regular.woff2 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-regular.woff2
new file mode 100644
index 000000000..edb9fa6f4
Binary files /dev/null and 
b/site/amoro-theme/static/fonts/lato/lato-v24-latin-regular.woff2 differ

Reply via email to