-
Notifications
You must be signed in to change notification settings - Fork 969
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c293e5
commit c15b27e
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ | ||
} |