Merge branch 'development' of github.com:defuj/eis into dev-bagus
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="flex flex-col items-center justify-center px-4 text-center whitespace-pre-wrap h-screen-80">
|
||||
<div class="w-full md:w-[440px] py-4 md:py-0 flex flex-col items-center">
|
||||
<div class="flex flex-col items-center justify-between px-4 text-center whitespace-pre-wrap h-[calc(90vh-24px)]">
|
||||
<div class="w-full flex-1 md:w-[440px] justify-center py-4 md:py-0 flex flex-col items-center">
|
||||
<img :src="IconApp" alt="pln" class="h-[66px] object-contain mx-auto mb-4">
|
||||
<button @click="command.showCommandPalettes" type="button"
|
||||
class="flex flex-row items-center w-full p-2 text-gray-400 rounded-full bg-gray-50 hover:text-primary-500 focus:outline-none focus:ring-0">
|
||||
@ -9,10 +9,16 @@
|
||||
<span class="px-3 text-sm font-medium text-gray-500 text-md">Cari menu</span>
|
||||
</button>
|
||||
|
||||
<div class="flex mt-3.5" v-if="filteredMenus.length === 0 && recent.length === 0">
|
||||
<h1 class="text-sm text-center text-gray-800">
|
||||
Silahkan cari menu atau buka menu di samping kiri untuk memulai
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div v-if="query === '' || filteredMenus.length > 0" static class="w-full mt-6 md:mt-8 lg:mt-12">
|
||||
<div class="flex flex-col items-start w-full p-2" v-if="filteredMenus.length > 0 || recent.length > 0">
|
||||
<h2 v-if="query === '' && recent.length > 0" class="mb-2 text-xs font-semibold text-gray-900 ">
|
||||
Terakhir Dikunjungi
|
||||
Terakhir Diakses
|
||||
</h2>
|
||||
<div class="flex flex-col w-full space-y-3" v-for="menu in query === '' ? recent : filteredMenus"
|
||||
:key="menu.path">
|
||||
@ -59,6 +65,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-col items-center justify-center py-3">
|
||||
<dt class="text-xs text-center text-gray-500">
|
||||
Copyright © 2023 PT PLN (Persero). All Rights Reserved
|
||||
</dt>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
Reference in New Issue
Block a user