From 0970f170fb02d4fe0ad42ece7332a5e923480fa6 Mon Sep 17 00:00:00 2001 From: q <787025321@qq.com> Date: Mon, 11 Aug 2025 11:42:35 +0800 Subject: [PATCH 1/2] fix: schema --- src/theme/Footer/index.tsx | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/src/theme/Footer/index.tsx b/src/theme/Footer/index.tsx index cad56ec88a..37972c56ca 100644 --- a/src/theme/Footer/index.tsx +++ b/src/theme/Footer/index.tsx @@ -123,12 +123,7 @@ function Footer() { "offers": { "@type": "Offer", "priceCurrency": "USD", - "price": "1", - "url": "https://www.databend.com/pricing/" - }, - "potentialAction": { - "@type": "Action", - "name": "Join the private beta for FREE", + "price": 0, "url": "https://www.databend.com/apply/" } }, @@ -141,7 +136,7 @@ function Footer() { "offers": { "@type": "Offer", "priceCurrency": "USD", - "price": "1.5", + "price": 1.5, "url": "https://www.databend.com/databend-enterprise/" } }, @@ -154,7 +149,7 @@ function Footer() { "offers": { "@type": "Offer", "priceCurrency": "USD", - "price": "0", + "price": 0, "url": "https://www.databend.com/databend/" } } @@ -173,19 +168,18 @@ function Footer() { "name": "Databend Blog", "description": "Databend's official blog, featuring articles on cloud-native data warehousing, analytics, and industry insights." }, - "hasPart": { + "hasPart": [{ "@type": "WebSite", "name": "Databend Documentation", "url": "https://docs.databend.com/", - "description": "The official documentation site for Databend, providing guides, tutorials, and resources for Databend users.", - "mainEntityOfPage": [ - { "@type": "WebPage", "url": "https://docs.databend.com/guides/", "name": "Databend Guides" }, - { "@type": "WebPage", "url": "https://docs.databend.com/tutorials/", "name": "Databend Tutorials" }, - { "@type": "WebPage", "url": "https://docs.databend.com/developer/", "name": "Databend Developer Resources" }, - { "@type": "WebPage", "url": "https://docs.databend.com/sql/", "name": "Databend SQL Reference" }, - { "@type": "WebPage", "url": "https://docs.databend.com/release-notes/", "name": "Databend Release Notes" } - ] - } + "description": "The official documentation site for Databend, providing guides, tutorials, and resources for Databend users." + }, + { + "@type": "Blog", + "url": "https://www.databend.com/blog", + "name": "Databend Blog", + "description": "Databend's official blog, featuring articles on cloud-native data warehousing, analytics, and industry insights." + }] } `} From b089373c5433b9b5a1471a0bdcfbb99916671bfc Mon Sep 17 00:00:00 2001 From: q <787025321@qq.com> Date: Mon, 11 Aug 2025 14:10:14 +0800 Subject: [PATCH 2/2] remove useless schema --- src/theme/Footer/index.tsx | 59 -------------------------------------- 1 file changed, 59 deletions(-) diff --git a/src/theme/Footer/index.tsx b/src/theme/Footer/index.tsx index 37972c56ca..e52533e391 100644 --- a/src/theme/Footer/index.tsx +++ b/src/theme/Footer/index.tsx @@ -113,47 +113,6 @@ function Footer() { "email": "hi@databend.com", "url": "https://www.databend.com/contact-us/" }, - "offers": [ - { - "@type": "Product", - "name": "Databend Cloud", - "description": "Databend is a Cost-Effective Cloud Data Warehouse, pay-as-you-use cloud data warehouse with enterprise features.", - "url": "https://www.databend.com/databend-cloud/", - "image": "https://www.databend.com/img/resource/product-databend-cloud.png", - "offers": { - "@type": "Offer", - "priceCurrency": "USD", - "price": 0, - "url": "https://www.databend.com/apply/" - } - }, - { - "@type": "Product", - "name": "Databend Enterprise", - "description": "Self-hosted version with advanced enterprise features and support.", - "url": "https://www.databend.com/databend-enterprise/", - "image": "https://www.databend.com/img/resource/product-databend-enterprise.png", - "offers": { - "@type": "Offer", - "priceCurrency": "USD", - "price": 1.5, - "url": "https://www.databend.com/databend-enterprise/" - } - }, - { - "@type": "Product", - "name": "Databend Community", - "description": "Free, self-hosted version for community-driven use.", - "url": "https://www.databend.com/databend/", - "image": "https://www.databend.com/img/resource/product-databend.png", - "offers": { - "@type": "Offer", - "priceCurrency": "USD", - "price": 0, - "url": "https://www.databend.com/databend/" - } - } - ], "address": { "@type": "PostalAddress", "streetAddress": "401 RYLAND ST. STE 200-A", @@ -162,24 +121,6 @@ function Footer() { "postalCode": "89502", "addressCountry": "USA" }, - "blog": { - "@type": "Blog", - "url": "https://www.databend.com/blog", - "name": "Databend Blog", - "description": "Databend's official blog, featuring articles on cloud-native data warehousing, analytics, and industry insights." - }, - "hasPart": [{ - "@type": "WebSite", - "name": "Databend Documentation", - "url": "https://docs.databend.com/", - "description": "The official documentation site for Databend, providing guides, tutorials, and resources for Databend users." - }, - { - "@type": "Blog", - "url": "https://www.databend.com/blog", - "name": "Databend Blog", - "description": "Databend's official blog, featuring articles on cloud-native data warehousing, analytics, and industry insights." - }] } `}