mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-04 14:44:02 +00:00
fix(docs-site) improvements to home page (#11783)
This commit is contained in:
parent
1f02c84480
commit
e53a54edcb
@ -20,6 +20,16 @@
|
||||
"category": "Financial & Fintech",
|
||||
"description": "<i>\"We found DataHub to provide excellent coverage for our needs. What we appreciate most about DataHub is <b>its powerful API platform.</b>\"<br /><br /><div style='color: gray;'>— Jean-Pierre Dijcks, Sr. Dir. Product Management at VISA</div></i><br />"
|
||||
},
|
||||
{
|
||||
"name": "Apple",
|
||||
"slug": "apple",
|
||||
"link": "https://youtu.be/5eFZuzG4c-s?feature=shared",
|
||||
"linkType": "video",
|
||||
"tagline": "How Apple built a solid foundation for observability, governance, and data sharing with DataHub",
|
||||
"category": "B2B & B2C",
|
||||
"platform": "cloud",
|
||||
"description": "Discover how DataHub provides a solid foundation for observability, governance, and data sharing, while we explore its role in managing AI and data metadata."
|
||||
},
|
||||
{
|
||||
"name": "Notion",
|
||||
"slug": "notion",
|
||||
|
||||
@ -66,9 +66,9 @@ module.exports = {
|
||||
// },
|
||||
// }),
|
||||
announcementBar: {
|
||||
id: "announcement-2",
|
||||
id: "announcement-3",
|
||||
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>Join us at Metadata & AI Summit, Oct. 29 & 30!</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<span> →</span></a></div>',
|
||||
'<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>Watch Metadata & AI Summit sessions on-demand.</p><a href="https://www.youtube.com/@DataHubProject/videos" target="_blank" class="button">Watch Now<span> →</span></a></div>',
|
||||
backgroundColor: "#111",
|
||||
textColor: "#ffffff",
|
||||
isCloseable: false,
|
||||
|
||||
@ -48,6 +48,7 @@
|
||||
"markprompt": "^0.1.7",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-use-draggable-scroll": "^0.4.7",
|
||||
"sass": "^1.43.2",
|
||||
"swc-loader": "^0.2.6",
|
||||
"swiper": "^11.1.4",
|
||||
|
||||
@ -42,6 +42,9 @@
|
||||
flex: 1;
|
||||
}
|
||||
.cardLink {
|
||||
user-select: none;
|
||||
-webkit-user-drag: none;
|
||||
|
||||
color: #000;
|
||||
|
||||
&:hover {
|
||||
@ -88,6 +91,8 @@
|
||||
z-index: 10;
|
||||
filter: brightness(2);
|
||||
opacity: .9;
|
||||
user-select: none;
|
||||
-webkit-user-drag: none;
|
||||
}
|
||||
.cardImageBackground {
|
||||
position: absolute;
|
||||
|
||||
@ -9,6 +9,16 @@ const caseStudyData = [
|
||||
image: "https://datahubproject.io/img/logos/companies/netflix.png",
|
||||
link: "https://datahubproject.io/adoption-stories/#netflix",
|
||||
},
|
||||
{
|
||||
title: "A Solid Foundation For Data and AI",
|
||||
description:
|
||||
"How Apple built a solid foundation for observability, governance, and data sharing with DataHub.",
|
||||
tag: "Technology",
|
||||
backgroundImage:
|
||||
"https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/Aerial_view_of_Apple_Park_dllu.jpg/2560px-Aerial_view_of_Apple_Park_dllu.jpg",
|
||||
image: "/img/logos/companies/apple_text.png",
|
||||
link: "https://datahubproject.io/adoption-stories/#apple",
|
||||
},
|
||||
{
|
||||
title: "Scaling Data Governance",
|
||||
description:
|
||||
|
||||
@ -1,11 +1,15 @@
|
||||
import React from "react";
|
||||
import React, { useRef } from "react";
|
||||
import styles from "./case-study.module.scss";
|
||||
import Link from '@docusaurus/Link'
|
||||
import { Carousel } from "antd";
|
||||
import { useDraggable } from "react-use-draggable-scroll";
|
||||
import caseStudyData from "./caseStudyContent";
|
||||
|
||||
|
||||
const CaseStudy = () => {
|
||||
const containerRef = useRef(null);
|
||||
|
||||
const { events } = useDraggable(containerRef);
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
{/* Section-1 */}
|
||||
@ -15,16 +19,16 @@ const CaseStudy = () => {
|
||||
<p>Across finance, healthcare, e-commerce, and countless more.</p>
|
||||
</div>
|
||||
|
||||
<div className={styles.card_row}>
|
||||
<div className={styles.card_row_wrapper} >
|
||||
<div className={styles.card_row} {...events} ref={containerRef}>
|
||||
<div className={styles.card_row_wrapper}>
|
||||
{caseStudyData.map((caseStudy) => (
|
||||
<div className={styles.card} key={caseStudy.link}>
|
||||
<a className={styles.cardLink} href={caseStudy.link} style={caseStudy.backgroundImage ? null : {
|
||||
<a draggable={false} className={styles.cardLink} href={caseStudy.link} style={caseStudy.backgroundImage ? null : {
|
||||
opacity: .5
|
||||
}}>
|
||||
{caseStudy.tag ? <span className={styles.card_tag}>{caseStudy.tag}</span> : null}
|
||||
<div className={styles.card_image} style={{ backgroundColor: caseStudy.backgroundImage ? null : '#eee' }}>
|
||||
<img src={caseStudy.image} alt="" />
|
||||
<img src={caseStudy.image} draggable={false} alt="" />
|
||||
<div className={styles.cardImageBackground} style={{ backgroundImage: `url(${caseStudy.backgroundImage})` }} />
|
||||
</div>
|
||||
<div className={styles.card_heading_div}>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
BIN
docs-website/static/img/logos/companies/apple_text.png
Normal file
BIN
docs-website/static/img/logos/companies/apple_text.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
@ -1827,7 +1827,7 @@
|
||||
"@docusaurus/theme-search-algolia" "2.4.3"
|
||||
"@docusaurus/types" "2.4.3"
|
||||
|
||||
"@docusaurus/react-loadable@5.5.2":
|
||||
"@docusaurus/react-loadable@5.5.2", "react-loadable@npm:@docusaurus/react-loadable@5.5.2":
|
||||
version "5.5.2"
|
||||
resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce"
|
||||
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==
|
||||
@ -9713,14 +9713,6 @@ react-loadable-ssr-addon-v5-slorber@^1.0.1:
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.10.3"
|
||||
|
||||
"react-loadable@npm:@docusaurus/react-loadable@5.5.2":
|
||||
version "5.5.2"
|
||||
resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce"
|
||||
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==
|
||||
dependencies:
|
||||
"@types/react" "*"
|
||||
prop-types "^15.6.2"
|
||||
|
||||
react-markdown@^8.0.6:
|
||||
version "8.0.7"
|
||||
resolved "https://registry.yarnpkg.com/react-markdown/-/react-markdown-8.0.7.tgz#c8dbd1b9ba5f1c5e7e5f2a44de465a3caafdf89b"
|
||||
@ -9835,6 +9827,11 @@ react-textarea-autosize@^8.3.2:
|
||||
use-composed-ref "^1.3.0"
|
||||
use-latest "^1.2.1"
|
||||
|
||||
react-use-draggable-scroll@^0.4.7:
|
||||
version "0.4.7"
|
||||
resolved "https://registry.yarnpkg.com/react-use-draggable-scroll/-/react-use-draggable-scroll-0.4.7.tgz#86e77caab921ca07b134e9e1d1bc1810aeee4916"
|
||||
integrity sha512-6gCxGPO9WV5dIsBaDrgUKBaac8CY07PkygcArfajijYSNDwAq0girDRjaBuF1+lRqQryoLFQfpVaV2u/Yh6CrQ==
|
||||
|
||||
react-waypoint@^10.3.0:
|
||||
version "10.3.0"
|
||||
resolved "https://registry.yarnpkg.com/react-waypoint/-/react-waypoint-10.3.0.tgz#fcc60e86c6c9ad2174fa58d066dc6ae54e3df71d"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user