Skip to content

Commit

Permalink
docs(preview): add developer preview banner (#4652)
Browse files Browse the repository at this point in the history
* docs(preview): add developer preview banner

* docs(preview): update preview announcement language
  • Loading branch information
MYoung25 authored Apr 24, 2023
1 parent 2ef9890 commit 0ef08f7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packages/core-theme-documentation-generator/src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,34 @@ class SdkThemeContext extends DefaultThemeRenderContext {
footer {
}
.documentation-developer-preview {
background-color: var(--color-background-secondary);
border: 1px solid var(--color-link);
padding: 1em;
border-radius: .8em;
margin-bottom: 1em;
}
.documentation-developer-preview h2 {
font-size: 1.5rem;
}
.documentation-developer-preview {
font-size: 1rem;
}
`;

return (
<>
<style>{style}</style>
<div class="documentation-developer-preview">
<h2>New API Documentation - Developer Preview Available</h2>
<p>
We are excited to announce the <a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/preview/">developer preview</a> of our new API documentation
for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
</p>
</div>
{oldHeader(props)}
</>
);
Expand Down

0 comments on commit 0ef08f7

Please sign in to comment.