refactor: sh admin login polish (#58)

This commit is contained in:
Nivedin
2023-03-28 23:33:50 +05:30
committed by GitHub
parent ccdce37f88
commit b6950332ad
4 changed files with 93 additions and 78 deletions

View File

@@ -15,15 +15,15 @@
<div :class="isExpanded ? 'w-64' : 'w-full'">
<div class="flex items-center justify-start mt-6 ml-6">
<div class="flex items-center">
<router-link class="flex" to="/dashboard">
<img src="/public/cover.jpg" alt="" class="h-7" />
<HoppSmartLink class="flex items-center space-x-4" to="/dashboard">
<img src="/cover.jpg" alt="hoppscotch-logo" class="h-7" />
<span
v-if="isExpanded"
class="mx-2 text-xl font-semibold text-gray-200"
>Hoppscotch</span
>
</router-link>
</HoppSmartLink>
</div>
</div>
@@ -73,6 +73,7 @@
</template>
<script setup lang="ts">
import { HoppSmartLink } from '@hoppscotch/ui';
import { useSidebar } from '../../composables/useSidebar';
import { useRoute } from 'vue-router';