{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

<Page::Header @title={{@title}} @subtitle={{@subtitle}}>
  <:breadcrumbs>
    {{#if @breadcrumbs}}
      <Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
    {{/if}}
  </:breadcrumbs>
  <:badges>
    {{#if this.version.isCommunity}}
      <Hds::Badge @text="Enterprise" @color="highlight" data-test-badge="enterprise" />
    {{/if}}
  </:badges>
  <:actions>
    {{#if @action}}
      <Hds::Button
        @text={{@action.text}}
        @icon={{@action.icon}}
        @iconPosition={{@action.iconPosition}}
        @color={{@action.color}}
        @route={{@action.route}}
        @models={{@action.models}}
      />
    {{/if}}
  </:actions>
</Page::Header>