<script setup lang="ts">
import { GrBreadcrumb } from "@/components/breadcrumb";
import { GrHeading, GrParagraph } from "@/components/typography";
</script>

<template>
  <div class="container">
    <div class="title">
      <GrHeading size="2xl" weight="medium"> Breadcrumb </GrHeading>
      <GrParagraph color="gray-200" font-size="sm"> Navegação e histórico das telas visitadas </GrParagraph>
    </div>

    <div class="content">
      <GrBreadcrumb :items="[
        {
          text: 'Minhas vendas',
          link: {
            name: 'card',
          },
        },
        {
          text: 'Venda #123',
          link: {
            path: '/estilos/cores'
          },
        },

        {
          text: 'Stats',
        },
      ]"/>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.container {
  max-width: 935px;
  width: var(--w-full);
  margin: var(--spacing-20) auto;
}

.title {
  margin-bottom: var(--spacing-20);
}

.content {
  background-color: #fbfbfb;
  height: var(--h-78);
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>
