Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docs-site) datahub homepage v2 #11342

Merged
merged 80 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
28f3ded
fix: add cloud form
yoonhyejin Aug 9, 2024
3c3ed4e
fix: fix nitpick styling
yoonhyejin Aug 9, 2024
cd2fac5
fix: fix form style
yoonhyejin Aug 12, 2024
adb2007
Merge branch 'master' into docs/add-cloud-form
yoonhyejin Sep 4, 2024
7b43603
feat: add revenuehero script
yoonhyejin Sep 4, 2024
0d3d10b
fix: add padding for name fields
yoonhyejin Sep 4, 2024
fd48d5e
fix: reduce margin
yoonhyejin Sep 4, 2024
ab750fb
fix: add error border
yoonhyejin Sep 4, 2024
8a7b9c9
polishes
jayacryl Sep 4, 2024
8a9a873
fix: remove markers & indentation for error msgs
yoonhyejin Sep 5, 2024
942df54
feat(docs-site) datahub homepage v2
jayacryl Sep 10, 2024
aac2072
Merge branch 'master' into datahub-homepage-2
jayacryl Sep 10, 2024
228b6c7
nit
jayacryl Sep 10, 2024
008a19a
polishes to hero
jayacryl Sep 10, 2024
b03a16a
more polishes for key pages
jayacryl Sep 10, 2024
603929c
more polishes
jayacryl Sep 10, 2024
dfa65e9
nit padding
jayacryl Sep 10, 2024
41b11ab
final nit
jayacryl Sep 10, 2024
02d31f7
hero polish
jayacryl Sep 10, 2024
1bb4b17
notion touchup
jayacryl Sep 10, 2024
d45bc0f
more polish
jayacryl Sep 10, 2024
8f188c5
Merge branch 'master' into datahub-homepage-2
jayacryl Sep 10, 2024
d1bde5e
more polishes
jayacryl Sep 11, 2024
4e0e972
more polishes
jayacryl Sep 11, 2024
7a799ae
added a link
jayacryl Sep 11, 2024
3d7b8a0
cleaned up logos
jayacryl Sep 11, 2024
6a72f73
social media section
jayacryl Sep 11, 2024
577c8f6
polished social
jayacryl Sep 11, 2024
9b422ce
nit
jayacryl Sep 11, 2024
6f9db25
more nit
jayacryl Sep 11, 2024
8b1c9c2
lint fix
jayacryl Sep 11, 2024
e341af6
more social videos
jayacryl Sep 12, 2024
d49b398
feat: slack section web UI (#11365)
sumitappt Sep 12, 2024
a48eed7
nit
jayacryl Sep 12, 2024
4707bcf
more polishes
jayacryl Sep 12, 2024
976731a
responsiveness
jayacryl Sep 12, 2024
e88c63b
more polish
jayacryl Sep 12, 2024
753c7f6
build fixes
jayacryl Sep 12, 2024
d672dac
nit
jayacryl Sep 12, 2024
a62146b
add in place scroll for quickstart content, add animation to progress…
kushagra-apptware Sep 12, 2024
45163c6
animations
jayacryl Sep 12, 2024
e4c6623
higher count
jayacryl Sep 12, 2024
23922c4
social polish
jayacryl Sep 12, 2024
182d9dd
polishes
jayacryl Sep 12, 2024
7029732
nit
jayacryl Sep 12, 2024
61a3132
more polishes
jayacryl Sep 12, 2024
0426435
polish
jayacryl Sep 12, 2024
86361ca
more polish
jayacryl Sep 12, 2024
202aaa8
more polish
jayacryl Sep 12, 2024
f3d75a1
more reliable video section
jayacryl Sep 16, 2024
835faab
important
jayacryl Sep 16, 2024
978509d
animation polishes
jayacryl Sep 16, 2024
0aec4ca
text animation update for the header component. (#11372)
kushagra-apptware Sep 16, 2024
b76623f
better animations
jayacryl Sep 16, 2024
ad42c50
some polishes
jayacryl Sep 16, 2024
b794278
fixed links
jayacryl Sep 16, 2024
32276e9
animation fix
jayacryl Sep 16, 2024
616098b
better social section spacing
jayacryl Sep 16, 2024
f0b56f6
hero polish
jayacryl Sep 16, 2024
a9e6c36
Merge branch 'master' into datahub-homepage-2
jayacryl Sep 16, 2024
c0d29b2
several more polishes
jayacryl Sep 16, 2024
dcbe2bc
more touch ups
jayacryl Sep 16, 2024
317adf4
new hero
jayacryl Sep 16, 2024
02f746f
Add Carousel for Case Study Section (#11396)
kushagra-apptware Sep 17, 2024
a8c9dba
polishes to adoption stories
jayacryl Sep 17, 2024
2bda8af
hero mobile
jayacryl Sep 17, 2024
cbd06be
mobile site for solutions and quote section
jayacryl Sep 17, 2024
c7dc367
architecture section responsiveness
jayacryl Sep 17, 2024
ddbaf57
remaining mobile sections done
jayacryl Sep 17, 2024
6a1483a
social media mobile section
jayacryl Sep 17, 2024
eb50a20
community polish
jayacryl Sep 17, 2024
a2540f6
case studies polish
jayacryl Sep 17, 2024
659e4d8
shorter nav bar
jayacryl Sep 17, 2024
a4683e0
updated meta tags
jayacryl Sep 17, 2024
197301c
a new title
jayacryl Sep 17, 2024
902ce38
nit
jayacryl Sep 17, 2024
89fc3b0
addressed comments
jayacryl Sep 18, 2024
ea83d39
more polishes
jayacryl Sep 18, 2024
4c92dd2
more polishes
jayacryl Sep 18, 2024
ed4d62b
mobile fix
jayacryl Sep 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs-website/adoptionStoriesIndexes.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
{
"name": "Optum",
"slug": "optum",
"imageUrl": "/img/logos/companies/optum.jpg",
"imageUrl": "/img/logos/companies/optum.png",
"imageSize": "medium",
"link": "https://opensource.optum.com/blog/2022/03/23/data-mesh-via-datahub",
"linkType": "blog",
Expand Down
22 changes: 11 additions & 11 deletions docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const isSaas = process.env.DOCUSAURUS_IS_SAAS === "true";

module.exports = {
title: process.env.DOCUSAURUS_CONFIG_TITLE || "DataHub",
tagline: "A Metadata Platform for the Modern Data Stack",
tagline: "The #1 Open Source Metadata Platform",
url: process.env.DOCUSAURUS_CONFIG_URL || "https://datahubproject.io",
baseUrl: process.env.DOCUSAURUS_CONFIG_BASE_URL || "/",
onBrokenLinks: "throw",
Expand Down Expand Up @@ -55,16 +55,16 @@ module.exports = {
},

themeConfig: {
...(!isSaas && {
announcementBar: {
id: "announcement",
content:
'<div><img src="/img/acryl-logo-white-mark.svg" /><p><strong>DataHub Cloud</strong><span> &nbsp;Acryl Data delivers an easy to consume DataHub platform for the enterprise</span></p></div> <a href="https://www.acryldata.io/datahub-sign-up?utm_source=datahub&utm_medium=referral&utm_campaign=acryl_signup" target="_blank" class="button button--primary">Sign Up for DataHub Cloud&nbsp;→</a>',
backgroundColor: "#070707",
textColor: "#ffffff",
isCloseable: false,
},
}),
// ...(!isSaas && {
// announcementBar: {
// id: "announcement",
// content:
// '<div><img src="/img/acryl-logo-white-mark.svg" /><p><strong>DataHub Cloud</strong><span> &nbsp;Acryl Data delivers an easy to consume DataHub platform for the enterprise</span></p></div> <a href="https://www.acryldata.io/datahub-sign-up?utm_source=datahub&utm_medium=referral&utm_campaign=acryl_signup" target="_blank" class="button button--primary">Sign Up for DataHub Cloud&nbsp;→</a>',
// backgroundColor: "#070707",
// textColor: "#ffffff",
// isCloseable: false,
// },
// }),
navbar: {
title: null,
logo: {
Expand Down
1 change: 1 addition & 0 deletions docs-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"docusaurus-graphql-plugin": "0.5.0",
"docusaurus-plugin-sass": "^0.2.1",
"dotenv": "^16.0.1",
"framer-motion": "^11.5.4",
"markdown-link-check": "^3.11.2",
"markprompt": "^0.1.7",
"react": "^18.2.0",
Expand Down
209 changes: 209 additions & 0 deletions docs-website/src/pages/_components/CaseStudy/case-study.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
.container {
display: flex;
flex-direction: column;
background: #F4F4F5;
font-family: "Manrope";
}
.case_study {
display: flex;
flex-direction: column;
width: 100vw;
margin: 5rem auto;

.case_study_heading {
text-align: center;
font-family: "Manrope";

div {
font-size: 2.5rem;
line-height: normal;
}
p {
font-size: 1.25rem;
margin-top: 10px;
}
}

.card_row::-webkit-scrollbar {
display: none;
}
.card_row {
margin-top: 8px;
overflow-x: scroll;
width: 100vw;
scrollbar-width: none;
display: flex;

.card_row_wrapper {
display: flex;
flex-direction: row;
align-items: center;
padding: 0 10vw;
flex: 1;
}
.cardLink {
color: #000;

&:hover {
text-decoration: none;
}
}

.card {
display: flex !important;
flex-shrink: 0;
justify-content: space-between;
flex-direction: column;
position: relative;
width: 340px !important;
height: 320px !important;
border-radius: 24px;
background: white;
padding: 8px;
margin-right: 20px;
transition: box-shadow .2s ease-in-out;
transition: opacity .2s ease-in-out;

&:hover {
box-shadow: 0px 0px 4px 0px #0000001C;
opacity: .9;
}

.card_image {
width: 100%;
height: 14rem;

border-radius: 16px;
display: flex;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
background-color: #25252e;

img {
object-fit: center;
max-width: 40%;
max-height: 40%;
z-index: 10;
filter: brightness(2);
opacity: .9;
}
.cardImageBackground {
position: absolute;
height: 100%;
width: 100%;
z-index: 0;
background-size: cover;
opacity: .15;
}
}

.card_tag {
position: absolute;
right: 1.2rem;
top: 1.2rem;
background-color: #edf2ff80;
color: #FFF;
font-size: 0.75rem;
font-family: 'Manrope';
font-weight: 600;
padding: 0.1rem 0.5rem;
border-radius: 0.5rem;
z-index: 10;
}
.card_heading_div {
text-align: start;
padding: 12px;

.card_heading {
font-family: "Manrope";
font-size: 1.1rem;
font-weight: 600;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-bottom: 2px;
}
.card_para {
font-size: .9rem;
line-height: normal;
display: -webkit-box;
line-clamp: 2;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
opacity: .75;
}
}
}
}

.bottom_line {
cursor: pointer;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
color: #12b0fb;
font-size: 1.1rem;
font-weight: 500;
margin-top: 50px;
margin-bottom: 10px;

span {
line-height: 10px;
font-size: 1.5rem;
margin-left: 10px;
}
}
}

@media (max-width: 800px) {
.case_study {
.case_study_heading {
text-align: center;
font-family: "Manrope";

div {
width: 70%;
margin: auto;
font-size: 2rem;
line-height: normal;
font-weight: 400;
}
p {
width: 60%;
margin: auto;
font-size: 1.1rem;
line-height: 1.5rem;
margin-top: 12px;
}
}

.card_row {
margin-top: 24px;

.card_row_wrapper {
padding: 0 5vw;
}
}

.bottom_line {
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #12b0fb;
font-size: 1.1rem;
font-weight: 500;
margin-top: 50px;
margin-bottom: 10px;

span {
font-size: 1.5rem;
}
}
}
}
74 changes: 74 additions & 0 deletions docs-website/src/pages/_components/CaseStudy/caseStudyContent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
const caseStudyData = [
{
title: "Enhancing Extensibility",
description:
"How Netflix is Collaborating with DataHub to Enhance its Extensibility.",
tag: "Technology",
backgroundImage:
"https://miro.medium.com/v2/resize:fit:1400/format:webp/1*iUnFujzVqMBpK41z32-Ctw.png",
image: "https://datahubproject.io/img/logos/companies/netflix.png",
link: "https://datahubproject.io/adoption-stories/#netflix",
},
{
title: "Scaling Data Governance",
description:
"How VISA Uses DataHub to Scale Data Governance.",
tag: "Finance",
backgroundImage:
"https://miro.medium.com/v2/resize:fit:2000/format:webp/1*mtC4j8J-jumJKWg8RuR6xQ@2x.png",
image: "https://datahubproject.io/img/logos/companies/visa.png",
link: "https://datahubproject.io/adoption-stories/#visa",
},
{
title: "Ensuring Data Reliability",
description:
"How Notion Uses DataHub Cloud to Ensure Data Reliability.",
tag: "Technology",
backgroundImage:
"https://www.notion.so/cdn-cgi/image/format=webp,width=1920/front-static/pages/product/super-duper/hero-illo.png",
image: "https://boost.space/wp-content/uploads/2023/08/notion.png",
link: "https://datahubproject.io/adoption-stories/#notion",
},
{
title: "Working with Petabyte Scale Healthcare Data",
description:
"Enabling the Data Mesh via DataHub to do work on some of healthcare’s more impactful problems.",
tag: "Healthcare",
backgroundImage:
"https://opensource.optum.com/static/images/mesh-overview-e26ea2aaa8d3dbb1f1771b50f4e31449.png",
image: "/img/logos/companies/optum.png",
link: "https://datahubproject.io/adoption-stories/#optum",
},
{
title: "Exploring Airtel's shift to a decentralized data architecture.",
description:
"Discover how DataHub has become integral to Airtel's datamesh architecture.",
tag: "Telecommunications",
backgroundImage:
"https://upload.wikimedia.org/wikipedia/commons/3/3a/Airtel_logo-01.png",
image: "/img/logos/companies/airtel.png",
link: "https://datahubproject.io/adoption-stories/#airtel",
},
{
title: "Leveling Up Data Management.",
description:
"DataHub's role in improving data management, tracing data lineage, and ensuring quality.",
tag: "Gaming",
backgroundImage:
"https://upload.wikimedia.org/wikipedia/en/thumb/7/7b/Zynga.svg/1200px-Zynga.svg.png",
image: "/img/logos/companies/zynga.png",
link: "https://datahubproject.io/adoption-stories/#zynga",
},
{
title: "And many more...",
description:
"See our adoption stories page for more.",
tag: "",
backgroundImage:
"",
image: "",
link: "https://datahubproject.io/adoption-stories/",
},
];

export default caseStudyData;
54 changes: 54 additions & 0 deletions docs-website/src/pages/_components/CaseStudy/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import React from "react";
import styles from "./case-study.module.scss";
import Link from '@docusaurus/Link'
import { Carousel } from "antd";
import caseStudyData from "./caseStudyContent";


const CaseStudy = () => {
return (
<div className={styles.container}>
{/* Section-1 */}
<div className={styles.case_study}>
<div className={styles.case_study_heading}>
<div>See how industry leaders use Datahub</div>
<p>Across finance, healthcare, e-commerce, and countless more.</p>
</div>

<div className={styles.card_row}>
<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 : {
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="" />
<div className={styles.cardImageBackground} style={{ backgroundImage: `url(${caseStudy.backgroundImage})` }} />
</div>
<div className={styles.card_heading_div}>
<div className={styles.card_heading}>
<span>{caseStudy.title}</span>
</div>
<div
className={styles.card_para}
dangerouslySetInnerHTML={{
__html: caseStudy.description,
}}
/>
</div>
</a>
</div>
))}
</div>
</div>
<Link className={styles.bottom_line} to="/adoption-stories">
See all adoption stories →
</Link>
</div>
</div>
);
};

export default CaseStudy;
Loading
Loading