Skip to content

Commit

Permalink
add index and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Nov 17, 2023
1 parent 3c293e5 commit c15b27e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docs/docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ pagination_next: null
pagination_prev: null
---


<Snippet path="what-is-dbt-intro" />

dbt compiles and runs your analytics code against your data platform, enabling you and your team to collaborate on a single source of truth for metrics, insights, and business definitions. This single source of truth, combined with the ability to define tests for your data, reduces errors when logic changes, and alerts you when issues arise.

Read more about why we want to enable analysts to work more like software engineers in [The dbt Viewpoint](/community/resources/viewpoint).

## dbt optimizes your workflow
## dbt optimizes your workflow <Lifecycle status='Beta' />

- Avoid writing boilerplate <Term id="dml" /> and <Term id="ddl" /> by managing transactions, dropping tables, and managing schema changes. Write business logic with just a SQL `select` statement, or a Python DataFrame, that returns the dataset you need, and dbt takes care of <Term id="materialization" />.
- Build up reusable, or modular, data models that can be referenced in subsequent work instead of starting at the raw data with every analysis.
Expand Down
8 changes: 8 additions & 0 deletions website/src/components/lifeCycle/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react'
import styles from './styles.module.css';

export default function Lifecycle(props) {
return (
<span className={styles.lifecycle}>{props.status}</span>
);
}
13 changes: 13 additions & 0 deletions website/src/components/lifeCycle/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.lifecycle {
background-color: #ffeb3b; /* Yellow background similar to OpenAI's beta badge */
color: #333; /* Dark text color for contrast */
font-size: 0.75em; /* Slightly smaller text */
padding: 1px 8px; /* Adjust padding for a more pill-like shape */
border-radius: 16px; /* Larger border-radius for rounded edges */
margin-left: 8px; /* Margin to separate from the header text */
vertical-align: middle; /* Align with the title */
display: inline-block; /* Use inline-block for better control */
font-weight: bold; /* Bold text */
text-transform: uppercase; /* Uppercase text */
line-height: 1.6; /* Adjust line height for vertical alignment */
}

0 comments on commit c15b27e

Please sign in to comment.