chore: better error message in invalid link
This commit is contained in:
@@ -24,9 +24,12 @@
|
|||||||
v-if="!shortcodeDetails.loading && E.isLeft(shortcodeDetails.data)"
|
v-if="!shortcodeDetails.loading && E.isLeft(shortcodeDetails.data)"
|
||||||
class="flex flex-col p-4 items-center"
|
class="flex flex-col p-4 items-center"
|
||||||
>
|
>
|
||||||
<i class="mb-4 material-icons">error_outline</i>
|
<i class="opacity-75 pb-2 material-icons">error_outline</i>
|
||||||
<p>
|
<h1 class="heading text-center">
|
||||||
{{ shortcodeDetails.data.left }}
|
{{ $t("error.invalid_link") }}
|
||||||
|
</h1>
|
||||||
|
<p class="text-center mt-2">
|
||||||
|
{{ $t("error.invalid_link_description") }}
|
||||||
</p>
|
</p>
|
||||||
<p class="mt-4">
|
<p class="mt-4">
|
||||||
<ButtonSecondary to="/" svg="home" filled :label="$t('app.home')" />
|
<ButtonSecondary to="/" svg="home" filled :label="$t('app.home')" />
|
||||||
|
|||||||
Reference in New Issue
Block a user