Skip to content

Source code

Source code

src/showcase/pages/components/cards.html

This file is included in this documentation build. It is displayed as code and is not executed.

Download source

<!--
Demonstrate the cards component on its own lazy route.

@author Laurent Declercq l.declercq@agon-innovation.ch
@version 20260921
-->
<section x-data="componentCatalog" class="component-library">
  <include src="partials/components/page-header.html" locals='{"title":"componentCards"}'></include>
  <div class="catalog-grid">
    <article class="card">
      <header class="card-header"><h2 x-text="$t('componentCards')"></h2></header>
      <div class="card-body">
        <h3 class="h6" x-text="$t('galleryTeam')"></h3>
        <p class="text-muted" x-text="$t('galleryBody')"></p>
        <div class="list-group">
          <a
            class="list-group-item list-group-item-action"
            href="/profile"
            x-link
            x-text="$t('profile')"
          ></a>
          <a
            class="list-group-item list-group-item-action"
            href="/settings"
            x-link
            x-text="$t('settings')"
          ></a>
        </div>
      </div>
    </article>
  </div>
</section>