forked from paritytech/polkadot-testnet-faucet
-
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
Claire Olmstead
committed
Oct 9, 2024
1 parent
fced243
commit c88435e
Showing
4 changed files
with
23 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,6 @@ | |
} | ||
.form-background { | ||
background-color: #191924; | ||
border: 1px solid #c8cdd0; | ||
} | ||
|
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,33 +1,37 @@ | ||
<script lang="ts"> | ||
import { testnet } from "$lib/utils/stores"; | ||
import CheckCircle from "../icons/CheckCircle.svelte"; | ||
import { testnet } from "$lib/utils/stores"; | ||
import CheckCircle from "../icons/CheckCircle.svelte"; | ||
export let hash: string; | ||
export let hash: string; | ||
</script> | ||
|
||
<div class="icon"> | ||
<CheckCircle /> | ||
<CheckCircle /> | ||
</div> | ||
<div class="message"> | ||
Successfully sent {$testnet.currency}s to your address. | ||
Successfully sent {$testnet.currency}s to your address. | ||
</div> | ||
|
||
{#if false && $testnet.explorer} | ||
<a href={`${$testnet.explorer}/extrinsic/${hash}`} data-testid="success-button" target="_blank" rel="noreferrer"> | ||
<button class="submit-btn"> See transaction details</button> | ||
</a> | ||
<a | ||
href={`${$testnet.explorer}/extrinsic/${hash}`} | ||
data-testid="success-button" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<button class="submit-btn"> See transaction details</button> | ||
</a> | ||
{/if} | ||
|
||
<style lang="postcss"> | ||
.message { | ||
@apply text-lg mb-4; | ||
font-weight: 400; | ||
font-size: 16px; | ||
color: rgba(255, 255, 255, 0.7); | ||
} | ||
.message { | ||
@apply text-lg mb-4; | ||
font-weight: 400; | ||
font-size: 16px; | ||
} | ||
.icon { | ||
@apply w-full grid place-items-center; | ||
color: #51e591; | ||
} | ||
.icon { | ||
@apply w-full grid place-items-center; | ||
color: #27ae60; | ||
} | ||
</style> |