-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix : added guide and help popovrs for new users [123]
- Loading branch information
1 parent
9f4b78c
commit 972d295
Showing
13 changed files
with
255 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
<svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<circle cx="5.5" cy="5.5" r="5.5" fill="#3670F7"/> | ||
<script lang="ts"> | ||
export let width = "10px"; | ||
export let height = "10px"; | ||
export let color = "grey"; | ||
</script> | ||
<!-- <script> | ||
let color = "#3670F7" | ||
</script> --> | ||
|
||
<svg {width} {height} viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<circle cx="5.5" cy="5.5" r="5.5" fill={color}/> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<script lang="ts"> | ||
import Ellipse from "@library/icons/Ellipse.svelte"; | ||
export let data = []; | ||
let stepData = data[0]; | ||
let currentStep = 0; | ||
let n = data.length; | ||
export let handleClosePopup: (flag: boolean) => void; | ||
function nextStep() { | ||
if (currentStep < n - 1) { | ||
currentStep = currentStep + 1; | ||
stepData = data[currentStep]; | ||
} | ||
} | ||
function previousStep() { | ||
if (currentStep > 0) { | ||
currentStep = currentStep - 1; | ||
stepData = data[currentStep]; | ||
} | ||
} | ||
function close() { | ||
alert("hello"); | ||
} | ||
</script> | ||
|
||
<div> | ||
<div class="d-flex flex-column" style="gap:19.72px;"> | ||
<div style="height: 276px; padding:auto;">Video</div> | ||
<div class="d-flex flex-column" style=" gap:19.72px;"> | ||
<div class="d-flex flex-row justify-content-center" style="gap:5.48px;"> | ||
{#each data as element, index} | ||
<Ellipse | ||
color={index === currentStep | ||
? "var(--text-primary-300)" | ||
: "var(--text-tertiary-200)"} | ||
/> | ||
{/each} | ||
</div> | ||
<div style="height:137px; padding-left: 12.88px; padding-right: 12.88px;"> | ||
<h4 style="font-size: 15.75px; font-weight:600;"> | ||
{stepData?.heading} | ||
</h4> | ||
<p style="font-size: 13.1px; color:var(--bg-secondary-1000); font-weight:500; "> | ||
{stepData?.subheading} | ||
</p> | ||
</div> | ||
<header | ||
class="d-flex" | ||
style=" height:auto; justify-content: space-between;" | ||
> | ||
<div> | ||
{#if currentStep > 0} | ||
<button | ||
class="border-0" | ||
style=" background-color: var(--bg-primary-300) ; padding:3px 19px 3px 20px; border-radius:4.78px; outline:none; " | ||
on:click={previousStep}>Previous</button | ||
> | ||
{/if} | ||
</div> | ||
{#if currentStep === n - 1} | ||
<button | ||
class="border-0" | ||
style="background-color: var(--bg-primary-300); padding:3px 19px 3px 20px; border-radius:4.78px; outline:none;" | ||
on:click={() => { | ||
handleClosePopup(false); | ||
}} | ||
> | ||
Close | ||
</button> | ||
{:else} | ||
<button | ||
class="border-0" | ||
style="background-color: var(--bg-primary-300); padding:3px 19px 3px 20px; border-radius:4.78px; outline:none;" | ||
on:click={nextStep} | ||
> | ||
Next | ||
</button> | ||
{/if} | ||
</header> | ||
</div> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.