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 8f44f14392d feat:add a new event (#2218)
8f44f14392d is described below
commit 8f44f14392dbf303557426698fb03e666f69e68c
Author: yangon <[email protected]>
AuthorDate: Fri Mar 21 15:10:42 2025 +0800
feat:add a new event (#2218)
---
docusaurus.config.js | 4 ++--
src/pages/events/index.tsx | 42 +++++++++++++++++++++++++++++++-------
src/pages/index.tsx | 6 +++---
static/images/events/event-2.jpeg | Bin 0 -> 128508 bytes
4 files changed, 40 insertions(+), 12 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 8e2ae15a9d1..0a825609dff 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -204,10 +204,10 @@ const config = {
},
announcementBar: {
id: 'join_us',
- content: `<a
href="https://www.linkedin.com/events/7303775032810356736/comments/"
target="_blank" style="display:flex; width: 100%; align-items: center;
justify-content: center; margin-left: 4px; text-decoration: none;">
+ content: `<a
href="https://www.velodb.io/events/apache-doris-compute-storage-decoupled-mode-and-velo-db-cloud-demo"
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</span>
- <span>Join us live on March 20 to deep dive into the Apache
Doris 2025 Roadmap !</span>
+ <span>Join us for a live webinar to explore Apache Doris'
compute-storage decoupled mode and get a hands-on demo</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>`,
textColor: '#4C576C',
diff --git a/src/pages/events/index.tsx b/src/pages/events/index.tsx
index 97ca8730e8d..905167e9569 100644
--- a/src/pages/events/index.tsx
+++ b/src/pages/events/index.tsx
@@ -19,6 +19,7 @@ interface Event {
cardDate: string;
img: React.ReactElement;
link: string;
+ isCover?: boolean;
}
const EVENTS_PAGE_DATA = {
@@ -32,6 +33,27 @@ const EVENTS_PAGE_DATA = {
},
},
eventList: [
+ {
+ cardTitle: 'Explore Apache Doris Compute-Storage Decoupled Mode',
+ detailTitle: 'Explore Apache Doris Compute-Storage Decoupled Mode',
+ tag: 'Apache Doris Webinar',
+ date: 'March 27, 2025 21:00-22:00 GMT+8',
+ cardDate: 'March 27, 2025',
+ address: 'Virtual',
+ description: 'Apache Doris PMC Chair will dive deep into the
compute-storage decoupled mode of Doris',
+ status: 'Upcoming',
+ img: (
+ <img
+ alt="cover img"
+ width={384}
+ height={164}
+ className='rounded-t-lg'
+
src={`${require('@site/static/images/events/event-2.jpeg').default}`}
+ />
+ ),
+ isCover: true,
+ link:
'https://www.velodb.io/events/apache-doris-compute-storage-decoupled-mode-and-velo-db-cloud-demo',
+ },
{
cardTitle: 'Interpreting 2025 Roadmap',
detailTitle: 'Interpreting the Apache Doris 2025 Roadmap',
@@ -70,14 +92,20 @@ export default function Events() {
style={{ transition: 'all 0.2s ease-in-out' }}
className="!no-underline w-[24rem] rounded-lg
hover:translate-y-[-0.5rem]"
>
- <div className="relative h-[10.25rem] rounded-t-lg
bg-[#162033] text-[#FFF] pt-[1.625rem] px-4">
- <div className="absolute right-2 bottom-4">{data.img}</div>
- <span className="">{data.tag}</span>
- <div className="mb-[0.675rem] text-[1.25rem]/[155%]
font-meidum tracking-[0.8px]">
- {data.cardTitle}
+ {data.isCover ? (
+ // <img alt='cover img' width={384} height={164}
src={data.img} />
+ data.img
+ ) : (
+ <div className="relative h-[10.25rem] rounded-t-lg
bg-[#162033] text-[#FFF] pt-[1.625rem] px-4">
+ <div className="absolute right-2
bottom-4">{data.img}</div>
+ <span className="">{data.tag}</span>
+ <div className="mb-[0.675rem] text-[1.25rem]/[155%]
font-meidum tracking-[0.8px]">
+ {data.cardTitle}
+ </div>
+ <span className="text-[0.75rem]">{data.cardDate}</span>
</div>
- <span className="text-[0.75rem]">{data.cardDate}</span>
- </div>
+ )}
+
<div className="border-r rounded-b-lg border-l border-b
border-[#DFE5F0] p-6">
<div
style={{ color: `${STATUS_COLOR_MAP[data.status]}` }}
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 896ce476d6e..16ef0bd6656 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -70,7 +70,7 @@ export default function Home(): JSX.Element {
),
event: (
<Link
-
to={'https://www.linkedin.com/events/7303775032810356736/comments/'}
+
to={'https://www.velodb.io/events/apache-doris-compute-storage-decoupled-mode-and-velo-db-cloud-demo'}
style={{ background: 'linear-gradient(0deg, #F7F9FE 0%,
#F7F9FE 100%), #FFF', textDecoration: 'none' }}
onMouseEnter={() => {
document.getElementById('event-star-icon').firstChild.style.fill = '#444FD9';
@@ -78,7 +78,7 @@ export default function Home(): JSX.Element {
onMouseLeave={() => {
document.getElementById('event-star-icon').firstChild.style.fill = '#636CDF';
}}
- className="lg:rounded-full rounded-[1.625rem] mb-8 text-center
group lg:w-[46.375rem] mx-auto lg:flex-row flex-col flex py-4 px-[2.25rem]
items-center justify-center"
+ className="lg:rounded-full rounded-[1.625rem] mb-8 text-center
group lg:w-[51rem] 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" />
@@ -87,7 +87,7 @@ export default function Home(): JSX.Element {
</span>
</div>
<p className="lg:ml-[0.75rem] group-hover:text-[#444FD9]
text-[1rem]/[1rem] text-[#000]">
- Join us live on March 20 to deep dive into the Apache
Doris 2025 Roadmap !
+ Join our live webinar to discover Doris' compute-storage
decoupled mode with a demo !
</p>
</Link>
),
diff --git a/static/images/events/event-2.jpeg
b/static/images/events/event-2.jpeg
new file mode 100644
index 00000000000..14af6eabb38
Binary files /dev/null and b/static/images/events/event-2.jpeg differ
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]