-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ✨ Add upload only mode * 🎨 Fix indentation and remove unused slot
- Loading branch information
1 parent
3a92db9
commit 9e843e9
Showing
4 changed files
with
204 additions
and
46 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,60 @@ | ||
<template> | ||
<Card | ||
:class="[ | ||
'p-[32px]', | ||
'border-[2px]', | ||
'border-like-cyan', | ||
]" | ||
:has-padding="false" | ||
> | ||
<!-- header --> | ||
<IscnFormHeader :step="step" :total-step="4"/> | ||
<!-- guide title --> | ||
<Label | ||
:text="$t('FileUploaded.guide.title')" | ||
class="text-medium-gray mt-[12px] mb-[28px]" | ||
/> | ||
|
||
<Divider class="mb-[12px]" /> | ||
|
||
<FormField | ||
v-if="ipfsHash" | ||
:label="$t('iscn.meta.ipfsHash')" | ||
content-type="strong" | ||
class="mb-[12px]" | ||
> | ||
<a | ||
:href="`https://ipfs.io/ipfs/${ipfsHash}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{{ ipfsHash }} | ||
</a> | ||
</FormField> | ||
<FormField | ||
v-if="arweaveId" | ||
:label="$t('iscn.meta.arweaveId')" | ||
content-type="strong" | ||
class="mb-[12px]" | ||
> | ||
<a | ||
:href="`https://arweave.net/${arweaveId}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{{ arweaveId }} | ||
</a> | ||
</FormField> | ||
</Card> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { Vue, Component, Prop } from 'vue-property-decorator' | ||
@Component | ||
export default class FileUploadedInfo extends Vue { | ||
@Prop(String) readonly ipfsHash!: string | ||
@Prop(String) readonly arweaveId!: string | ||
@Prop(Number) readonly step: number | undefined | ||
} | ||
</script> |
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.