Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions src/partials/article.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -47,51 +47,6 @@
{{> markdown-dropdown}}
</div>
{{/unless}}
{{!-- Availability block for ADP pages showing platform support --}}
{{#if page.attributes.adp}}
{{#unless (eq page.attributes.role 'component-home-v2')}}
{{#unless (eq page.attributes.role 'home')}}
{{#unless (eq page.layout 'index')}}
<div class="availability-block">
<strong>Available in:</strong>
{{#if (and page.attributes.byoc page.attributes.cloud-only)}}
Cloud, BYOC
{{else if page.attributes.byoc}}
BYOC
{{else if page.attributes.cloud-only}}
Cloud
{{else}}
Cloud, BYOC
{{/if}}
<span class="availability-info" tabindex="0" aria-label="Availability information">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<line x1="12" y1="16" x2="12" y2="12"></line>
<line x1="12" y1="8" x2="12.01" y2="8"></line>
</svg>
</span>
</div>
<script>
document.addEventListener("DOMContentLoaded", () => {
const availabilityInfo = document.querySelector(".availability-info");
if (availabilityInfo && typeof tippy !== 'undefined') {
tippy(availabilityInfo, {
content: "This indicates which Redpanda Cloud cluster types support this feature. Cloud refers to fully managed clusters. BYOC (Bring Your Own Cloud) refers to clusters running in your own cloud account.",
animation: "scale",
theme: "redpanda-term",
touch: "hold",
interactive: true,
allowHTML: true,
appendTo: () => document.body,
maxWidth: 300
});
}
});
</script>
{{/unless}}
{{/unless}}
{{/unless}}
{{/if}}
{{#if (or page.attributes.beta page.attributes.limited-availability page.attributes.byoc page.attributes.cloud-only page.attributes.context-switcher)}}
<script>
document.addEventListener("DOMContentLoaded", () => {
Expand Down