-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
459 additions
and
341 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<script lang="ts" setup> | ||
withDefaults( | ||
defineProps<{ | ||
icon?: string; | ||
label?: string; | ||
disabled?: boolean; | ||
}>(), | ||
{ | ||
icon: '', | ||
label: '', | ||
disabled: false | ||
} | ||
) | ||
const emit = defineEmits(['click']) | ||
const handleClick = (event: any) => { | ||
emit('click', event) | ||
} | ||
</script> | ||
|
||
<template> | ||
<button | ||
:disabled="disabled" | ||
@click.prevent="handleClick" | ||
class=" | ||
flex | ||
items-center | ||
justify-center | ||
lg:h-8 lg:w-8 | ||
rounded-full | ||
hover:bg-gray-600 | ||
" | ||
> | ||
<div> | ||
<Icon :name="icon" class="h-6 w-6 lg:h-8 lg:w-8" /> | ||
</div> | ||
</button> | ||
</template> |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<script setup lang="ts"> | ||
const emits = defineEmits(['click']) | ||
withDefaults( | ||
defineProps<{ | ||
label?: string; | ||
disabled?: boolean; | ||
}>(), | ||
{ | ||
label: '', | ||
disabled: false | ||
} | ||
) | ||
</script> | ||
|
||
<template> | ||
<div id="footer" class="pt-[165px] lg:pt-[56px]"> | ||
<ButtonInline | ||
:label="label" | ||
:disabled="disabled" | ||
@click.prevent="emits('click', $event)" | ||
/> | ||
</div> | ||
</template> |
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,70 @@ | ||
<script setup lang="ts"> | ||
const emits = defineEmits(['changeStep']) | ||
withDefaults( | ||
defineProps<{ | ||
title?: string; | ||
subtitle: string; | ||
}>(), | ||
{ | ||
title: '' | ||
} | ||
) | ||
const back = () => { | ||
emits('changeStep', 'connect') | ||
} | ||
</script> | ||
|
||
<template> | ||
<div | ||
class=" | ||
w-full | ||
py-4 | ||
flex | ||
justify-center | ||
relative | ||
items-center | ||
lg:hidden | ||
" | ||
> | ||
<button | ||
class=" | ||
flex | ||
items-center | ||
space-x-[4px] | ||
h-6 | ||
absolute | ||
top-4 | ||
left-0 | ||
" | ||
@click.prevent="back()" | ||
> | ||
<Icon name="chevronLeft" class="h-6 w-6" /> | ||
</button> | ||
|
||
<div> | ||
<h1 | ||
class="text-xs text-font-1 font-medium" | ||
v-text="title" | ||
/> | ||
</div> | ||
</div> | ||
|
||
<div class="pt-8 lg:pt-0 flex lg:space-x-4 items-center"> | ||
<ButtonIcon | ||
icon="chevronLeft" | ||
class="hidden lg:flex" | ||
@click.prevent="back()" | ||
/> | ||
|
||
<h2 | ||
class=" | ||
text-font-1 text-md | ||
font-medium | ||
lg:text-lg lg:leading-[33.6px] lg:font-[500] | ||
" | ||
v-text="subtitle" | ||
/> | ||
</div> | ||
</template> |
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,27 @@ | ||
<template> | ||
<div | ||
class=" | ||
text-white | ||
max-w-[450px] | ||
lg:max-w-[500px] | ||
lg:h-auto | ||
lg:p-6 | ||
lg:bg-gray-900 | ||
lg:w-[546px] | ||
lg:mt-[150px] | ||
lg:border-2 | ||
lg:border-gray-600 | ||
lg:rounded-[12px] | ||
min-h-screen | ||
lg:min-h-0 | ||
" | ||
> | ||
<div> | ||
<slot /> | ||
</div> | ||
|
||
<div> | ||
<slot name="footer" /> | ||
</div> | ||
</div> | ||
</template> |
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
Oops, something went wrong.