diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 3318bc4c5742..1b0695921ccd 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -292,15 +292,32 @@ details { } .ot-integration-badge { + @extend .btn; + @extend .shadow; + border-radius: 0 !important; position: relative; + float: right; transform: rotate(6deg); background: hsl(60, 100%, 60%); border-color: hsl(60, 100%, 60%); padding: 1rem; margin: 0 1rem 1rem 1rem; + &__text { + font-weight: $font-weight-semibold; + } + + &__info { + @extend .text-warning; + @extend .translate-middle; + + position: absolute; + top: 0; + left: 100%; + } + &:hover { background: hsl(60, 100%, 60%); transform: rotate(4deg); diff --git a/content/en/blog/2023/integrations.md b/content/en/blog/2023/integrations.md index 9f309bce869d..ba4c0a412986 100644 --- a/content/en/blog/2023/integrations.md +++ b/content/en/blog/2023/integrations.md @@ -4,17 +4,7 @@ linkTitle: Integrations Welcome! date: 2023-11-08 --- - - - OTel integration! - - - - +{{< blog/integration-badge >}} Embracing OpenTelemetry's [vision], we are committed to enabling high-quality telemetry throughout the entire software stack! diff --git a/layouts/shortcodes/blog/integration-badge.html b/layouts/shortcodes/blog/integration-badge.html new file mode 100644 index 000000000000..c0d876a39cce --- /dev/null +++ b/layouts/shortcodes/blog/integration-badge.html @@ -0,0 +1,12 @@ +{{ $learnMore := "Click to learn more" -}} + + + OTel integration! + + + +