Skip to content

Commit

Permalink
fix: adjsut swiper design
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonhyejin committed Jul 25, 2024
1 parent 998f6ef commit 88036b6
Show file tree
Hide file tree
Showing 10 changed files with 411 additions and 439 deletions.
2 changes: 1 addition & 1 deletion docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module.exports = {
},
{
href: "/docs/what-is-datahub/customer-stories",
label: "Customer Stories",
label: "Adoption Stories",
},
{
href: "https://www.youtube.com/playlist?list=PLdCtLs64vZvErAXMiqUYH9e63wyDaMBgg",
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;
}
40 changes: 0 additions & 40 deletions docs-website/src/pages/_components/Hero/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ 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 { CompanyLogos } from "../Logos";
import { Section } from "../Section";

const HeroAnnouncement = ({ message, linkUrl, linkText }) => (
Expand Down Expand Up @@ -52,44 +50,6 @@ const Hero = ({}) => {
<TownhallButton />
</div>
</div>
<Section title="Trusted Across the Industry">
<CompanyLogos />
<div style={{ textAlign: "center" }}>
<Link
className="button button--secondary button--md"
to={useBaseUrl("docs/what-is-datahub/customer-stories")}
>
Check Out Adoption Stories →
</Link>
</div>
</Section>
<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

0 comments on commit 88036b6

Please sign in to comment.