From c15b27e5aa72c1f94e133dd63545e963c786834f Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Fri, 17 Nov 2023 20:46:38 +0000 Subject: [PATCH] add index and styles --- website/docs/docs/introduction.md | 3 ++- website/src/components/lifeCycle/index.js | 8 ++++++++ website/src/components/lifeCycle/styles.module.css | 13 +++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 website/src/components/lifeCycle/index.js create mode 100644 website/src/components/lifeCycle/styles.module.css diff --git a/website/docs/docs/introduction.md b/website/docs/docs/introduction.md index 61cda6e1d3e..dfeefb91dab 100644 --- a/website/docs/docs/introduction.md +++ b/website/docs/docs/introduction.md @@ -5,13 +5,14 @@ pagination_next: null pagination_prev: null --- + 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 - Avoid writing boilerplate  and 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 . - Build up reusable, or modular, data models that can be referenced in subsequent work instead of starting at the raw data with every analysis. diff --git a/website/src/components/lifeCycle/index.js b/website/src/components/lifeCycle/index.js new file mode 100644 index 00000000000..051e382a28d --- /dev/null +++ b/website/src/components/lifeCycle/index.js @@ -0,0 +1,8 @@ +import React from 'react' +import styles from './styles.module.css'; + +export default function Lifecycle(props) { + return ( + {props.status} + ); +} diff --git a/website/src/components/lifeCycle/styles.module.css b/website/src/components/lifeCycle/styles.module.css new file mode 100644 index 00000000000..4a983adbba3 --- /dev/null +++ b/website/src/components/lifeCycle/styles.module.css @@ -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 */ +}