-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor ui fixes + logic for compiling contracts
- Loading branch information
1 parent
499d601
commit 7918160
Showing
8 changed files
with
230 additions
and
102 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
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,22 @@ | ||
<script lang="ts"> | ||
type Props = { | ||
message: string; | ||
type: 'success' | 'error'; | ||
}; | ||
let { message, type }: Props = $props(); | ||
let color = type === 'success' ? 'green' : 'red'; | ||
</script> | ||
|
||
{#if type === 'success'} | ||
<div class="flex flex-row items-center gap-2"> | ||
<i class={`fa fa-check-circle-o text-green-600`}></i> | ||
<div class="text-xs text-green-600">{message}</div> | ||
</div> | ||
{:else if type === 'error'} | ||
<div class="flex flex-row items-center gap-2"> | ||
<i class={`fa fa-times-circle-o text-red-600`}></i> | ||
<div class="text-xs text-red-600">{message}</div> | ||
</div> | ||
{/if} |
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.