Skip to content

Commit

Permalink
refactor(docs): simplify layout a bit more (#2716)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccerv1 authored Jan 8, 2025
1 parent 32d6e96 commit be9b7d4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 26 deletions.
2 changes: 1 addition & 1 deletion apps/docs/docs/guides/dagster/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ transform it, and load it into BigQuery. This quickstart guide will help you set
up our Dagster instance locally, with a [`duckdb`](http://duckdb.org/) backend,
in order to follow along with our tutorials in the next sections.

## Dagster Dashboard
## Check pipeline status

[https://dagster.opensource.observer](https://dagster.opensource.observer)

Expand Down
18 changes: 7 additions & 11 deletions apps/docs/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export const paths = {
troubleshoot: './projects/troubleshoot'
};

<h2>Most popular</h2>
:::tip
Open search with `/` , then `Tab` to search docs
:::

<div className="cards-container">
<a href={paths.getStarted} className="card">
Expand All @@ -36,17 +38,15 @@ export const paths = {
</a>
</div>

<h2>By use case</h2>

<div className="use-cases-container">
<div className="use-case-column">
<h3>For Data Scientists</h3>
<h3>For data scientists</h3>
<div className="use-case-cards">
<a href={paths.notebooks} className="mini-card">
<h3>Connect OSO to notebooks</h3>
</a>
<a href={paths.tutorials} className="mini-card">
<h3>See tutorials</h3>
<h3>Find a tutorial</h3>
</a>
<a href={paths.contributeModels} className="mini-card">
<h3>Contribute models</h3>
Expand All @@ -55,13 +55,13 @@ export const paths = {
</div>

<div className="use-case-column">
<h3>For Developers</h3>
<h3>For developers</h3>
<div className="use-case-cards">
<a href={paths.graphqlApi} className="mini-card">
<h3>Use the GraphQL API</h3>
</a>
<a href={paths.pipeline} className="mini-card">
<h3>View the entire pipeline</h3>
<h3>Check pipeline status</h3>
</a>
<a href={paths.connectData} className="mini-card">
<h3>Connect your data</h3>
Expand All @@ -85,10 +85,6 @@ export const paths = {
</div>
</div>

:::tip
Open search with `/` , then `Tab` to search docs
:::

<style>
{`
.cards-container, .use-cases-container {
Expand Down
22 changes: 8 additions & 14 deletions apps/docs/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ export const paths = {
troubleshoot: './docs/projects/troubleshoot'
};

<h1>Documentation</h1>
<h2>Most popular</h2>
:::tip
Open search with `/` , then `Tab` to search docs
:::

<div className="cards-container">
<a href={paths.getStarted} className="card">
Expand All @@ -37,17 +38,15 @@ export const paths = {
</a>
</div>

<h2>By use case</h2>

<div className="use-cases-container">
<div className="use-case-column">
<h3>For Data Scientists</h3>
<h3>For data scientists</h3>
<div className="use-case-cards">
<a href={paths.notebooks} className="mini-card">
<h3>Connect OSO to notebooks</h3>
</a>
<a href={paths.tutorials} className="mini-card">
<h3>See tutorials</h3>
<h3>Find a tutorial</h3>
</a>
<a href={paths.contributeModels} className="mini-card">
<h3>Contribute models</h3>
Expand All @@ -56,13 +55,13 @@ export const paths = {
</div>

<div className="use-case-column">
<h3>For Developers</h3>
<h3>For developers</h3>
<div className="use-case-cards">
<a href={paths.graphqlApi} className="mini-card">
<h3>Use the GraphQL API</h3>
</a>
<a href={paths.pipeline} className="mini-card">
<h3>View the entire pipeline</h3>
<h3>Check pipeline status</h3>
</a>
<a href={paths.connectData} className="mini-card">
<h3>Connect your data</h3>
Expand All @@ -71,7 +70,7 @@ export const paths = {
</div>

<div className="use-case-column">
<h3>For OSS Projects</h3>
<h3>For OSS projects</h3>
<div className="use-case-cards">
<a href={paths.addProject} className="mini-card">
<h3>Add your project</h3>
Expand All @@ -86,11 +85,6 @@ export const paths = {
</div>
</div>

:::tip
Open search with `/` , then `Tab` to search docs
:::


<style>
{`
.cards-container, .use-cases-container {
Expand Down

0 comments on commit be9b7d4

Please sign in to comment.