{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
}}

<AppView>
  <BlockSlot @name="header">
    <h1>
      Tokens
    </h1>
  </BlockSlot>
  <BlockSlot @name="content">
    <EmptyState data-test-acls-disabled>
      <BlockSlot @name="header">
        <h2>Welcome to ACLs</h2>
      </BlockSlot>
      <BlockSlot @name="body">
        <p>
          ACLs are not enabled in this Consul cluster. We strongly encourage the use of ACLs in production environments for the best security practices.
        </p>
      </BlockSlot>
      <BlockSlot @name="actions">
        <li>
          <Hds::Link::Standalone
            @text='Read the documentation'
            @href="{{env 'CONSUL_DOCS_URL'}}/acl/index.html"
            @icon='docs-link'
            @iconPosition='trailing'
            @size='small'
          />
        </li>
        <li>
          <Hds::Link::Standalone
            @text='Follow the guide'
            @href="{{env 'CONSUL_DOCS_LEARN_URL'}}/consul/security-networking/production-acls"
            @icon='learn-link'
            @iconPosition='trailing'
            @size='small'
          />
        </li>
      </BlockSlot>
    </EmptyState>
  </BlockSlot>
</AppView>

