mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-21 18:13:56 +00:00
feat: confirm submissions modal
This commit is contained in:
@@ -21,21 +21,23 @@
|
||||
transition:fade={{ easing: quadInOut, duration: 150 }}
|
||||
>
|
||||
<div class="top">
|
||||
<div class="title">
|
||||
{#if fullscreen}
|
||||
<button on:click={() => (modalOpen = !modalOpen)}>
|
||||
<img src="../icons/back.svg" id="back" alt="back" />
|
||||
</button>
|
||||
{/if}
|
||||
{#if $$slots.icon}
|
||||
<slot name="icon" />
|
||||
{/if}
|
||||
{#if $$slots.title}
|
||||
<h2>
|
||||
<slot name="title" />
|
||||
</h2>
|
||||
{/if}
|
||||
</div>
|
||||
{#if $$slots.title || $$slots.icon}
|
||||
<div class="title">
|
||||
{#if fullscreen}
|
||||
<button on:click={() => (modalOpen = !modalOpen)}>
|
||||
<img src="../icons/back.svg" id="back" alt="back" />
|
||||
</button>
|
||||
{/if}
|
||||
{#if $$slots.icon}
|
||||
<slot name="icon" />
|
||||
{/if}
|
||||
{#if $$slots.title}
|
||||
<h2>
|
||||
<slot name="title" />
|
||||
</h2>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if $$slots.description}
|
||||
<p>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
{#if hasVariants}
|
||||
<Modal bind:modalOpen>
|
||||
<svelte:fragment slot="title">Select a variant</svelte:fragment>
|
||||
<svelte:fragment slot="title">Select logo variants</svelte:fragment>
|
||||
<div class="variants">
|
||||
{#each variants as variant}
|
||||
<!-- Mega Trolley -->
|
||||
|
||||
Reference in New Issue
Block a user