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

jeffreyh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 819d74575c3 Add new event:Help Shape the Future of Apache Doris: 2026 
User Survey (#3428)
819d74575c3 is described below

commit 819d74575c395a758c40a2aab7d69b1f88e45879
Author: yangon <[email protected]>
AuthorDate: Thu Mar 5 10:03:30 2026 +0800

    Add new event:Help Shape the Future of Apache Doris: 2026 User Survey 
(#3428)
---
 docusaurus.config.js                               | 12 +++---
 src/components/Icons/home-event-star-icon.tsx      |  9 +++++
 src/pages/index.tsx                                | 43 ++++++++++------------
 .../AnnouncementBar/Content/styles.module.css      |  2 +-
 src/theme/AnnouncementBar/styles.module.css        |  2 +-
 static/images/navbar-star-white.svg                | 10 +++++
 6 files changed, 46 insertions(+), 32 deletions(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 92df6a3adc0..d4222a699e4 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -265,12 +265,12 @@ const config = {
                     //    <span>Apache Doris x Milvus 联合 Webinar:解锁 DB for AI 
的无限可能</span> 
                     //    <p 
style="margin-left:0.675rem;color:#52CAA3;font-size:0.875rem;line-height:1rem;font-weight:700;letter-spacing:0.28px;">查看详情
 -></p> 
                     //        </a>`,
-                    //         en: `<a 
href="https://www.velodb.io/events/GenAI-AWS-251113"; target="_blank" 
style="display:flex; width: 100%; align-items: center; justify-content: center; 
margin-left: 4px; text-decoration: none;">
-                    //         <img style="width: 19px; height: 19px; 
margin-right: 3px;" src="/images/nav-star.svg">
-                    //         <span 
style="color:#52CAA3;font-size:0.875rem;font-weight:700;line-height:1rem; 
margin-right:0.675rem; text-decoration: none;">NEW EVENTS</span>
-                    //        <span>Webinar: Data Analytics in the Agentic AI 
Era</span> 
-                    //        <p 
style="margin-left:0.675rem;color:#52CAA3;font-size:0.875rem;line-height:1rem;font-weight:700;letter-spacing:0.28px;">Register
 Now -></p> 
-                    //            </a>`,
+                            en: `<a href="https://forms.gle/7RKm6CGSNhdW8ZnK9"; 
target="_blank" style="display:flex; width: 100%; align-items: center; 
justify-content: center; margin-left: 4px; text-decoration: none;">
+                            <img style="width: 19px; height: 19px; 
margin-right: 3px;" src="/images/navbar-star-white.svg">
+                            <span 
style="font-size:0.875rem;font-weight:700;line-height:1rem; 
margin-right:0.675rem; text-decoration: none;">NEW EVENTS</span>
+                           <span>Help Shape the Future of Apache Doris: 2026 
User Survey</span> 
+                           <p 
style="margin-left:0.675rem;font-size:0.875rem;line-height:1rem;font-weight:700;letter-spacing:0.28px;">Register
 Now -></p> 
+                               </a>`
                     //     }),
                     //     content: JSON.stringify({
                     //         zh: `<a href="https://doris-summit.org.cn"; 
target="_blank" style="display:flex; width: 100%; align-items: center; 
justify-content: center; margin-left: 4px; text-decoration: none;">
diff --git a/src/components/Icons/home-event-star-icon.tsx 
b/src/components/Icons/home-event-star-icon.tsx
new file mode 100644
index 00000000000..b246c6a9e1f
--- /dev/null
+++ b/src/components/Icons/home-event-star-icon.tsx
@@ -0,0 +1,9 @@
+import React from "react"
+
+export function HomeEventStarIcon(props: any) {
+    return (
+        <svg {...props} xmlns="http://www.w3.org/2000/svg"; width="19" 
height="19" viewBox="0 0 19 19" fill="none">
+            <path d="M9 0L11.2958 6.20423L17.5 8.5L11.2958 10.7958L9 
17L6.70423 10.7958L0.5 8.5L6.70423 6.20423L9 0Z" fill="currentColor" />
+        </svg>
+    )
+}
\ No newline at end of file
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 12a78c8ed8e..c6d6fa8c8b6 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -14,6 +14,7 @@ import { CoreCapabilitiesData } from 
'../constant/core-capabilities.data';
 import { CoreCapabilitiesCard } from 
'../components/core-capabilities-card/core-capabilities-card';
 import GetStarted from '@site/src/components/get-started/get-started';
 import HomeEvenStarIcon from '@site/static/images/home-event-star.svg';
+import { HomeEventStarIcon } from '../components/Icons/home-event-star-icon';
 import { UserCaseCarousel } from '../components/user-case-carousel';
 import { NewsLetterSwiper } from '../components/newsletter-swiper';
 import { DEFAULT_VERSION } from '@site/src/constant/version';
@@ -68,29 +69,23 @@ export default function Home(): JSX.Element {
                 </p>
             </div>
         ),
-        // event: (
-        //     <Link
-        //         to={'https://www.velodb.io/events/GenAI-AWS-251113'}
-        //         style={{ background: 'linear-gradient(0deg, #F7FAFC 0%, 
#F7FAFC 100%), #FFF', textDecoration: 'none' }}
-        //         onMouseEnter={() => {
-        //             
document.getElementById('event-star-icon').firstChild.style.fill = '#11A679';
-        //         }}
-        //         onMouseLeave={() => {
-        //             
document.getElementById('event-star-icon').firstChild.style.fill = '#636CDF';
-        //         }}
-        //         className="lg:rounded-full rounded-[1.625rem] mb-8 
text-center group lg:w-[45rem] mx-auto lg:flex-row flex-col flex py-4 
px-[2.25rem] items-center justify-center"
-        //     >
-        //         <div className="lg:mb-0 mb-4 flex items-center">
-        //             <HomeEvenStarIcon id="event-star-icon" />
-        //             <span className="ml-[3px] group-hover:text-primary 
font-bold text-[#636CDF] text-[0.875rem]/[1rem]">
-        //                 NEW EVENT
-        //             </span>
-        //         </div>
-        //         <p className="lg:ml-[0.75rem] group-hover:text-primary 
text-[1rem]/[1rem] text-[#000]">
-        //             Webinar: Data Analytics in the Agentic AI Era —— 
Register Now
-        //         </p>
-        //     </Link>
-        // ),
+        event: (
+            <Link
+                to={'https://forms.gle/7RKm6CGSNhdW8ZnK9'}
+                style={{ background: 'linear-gradient(0deg, 
var(--Doris-Green-Doris-green-50, #F0FFF7) 0%, 
var(--Doris-Green-Doris-green-50, #F0FFF7) 100%), #FFF', textDecoration: 'none' 
}}
+                className="lg:rounded-full rounded-[1.625rem] mb-8 text-center 
group lg:w-[45rem] mx-auto lg:flex-row flex-col flex py-4 px-[2.25rem] 
items-center justify-center"
+            >
+                <div className="lg:mb-0 mb-4 flex items-center">
+                    <HomeEventStarIcon className="text-primary"/>
+                    <span className="ml-[3px] group-hover:text-primary 
font-bold text-[#11A679] text-[0.875rem]/[1rem]">
+                        NEW
+                    </span>
+                </div>
+                <p className="lg:ml-[0.75rem] group-hover:text-primary 
text-[1rem]/[1rem] text-[#000]">
+                    Help Shape the Future of Apache Doris: 2026 User Survey
+                </p>
+            </Link>
+        ),
         bannerImg: require('@site/static/images/home-banner.png').default,
         buttons,
     };
@@ -407,7 +402,7 @@ export default function Home(): JSX.Element {
                 message:
                     'Apache Doris is an open-source database based on MPP 
architecture,with easier use and higher performance.  As a modern data 
warehouse, apache doris empowers your Olap query and database analytics.',
             })}
-            showAnnouncementBar={false}
+            showAnnouncementBar={true}
             keywords={translate({
                 id: 'homepage.keywords',
                 message: 'Open Source database, OLAP, data warehouse, database 
analytics',
diff --git a/src/theme/AnnouncementBar/Content/styles.module.css 
b/src/theme/AnnouncementBar/Content/styles.module.css
index 27a3b3aaa74..58034c4c2f2 100644
--- a/src/theme/AnnouncementBar/Content/styles.module.css
+++ b/src/theme/AnnouncementBar/Content/styles.module.css
@@ -10,7 +10,7 @@
 }
 
 .content a:active {
-  background-color: #3C2FD4;
+  background-color: linear-gradient(90deg, #1FCD94 0%, #11A679 100%), #FFF;
 }
 
 .content p:hover {
diff --git a/src/theme/AnnouncementBar/styles.module.css 
b/src/theme/AnnouncementBar/styles.module.css
index 3c7c6cb2f61..3c02196cdf4 100644
--- a/src/theme/AnnouncementBar/styles.module.css
+++ b/src/theme/AnnouncementBar/styles.module.css
@@ -7,7 +7,7 @@
     align-items: center;
     height: var(--docusaurus-announcement-bar-height);
     /* background: linear-gradient(0deg, rgba(247, 249, 254, 0.8) 0%, 
rgba(247, 249, 254, 0.8) 100%), #fff; */
-    background: linear-gradient(89deg, #9748FF 0.05%, #471CF0 74.19%);
+    background: linear-gradient(90deg, #1FCD94 0%, #11A679 100%), #FFF;
     color: var(--ifm-color-black);
 
     /*
diff --git a/static/images/navbar-star-white.svg 
b/static/images/navbar-star-white.svg
new file mode 100644
index 00000000000..59788b4ed01
--- /dev/null
+++ b/static/images/navbar-star-white.svg
@@ -0,0 +1,10 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" 
xmlns="http://www.w3.org/2000/svg";>
+<g clip-path="url(#clip0_364_1467)">
+<path d="M7.57904 0L9.51232 5.22461L14.7369 7.15789L9.51232 9.09118L7.57904 
14.3158L5.64576 9.09118L0.421143 7.15789L5.64576 5.22461L7.57904 0Z" 
fill="white"/>
+</g>
+<defs>
+<clipPath id="clip0_364_1467">
+<rect width="16" height="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to