You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by yu...@apache.org on 2026/08/17 23:56:40 UTC

(polaris) branch main updated: Refresh the Apache Polaris homepage (#5279)

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

flyrain pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new 0e34a09224 Refresh the Apache Polaris homepage (#5279)
0e34a09224 is described below

commit 0e34a092240846422c190c3f8d5a8a40a2c53336
Author: Yufei Gu <yu...@apache.org>
AuthorDate: Mon Aug 17 16:56:35 2026 -0700

    Refresh the Apache Polaris homepage (#5279)
---
 site/assets/scss/_styles_project.scss              | 345 +++++++++++++++++++++
 site/content/_index.adoc                           |  30 +-
 site/layouts/home/list.html                        |  73 ++++-
 .../static/img/Polaris-Catalog-hero-background.jpg | Bin 0 -> 61098 bytes
 site/static/img/logos/polaris-brandmark-white.svg  |  21 ++
 5 files changed, 437 insertions(+), 32 deletions(-)

diff --git a/site/assets/scss/_styles_project.scss b/site/assets/scss/_styles_project.scss
index 8e9ac07f37..a250041c46 100644
--- a/site/assets/scss/_styles_project.scss
+++ b/site/assets/scss/_styles_project.scss
@@ -83,3 +83,348 @@ h6:hover .heading-anchor {
 .-bg-primary {
   background-color: #30638e;
 }
+
+// Homepage
+.td-home {
+  background: #f6f8f7;
+
+  .td-navbar {
+    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
+    background: rgba(3, 36, 45, 0.96);
+    backdrop-filter: blur(14px);
+  }
+
+  .td-outer {
+    overflow: hidden;
+  }
+
+  .td-main {
+    padding-top: 0;
+  }
+}
+
+.polaris-landing {
+  width: 100vw;
+  margin-left: calc(50% - 50vw);
+  color: #0b333d;
+
+  *,
+  *::before,
+  *::after {
+    box-sizing: border-box;
+  }
+}
+
+.polaris-landing-shell {
+  width: calc(100% - 2rem);
+  max-width: 72rem;
+  margin-inline: auto;
+}
+
+.polaris-landing-hero {
+  position: relative;
+  isolation: isolate;
+  display: grid;
+  min-height: clamp(39rem, 48vw, 51rem);
+  place-items: center;
+  overflow: hidden;
+  color: #fff;
+  background: #031f27 url("/img/Polaris-Catalog-hero-background.jpg") no-repeat center center;
+  background-size: cover;
+
+  &::before {
+    position: absolute;
+    z-index: -1;
+    inset: 0;
+    background:
+      linear-gradient(to bottom, rgba(1, 19, 25, 0.22), rgba(1, 19, 25, 0.02) 45%, rgba(1, 19, 25, 0.18)),
+      radial-gradient(circle at center 35%, rgba(0, 0, 0, 0.06), rgba(0, 18, 24, 0.2));
+    content: "";
+  }
+}
+
+.polaris-landing-hero__content {
+  width: calc(100% - 2rem);
+  max-width: 72rem;
+  padding: 6rem 1rem 10rem;
+  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+  text-align: center;
+  text-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.58);
+
+  h1 {
+    display: flex;
+    gap: 0.25em;
+    align-items: center;
+    justify-content: center;
+    margin: 0;
+    color: #fff;
+    font-size: clamp(4rem, 8vw, 7.8rem);
+    font-weight: 400;
+    letter-spacing: 0;
+    line-height: 1;
+
+    > img {
+      width: 0.9em;
+      height: 0.9em;
+      flex: 0 0 auto;
+      filter: drop-shadow(0 0.2rem 1rem rgba(0, 0, 0, 0.25));
+    }
+
+    > span {
+      min-width: 0;
+    }
+  }
+
+  > p {
+    margin: 1.5rem 0 0;
+    color: rgba(255, 255, 255, 0.92);
+    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
+    font-weight: 400;
+    letter-spacing: 0.01em;
+  }
+
+  hr {
+    width: 70vw;
+    max-width: 25rem;
+    margin: 2rem auto;
+    border: 0;
+    border-top: 1px solid rgba(255, 255, 255, 0.82);
+    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
+    opacity: 1;
+  }
+}
+
+.polaris-landing-actions {
+  display: flex;
+  flex-wrap: wrap;
+  gap: 0.8rem;
+  justify-content: center;
+}
+
+.polaris-landing-button {
+  display: inline-flex;
+  min-height: 3.25rem;
+  gap: 0.65rem;
+  align-items: center;
+  justify-content: center;
+  padding: 0.8rem 1.15rem;
+  border: 1px solid rgba(255, 255, 255, 0.52);
+  border-radius: 0.4rem;
+  color: #fff;
+  background: rgba(1, 22, 28, 0.5);
+  box-shadow: 0 0.5rem 1.4rem rgba(0, 0, 0, 0.16);
+  font-size: 0.95rem;
+  font-weight: 700;
+  text-decoration: none;
+  text-shadow: none;
+  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
+
+  &:hover {
+    color: #fff;
+    border-color: rgba(255, 255, 255, 0.85);
+    background: rgba(255, 255, 255, 0.14);
+    transform: translateY(-2px);
+  }
+
+  &:focus-visible {
+    outline: 3px solid #7bf3e8;
+    outline-offset: 3px;
+  }
+}
+
+.polaris-landing-button--primary {
+  color: #052f39;
+  border-color: #72e8dd;
+  background: #72e8dd;
+
+  &:hover {
+    color: #052f39;
+    border-color: #a1f5ed;
+    background: #a1f5ed;
+  }
+}
+
+.polaris-landing-about {
+  padding: 7rem 0;
+  background: #0b333d;
+  text-align: center;
+
+  h2 {
+    margin: 0 0 2rem;
+    color: #fff;
+    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
+    font-weight: 620;
+    letter-spacing: -0.05em;
+    line-height: 1;
+  }
+
+  p {
+    max-width: 53rem;
+    margin: 0 auto 1.2rem;
+    color: rgba(255, 255, 255, 0.72);
+    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
+    line-height: 1.75;
+  }
+}
+
+.polaris-landing .polaris-landing-community {
+  padding: 3.75rem 0;
+  background: #073b47;
+}
+
+.polaris-landing-community__grid {
+  display: grid;
+  grid-template-columns: repeat(3, 1fr);
+  gap: clamp(1.5rem, 3vw, 3rem);
+
+  > a,
+  > article {
+    display: flex;
+    flex-direction: column;
+    gap: 1.25rem;
+    align-items: center;
+    justify-content: flex-start;
+    padding: 0.75rem 1rem;
+    border: 0;
+    border-radius: 0.75rem;
+    color: #fff;
+    background: transparent;
+    text-align: center;
+
+    > i {
+      display: flex;
+      width: 3.5rem;
+      height: 3.5rem;
+      align-items: center;
+      justify-content: center;
+      color: #72e8dd;
+      font-size: 2.25rem;
+      transition: color 160ms ease;
+    }
+
+    span,
+    > div {
+      display: flex;
+      width: 100%;
+      max-width: 20rem;
+      flex-direction: column;
+      gap: 0.7rem;
+      align-items: center;
+    }
+
+    strong {
+      font-size: clamp(1.25rem, 2vw, 1.5rem);
+    }
+
+    small {
+      color: rgba(255, 255, 255, 0.68);
+      font-size: 0.92rem;
+      line-height: 1.6;
+    }
+  }
+
+  > a {
+    text-decoration: none;
+    transition: color 160ms ease, transform 160ms ease;
+
+    &:hover {
+      color: #fff;
+      transform: translateY(-2px);
+
+      > i {
+        color: #a1f5ed;
+      }
+    }
+
+    &:focus-visible {
+      outline: 3px solid #7bf3e8;
+      outline-offset: 3px;
+    }
+  }
+}
+
+.polaris-landing-community__contribute {
+  h3 {
+    margin: 0;
+    color: #fff;
+    font-size: clamp(1.25rem, 2vw, 1.5rem);
+  }
+
+  p {
+    margin: 0;
+    color: rgba(255, 255, 255, 0.68);
+    font-size: 0.92rem;
+    line-height: 1.6;
+  }
+
+  a {
+    color: #72e8dd;
+
+    &:hover {
+      color: #a1f5ed;
+    }
+  }
+}
+
+.polaris-landing .polaris-landing-trademarks {
+  padding: 1rem 0;
+  border-top: 1px solid rgba(255, 255, 255, 0.08);
+  background: #052f39;
+
+  p {
+    margin: 0;
+    color: rgba(255, 255, 255, 0.58);
+    font-size: 0.75rem;
+    line-height: 1.6;
+    text-align: center;
+  }
+}
+
+@media (max-width: 767.98px) {
+  .polaris-landing-hero {
+    min-height: 43rem;
+    background-position: center bottom;
+  }
+
+  .polaris-landing-hero__content {
+    padding-top: 5rem;
+    padding-bottom: 11rem;
+
+    h1 {
+      gap: 0.2em;
+      font-size: clamp(1.75rem, 8.75vw, 4.25rem);
+
+      > img {
+        width: 0.82em;
+        height: 0.82em;
+      }
+
+      > span {
+        white-space: nowrap;
+      }
+    }
+  }
+
+  .polaris-landing-actions {
+    display: grid;
+    width: 100%;
+    max-width: 21rem;
+    margin-inline: auto;
+  }
+
+  .polaris-landing-community__grid {
+    grid-template-columns: 1fr;
+  }
+
+  .polaris-landing-about {
+    padding: 5rem 0;
+  }
+}
+
+@media (prefers-reduced-motion: reduce) {
+  .polaris-landing *,
+  .polaris-landing *::before,
+  .polaris-landing *::after {
+    transition-duration: 0.01ms !important;
+  }
+}
diff --git a/site/content/_index.adoc b/site/content/_index.adoc
index 72765ecb71..c54318f713 100644
--- a/site/content/_index.adoc
+++ b/site/content/_index.adoc
@@ -19,35 +19,7 @@
 #
 title: "Apache Polaris"
 type: home
+description: "Apache Polaris is the open catalog for data and AI assets."
 cascade:
   no_list: true
 ---
-{{< blocks/cover title="Welcome to the Apache Polaris™ web site!" image_anchor="center" color="primary" >}}
-Apache Polaris is an open-source, fully-featured catalog for Apache Iceberg™. It implements Iceberg's REST API, enabling seamless multi-engine interoperability across a wide range of platforms, including Apache Doris™, Apache Flink®, Apache Spark™, Dremio® OSS, StarRocks, and Trino.
-
-<div class="text-center">
-<a href="/releases/latest/getting-started/" class="btn btn-lg btn-dark mt-5">Get Started <i class="fas fa-arrow-alt-circle-right ms-2"></i></a>
-</div>
-
-{{< /blocks/cover >}}
-
-[.full-width]
-image::img/Polaris-Catalog-BLOG-symmetrical-subhead.png[Polaris Catalog]
-
-{{< blocks/section color="dark" type="row" >}}
-{{% blocks/feature icon="fa-lightbulb" title="Join the community!" url="https://join.slack.com/t/apache-polaris/shared_invite/zt-3txht5g9x-9NYK98fK6hk40bOaWGW83Q" url_text="Chat with us" %}}
-Chat with users and project developers!
-{{% /blocks/feature %}}
-{{% blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/apache/polaris/pulls" url_text="Polaris Pull Requests" %}}
-We do a https://github.com/apache/polaris/pulls[Pull Request] contributions workflow on **GitHub**. New users are always welcome!
-{{% /blocks/feature %}}
-{{% blocks/feature icon="fa fa-envelope" title="Join our mailing list" url="https://lists.apache.org/list.html?dev@polaris.apache.org" url_text="Subscribe" %}}
-For announcement and discussions about the project.
-{{% /blocks/feature %}}
-{{< /blocks/section >}}
-
-{{< blocks/section color="dark" >}}
-<p>
-Apache®, Apache Polaris™, Apache Iceberg™, Apache Spark™ are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.
-</p>
-{{< /blocks/section >}}
diff --git a/site/layouts/home/list.html b/site/layouts/home/list.html
index 12a0be9c81..35a424d679 100644
--- a/site/layouts/home/list.html
+++ b/site/layouts/home/list.html
@@ -17,7 +17,74 @@
  under the License.
 */}}
 {{ define "main" -}}
-<div class="td-content text-center">
-    {{ .Content }}
+<div class="polaris-landing">
+  <section class="polaris-landing-hero" aria-labelledby="polaris-landing-title">
+    <div class="polaris-landing-hero__content">
+      <h1 id="polaris-landing-title">
+        <img src="/img/logos/polaris-brandmark-white.svg" alt="">
+        <span>Apache Polaris™</span>
+      </h1>
+      <p>The open catalog for data and AI assets.</p>
+      <hr>
+      <nav class="polaris-landing-actions" aria-label="Apache Polaris resources">
+        <a class="polaris-landing-button polaris-landing-button--primary" href="/releases/latest/getting-started/">
+          <i class="fas fa-rocket" aria-hidden="true"></i>
+          Get started
+        </a>
+        <a class="polaris-landing-button" href="/releases/latest/">
+          <i class="fas fa-book-open" aria-hidden="true"></i>
+          Documentation
+        </a>
+        <a class="polaris-landing-button" href="https://github.com/apache/polaris">
+          <i class="fab fa-github" aria-hidden="true"></i>
+          GitHub
+        </a>
+      </nav>
+    </div>
+  </section>
+
+  <section class="polaris-landing-about" aria-label="About Apache Polaris">
+    <div class="polaris-landing-shell">
+      <p>
+        Apache Polaris is an open-source, fully-featured catalog for Apache Iceberg™. It
+        implements Iceberg's REST API, enabling seamless multi-engine interoperability across
+        a wide range of platforms, including Apache Doris™, Apache Flink®, Apache Spark™,
+        Dremio® OSS, StarRocks, and Trino.
+      </p>
+    </div>
+  </section>
+
+  <section class="polaris-landing-community" aria-label="Apache Polaris community links">
+    <div class="polaris-landing-shell polaris-landing-community__grid">
+      <a href="https://join.slack.com/t/apache-polaris/shared_invite/zt-3txht5g9x-9NYK98fK6hk40bOaWGW83Q">
+        <i class="fa-regular fa-comment-dots" aria-hidden="true"></i>
+        <span><strong>Join the community</strong><small>Chat with users and project developers.</small></span>
+      </a>
+      <article class="polaris-landing-community__contribute">
+        <i class="fab fa-github" aria-hidden="true"></i>
+        <div>
+          <h3>Contributions welcome!</h3>
+          <p>
+            We do a <a href="https://github.com/apache/polaris/pulls">Pull Request</a>
+            contributions workflow on GitHub. New users are always welcome!
+          </p>
+        </div>
+      </article>
+      <a href="https://lists.apache.org/list.html?dev@polaris.apache.org">
+        <i class="fa-regular fa-envelope" aria-hidden="true"></i>
+        <span><strong>Join the mailing list</strong><small>Follow announcements and project discussions.</small></span>
+      </a>
+    </div>
+  </section>
+
+  <section class="polaris-landing-trademarks" aria-label="Trademark attribution">
+    <div class="polaris-landing-shell">
+      <p>
+        Apache®, Apache Polaris™, Apache Iceberg™, and Apache Spark™ are either registered
+        trademarks or trademarks of the Apache Software Foundation in the United States
+        and/or other countries.
+      </p>
+    </div>
+  </section>
 </div>
-{{ end }}
\ No newline at end of file
+{{ end }}
diff --git a/site/static/img/Polaris-Catalog-hero-background.jpg b/site/static/img/Polaris-Catalog-hero-background.jpg
new file mode 100644
index 0000000000..727a6ebad5
Binary files /dev/null and b/site/static/img/Polaris-Catalog-hero-background.jpg differ
diff --git a/site/static/img/logos/polaris-brandmark-white.svg b/site/static/img/logos/polaris-brandmark-white.svg
new file mode 100644
index 0000000000..eaf91f61ec
--- /dev/null
+++ b/site/static/img/logos/polaris-brandmark-white.svg
@@ -0,0 +1,21 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<svg viewBox="0 0 150 150" fill="none" xmlns="http://www.w3.org/2000/svg">
+  <path d="M0.759941 5.24864C-1.67735 2.26969 2.26966 -1.67736 5.24859 0.759936L73.1833 56.3423C74.4097 57.3457 76.1492 57.426 77.4628 56.5396L114.566 31.5048C117.473 29.5435 120.955 33.0263 118.994 35.9331L93.9585 73.0383C93.0727 74.3511 93.1522 76.0892 94.1541 77.3156L149.242 144.753C151.675 147.731 147.732 151.675 144.753 149.241L77.3156 94.154C76.0891 93.1522 74.351 93.0728 73.0383 93.9585L35.933 118.995C33.0264 120.956 29.5435 117.473 31.5048 114.567L56.5396 77.4628C57.4259 76.1493  [...]
+</svg>