diff --git a/docs-website/docusaurus.config.js b/docs-website/docusaurus.config.js index dc919ed249c56..3b2a37b198fd0 100644 --- a/docs-website/docusaurus.config.js +++ b/docs-website/docusaurus.config.js @@ -8,9 +8,7 @@ module.exports = { favicon: "img/favicon.ico", organizationName: "linkedin", // Usually your GitHub org/user name. projectName: "datahub", // Usually your repo name. - stylesheets: [ - "https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap", - ], + stylesheets: ["https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap"], themeConfig: { colorMode: { switchConfig: { @@ -72,6 +70,11 @@ module.exports = { label: "Roadmap", position: "right", }, + { + href: "http://metadataday.datahubproject.io/", + label: "Metadata Day 2022", + position: "right", + }, { href: "https://slack.datahubproject.io", "aria-label": "Slack", @@ -200,10 +203,7 @@ module.exports = { ], ], plugins: [ - [ - "@docusaurus/plugin-ideal-image", - { quality: 100, sizes: [320, 640, 1280, 1440, 1600] }, - ], + ["@docusaurus/plugin-ideal-image", { quality: 100, sizes: [320, 640, 1280, 1440, 1600] }], "docusaurus-plugin-sass", [ "docusaurus-graphql-plugin", diff --git a/docs-website/src/components/Hero.js b/docs-website/src/components/Hero.js index 7559c8b1f3061..2bf463270ab34 100644 --- a/docs-website/src/components/Hero.js +++ b/docs-website/src/components/Hero.js @@ -10,39 +10,37 @@ import RoundedImage from "./RoundedImage"; const Hero = ({}) => (
+
+ + 🎉  May 17th & 18th 2020: Metadata Day, Governance as Code. Join us for expert panel discussions, lightning talks, + and our inaugural Hackathon! + + + + RSVP Here → + +
+
-

- The Metadata Platform for the Modern Data Stack -

+

The Metadata Platform for the Modern Data Stack

- Data ecosystems are diverse — too diverse. DataHub's - extensible metadata platform enables data discovery, data - observability and federated governance that helps you tame this - complexity. + Data ecosystems are diverse — too diverse. DataHub's extensible metadata platform enables data discovery, data observability and + federated governance that helps you tame this complexity.

- + Get Started → - + Join our Slack
- +
diff --git a/docs-website/src/styles/global.scss b/docs-website/src/styles/global.scss index 20b0a2ed95729..ad86e19b4b62c 100644 --- a/docs-website/src/styles/global.scss +++ b/docs-website/src/styles/global.scss @@ -95,7 +95,7 @@ div[class^="announcementBarContent"] { } } -@media only screen and (max-width: 1050px) { +@media only screen and (max-width: 1245px) { .navbar__toggle { display: inherit; } diff --git a/docs-website/src/styles/hero.module.scss b/docs-website/src/styles/hero.module.scss index 3873af29a3017..19bb893e28455 100644 --- a/docs-website/src/styles/hero.module.scss +++ b/docs-website/src/styles/hero.module.scss @@ -12,5 +12,22 @@ .button { margin-right: 1rem; } + .hero__alert { + margin-bottom: 2rem; + @media (min-width: 690px) { + display: flex; + align-items: center; + justify-content: space-between; + } + .button { + text-decoration: none; + margin: 0.5rem 0 0 0; + display: block; + white-space: nowrap; + @media (min-width: 690px) { + margin: 0 0 0 0.5rem; + } + } + } } }