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

docs: Refactor customer stories section #10869

Merged
merged 23 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5b40276
feat: Refactor customer stories section
yoonhyejin Jul 5, 2024
5cb4d6f
fix: fix customer logo alignment and make responsive (#10962)
jeffmerrick Jul 24, 2024
998f6ef
Merge branch 'master' into docs/customer-stories-refactor
yoonhyejin Jul 24, 2024
88036b6
fix: adjsut swiper design
yoonhyejin Jul 25, 2024
d24e2c4
fix: fix CTA link
yoonhyejin Jul 25, 2024
2ce85cb
Merge branch 'master' into docs/customer-stories-refactor
yoonhyejin Jul 25, 2024
bccf7f3
style: Fix yarnlint
yoonhyejin Jul 25, 2024
a741dc8
feat: init customer stories page
yoonhyejin Jul 25, 2024
296ed67
fix: remove blog-related components
yoonhyejin Jul 25, 2024
5938e3d
fix: fix link
yoonhyejin Jul 25, 2024
b04b69c
feat: add descriotions & images for adoption stories
yoonhyejin Jul 26, 2024
99c6ad4
fix: modify descriptions
yoonhyejin Jul 26, 2024
8f0e534
feat: add ids for card
yoonhyejin Jul 26, 2024
aa55bf1
feat: update description
yoonhyejin Jul 29, 2024
e0f2c85
fix: update descipriton & delete customcards
yoonhyejin Jul 29, 2024
b9ffe6b
fix: add missing logos & fix texts
yoonhyejin Aug 1, 2024
d27b819
fix: fix logos & orders
yoonhyejin Aug 2, 2024
aadf03a
fix: fix scrollintoview action
yoonhyejin Aug 2, 2024
a5a4ff5
fix: dummy commit to trigger ci
yoonhyejin Aug 6, 2024
75464cd
fix: delete img
yoonhyejin Aug 6, 2024
ca1d677
fix: add customercard section
yoonhyejin Aug 6, 2024
266619d
Merge branch 'master' into docs/customer-stories-refactor
yoonhyejin Aug 6, 2024
288b81d
fix: add browseronly
yoonhyejin Aug 6, 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
4 changes: 2 additions & 2 deletions docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ module.exports = {
label: "YouTube",
},
{
href: "https://www.youtube.com/playlist?list=PLdCtLs64vZvGCKMQC2dJEZ6cUqWsREbFi",
label: "Case Studies",
href: "/docs/what-is-datahub/customer-stories",
label: "Adoption Stories",
},
{
href: "https://www.youtube.com/playlist?list=PLdCtLs64vZvErAXMiqUYH9e63wyDaMBgg",
Expand Down
1 change: 1 addition & 0 deletions docs-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"react-dom": "18.2.0",
"sass": "^1.43.2",
"swc-loader": "^0.2.6",
"swiper": "^11.1.4",
"uuid": "^9.0.0"
},
"browserslist": {
Expand Down
24 changes: 0 additions & 24 deletions docs-website/src/pages/_components/CardCTAs/cardCTAs.module.scss

This file was deleted.

52 changes: 0 additions & 52 deletions docs-website/src/pages/_components/CardCTAs/index.js

This file was deleted.

55 changes: 0 additions & 55 deletions docs-website/src/pages/_components/Hero/hero.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,58 +42,3 @@
}
}
}

.quickLinks {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem;
font-weight: bold;
margin-bottom: -2.5vh;
@media (min-width: 768px) {
flex-direction: row;
}

> * {
padding: 0.5rem 1rem;
display: inline-block;

@media (min-width: 768px) {
padding: 0 1rem;
}
}
}

.quickLinksLabel {
display: flex;
align-items: center;
svg {
width: 24px;
height: 24px;
color: var(--ifm-text-color) !important;
margin-right: 0.5rem;
}
}

.quickstartContent {
text-align: center;
padding: 2rem 0;
height: 100%;
margin: 2rem 0;
background: #34394d;
border-radius: var(--ifm-card-border-radius);
}

.quickstartTitle {
color: #fafafa;
}

.quickstartSubtitle {
font-size: 1.1rem;
color: gray;
}

.quickstartCodeblock {
text-align: left;
padding: 0 20vh;
}
29 changes: 1 addition & 28 deletions docs-website/src/pages/_components/Hero/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { useColorMode } from "@docusaurus/theme-common";
import { QuestionCircleOutlined } from "@ant-design/icons";
import styles from "./hero.module.scss";
import CodeBlock from "@theme/CodeBlock";
import CardCTAs from "../CardCTAs";
import TownhallButton from "../TownhallButton";
import { Section } from "../Section";

const HeroAnnouncement = ({ message, linkUrl, linkText }) => (
<div className={clsx("hero__alert alert alert--primary", styles.hero__alert)}>
Expand Down Expand Up @@ -50,33 +50,6 @@ const Hero = ({}) => {
<TownhallButton />
</div>
</div>
<CardCTAs />
<div className={styles.quickstartContent}>
<h1 className={styles.quickstartTitle}>Get Started Now</h1>
<p className={styles.quickstartSubtitle}>Run the following command to get started with DataHub.</p>
<div className={styles.quickstartCodeblock}>
<CodeBlock className={"language-shell"}>
python3 -m pip install --upgrade pip wheel setuptools <br />
python3 -m pip install --upgrade acryl-datahub <br />
datahub docker quickstart
</CodeBlock>
</div>
<Link className="button button--primary button--md" to={useBaseUrl("docs/quickstart")}>
DataHub Quickstart Guide
</Link>
<Link className="button button--secondary button--md" to={useBaseUrl("docs/deploy/kubernetes")}>
Deploying With Kubernetes
</Link>
</div>
<div className={clsx("card", styles.quickLinks)}>
<div className={styles.quickLinksLabel}>
<QuestionCircleOutlined />
Learn
</div>
<Link to={useBaseUrl("docs/")}>What is DataHub?</Link>
<Link to={useBaseUrl("docs/architecture/architecture")}>How is DataHub architected?</Link>
<Link to="https://demo.datahubproject.io">See DataHub in action</Link>
</div>
</div>
</header>
);
Expand Down
Loading
Loading