Skip to content

Commit

Permalink
render re-order of mint panel
Browse files Browse the repository at this point in the history
  • Loading branch information
bearni95 committed Jun 3, 2024
1 parent d484007 commit f91dc49
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
35 changes: 18 additions & 17 deletions packages/taikoon-ui/src/components/Mint/Mint.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -154,21 +154,22 @@
</script>

<div class={wrapperClasses}>
{#if isReady}
{#if windowSize !== 'sm'}
<div class={leftHalfPanel}>
<div class={nftRendererWrapperClasses}>
<NftRenderer />
</div>
{#if windowSize !== 'sm'}
<div class={leftHalfPanel}>
<div class={nftRendererWrapperClasses}>
<NftRenderer />
</div>
</div>
{/if}

<div class={rightHalfPanel}>
<!-- svelte-ignore missing-declaration -->
{#if windowSize === 'sm'}
<div class={nftRendererWrapperMobileClasses}>
<NftRenderer />
</div>
{/if}
<div class={rightHalfPanel}>
<!-- svelte-ignore missing-declaration -->
{#if windowSize === 'sm'}
<div class={nftRendererWrapperMobileClasses}>
<NftRenderer />
</div>
{/if}
{#if isReady}
<div class={mintTitleClasses}>{$t('content.mint.title')}</div>

<p class={mintContentClasses}>
Expand Down Expand Up @@ -231,10 +232,10 @@
type="primary">
{$t('buttons.mint')}</Button>
{/if}
</div>
{:else}
<Spinner size="lg" />
{/if}
{:else}
<Spinner size="lg" />
{/if}
</div>
</div>

<ResponsiveController bind:windowSize />
2 changes: 1 addition & 1 deletion packages/taikoon-ui/src/components/Mint/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const leftHalfPanel = classNames(halfPanel, 'aspect-square');
export const rightHalfPanel = classNames(
halfPanel,
'md:px-12',

'min-w-[400px]',
'my-16',
'md:my-[0]',
'md:max-w-[500px]',
Expand Down

0 comments on commit f91dc49

Please sign in to comment.