Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
KukretiShubham committed Oct 29, 2024
1 parent 2687936 commit cf32556
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Id.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
import type { ComposedItem } from '.'
import TransactionForm from './TransactionForm.svelte'
import TransactionFormT from './TransactionFormT.vue'
import type { ClubsPropsPages } from '@devprotocol/clubs-core'
import { Checkout } from '@devprotocol/clubs-core/ui/components'
import { i18nFactory } from '@devprotocol/clubs-core'
import { Strings } from './i18n'
import type { only } from 'node:test'
const { item, propertyAddress, rpcUrl, chainId, debugMode, ...other } =
Astro.props as ClubsPropsPages & {
Expand Down Expand Up @@ -54,6 +56,7 @@ const { PUBLIC_POP_CLIENT_KEY } = import.meta.env
rpcUrl={rpcUrl}
debugMode={debugMode}
/>
<TransactionFormT client:only="vue"/>
</div>
<div slot="checkout:after:transaction-form" class="p-3">
<a
Expand Down
31 changes: 31 additions & 0 deletions src/TransactionFormT.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<template>
<div>
<h1>Transaction Form</h1>
</div>
</template>

<script lang="ts">
import { defineComponent, ref, onMounted } from 'vue'
import type { Failure, Success } from './api/payment-key'
import type { ComposedItem } from '.'
import { whenDefined, whenDefinedAll, whenNotError } from '@devprotocol/util-ts'
import { JsonRpcProvider } from 'ethers'
import { clientsSTokens } from '@devprotocol/dev-kit'
import { i18nFactory, mintedIdByLogs } from '@devprotocol/clubs-core'
import {
IconBouncingArrowRight,
IconSpinner,
} from '@devprotocol/clubs-core/ui/vue'
import { Strings } from './i18n'
export default {
props: {
item: Object as () => ComposedItem,
chainId: Number,
rpcUrl: String,
debugMode: Boolean,
},
}
</script>

0 comments on commit cf32556

Please sign in to comment.