microsite: add Banner component + k8s launch banner

This commit is contained in:
Patrik Oldsberg
2021-01-22 13:52:52 +01:00
parent 3b165dce33
commit ec5d8e9ee0
5 changed files with 98 additions and 0 deletions
+10
View File
@@ -11,6 +11,7 @@ const Block = Components.Block;
const ActionBlock = Components.ActionBlock;
const Breakpoint = Components.Breakpoint;
const BulletLine = Components.BulletLine;
const Banner = Components.Banner;
class Index extends React.Component {
render() {
@@ -53,6 +54,15 @@ class Index extends React.Component {
</Block.Container>
</Block>
<Banner.Container>
<Banner.Dismissable storageKey="k8s-launch">
🎉 New feature: Kubernetes for service owners.{' '}
<a href="https://backstage.io/blog/2021/01/12/new-backstage-feature-kubernetes-for-service-owners">
Learn more.
</a>
</Banner.Dismissable>
</Banner.Container>
<Block small className="stripe-top bg-black">
<Block.Container wrapped>
<Block.TextBox>