mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 17:37:33 +00:00
feat(docs-site) brought back announcement banner (#11618)
This commit is contained in:
parent
d8ede691f0
commit
c834cdb0ab
@ -65,6 +65,14 @@ module.exports = {
|
||||
// isCloseable: false,
|
||||
// },
|
||||
// }),
|
||||
announcementBar: {
|
||||
id: "announcement-2",
|
||||
content:
|
||||
'<div style="display: flex; justify-content: center; align-items: center;width: 100%;"><!--img src="/img/acryl-logo-white-mark.svg" / --><div style="font-size: .8rem; font-weight: 600; background-color: white; color: #111; padding: 0px 8px; border-radius: 4px; margin-right:12px;">NEW</div><p><span>Join us at Metadata & AI Summit, Oct. 29 & 30!</span></p><a href="http://www.acryldata.io/conference?utm_source=datahub_web&utm_medium=metadata_ai_2024&utm_campaign=home_banner" target="_blank" class="button">Register →</a></div>',
|
||||
backgroundColor: "#111",
|
||||
textColor: "#ffffff",
|
||||
isCloseable: false,
|
||||
},
|
||||
colorMode: {
|
||||
// Only support light mode.
|
||||
defaultMode: 'light',
|
||||
|
||||
@ -44,7 +44,7 @@ function Home() {
|
||||
return !siteConfig.customFields.isSaas ? (
|
||||
<Layout
|
||||
title={siteConfig.tagline}
|
||||
description="DataHub is a data discovery application built on an extensible data catalog that helps you tame the complexity of diverse data ecosystems."
|
||||
description="DataHub is a metadata management platform, spaning data discovery, observability and governance. It helps you tame the complexity of diverse data ecosystems."
|
||||
>
|
||||
{isTourModalVisible ? (
|
||||
<div className="tourModal">
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
--ifm-navbar-item-padding-horizontal: 1rem;
|
||||
|
||||
/* Announcement Bar */
|
||||
--docusaurus-announcement-bar-height: 60px !important;
|
||||
--docusaurus-announcement-bar-height: 48px !important;
|
||||
|
||||
/* Rule */
|
||||
--ifm-hr-border-width: 1px 0 0 0;
|
||||
@ -141,8 +141,9 @@ div[class^="announcementBar"] {
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--ifm-button-color);
|
||||
color: #EFB300;
|
||||
text-decoration: none;
|
||||
font-size: 1rem
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user