chore: improve placeholder component styles

This commit is contained in:
Liyas Thomas
2023-12-10 14:34:30 +05:30
committed by Andrew Bastin
parent 4ac8a117ef
commit c0c0c37a67
41 changed files with 482 additions and 410 deletions

View File

@@ -14,10 +14,12 @@
:alt="`${t('empty.profile')}`"
:text="`${t('empty.profile')}`"
>
<HoppButtonPrimary
:label="t('auth.login')"
@click="invokeAction('modals.login.toggle')"
/>
<template #body>
<HoppButtonPrimary
:label="t('auth.login')"
@click="invokeAction('modals.login.toggle')"
/>
</template>
</HoppSmartPlaceholder>
<div v-else class="space-y-8">
<div

View File

@@ -142,12 +142,14 @@
:alt="`${t('empty.subscription')}`"
:text="`${t('empty.subscription')}`"
>
<HoppButtonSecondary
:label="t('mqtt.new')"
filled
outline
@click="showSubscriptionModal(true)"
/>
<template #body>
<HoppButtonSecondary
:label="t('mqtt.new')"
filled
outline
@click="showSubscriptionModal(true)"
/>
</template>
</HoppSmartPlaceholder>
<div v-else>
<div

View File

@@ -197,14 +197,16 @@
:alt="`${t('socketio.connection_not_authorized')}`"
:text="`${t('socketio.connection_not_authorized')}`"
>
<HoppButtonSecondary
outline
:label="t('app.documentation')"
to="https://docs.hoppscotch.io/documentation/features/authorization"
blank
:icon="IconExternalLink"
reverse
/>
<template #body>
<HoppButtonSecondary
outline
:label="t('app.documentation')"
to="https://docs.hoppscotch.io/documentation/features/authorization"
blank
:icon="IconExternalLink"
reverse
/>
</template>
</HoppSmartPlaceholder>
<div
v-if="authType === 'Bearer'"

View File

@@ -163,8 +163,7 @@
:src="`/images/states/${colorMode.value}/add_category.svg`"
:alt="`${t('empty.protocols')}`"
:text="`${t('empty.protocols')}`"
>
</HoppSmartPlaceholder>
/>
</HoppSmartTab>
</HoppSmartTabs>
</template>