kodadot/nft-gallery

View on GitHub
components/swap/layout/index.vue

Summary

Maintainability
Test Coverage
<template>
  <section class="container is-fluid flex flex-col">
    <div class="flex my-14 flex-wrap gap-10 justify-between">
      <slot name="title" />

      <SwapBannerAccounts
        :creator="swap.creator"
        :counterparty="swap.counterparty"
      />
    </div>

    <slot />
  </section>
</template>

<script setup lang="ts">
const { swap } = storeToRefs(useAtomicSwapStore())
</script>