mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 15:58:38 +01:00
fix menu
This commit is contained in:
@@ -60,14 +60,14 @@ const { isOpen, close } = useMenu();
|
||||
|
||||
<div v-for="entry of section.entries">
|
||||
|
||||
<div class="bg-[#111111] text-gray-300 hover:bg-[#1b1b1b] py-2 px-4 rounded-lg" :class="{
|
||||
<div v-if="(!entry.adminOnly || (isAdmin && !isAdminHidden))"
|
||||
class="bg-[#111111] text-gray-300 hover:bg-[#1b1b1b] py-2 px-4 rounded-lg" :class="{
|
||||
'text-gray-700 pointer-events-none': entry.disabled,
|
||||
'bg-[#1b1b1b]': route.path == (entry.to || '#')
|
||||
}">
|
||||
|
||||
<NuxtLink @click="close() && entry.action?.()" :target="entry.external ? '_blank' : ''"
|
||||
v-if="(!entry.adminOnly || (isAdmin && !isAdminHidden))" tag="div" class="flex"
|
||||
:to="entry.to || '/'">
|
||||
tag="div" class="flex" :to="entry.to || '/'">
|
||||
<div class="flex items-center w-[1.8rem] justify-start">
|
||||
<i :class="entry.icon"></i>
|
||||
</div>
|
||||
|
||||
@@ -138,10 +138,10 @@ nuxtApp.hook("page:finish", () => {
|
||||
<div class="flex gap-6 text-[1.6rem] text-text-sub/80">
|
||||
<!-- <div> <i class="fab fa-x-twitter"></i> </div> -->
|
||||
<div class="flex gap-4">
|
||||
<a href="https://www.linkedin.com/company/litlyx" target="_blank">
|
||||
<a class="hover:text-gray-400" href="https://www.linkedin.com/company/litlyx" target="_blank">
|
||||
<i class="fab fa-linkedin"></i>
|
||||
</a>
|
||||
<a href="https://www.github.com/Litlyx/litlyx" target="_blank">
|
||||
<a class="hover:text-gray-400" href="https://www.github.com/Litlyx/litlyx" target="_blank">
|
||||
<i class="fab fa-github"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export const ADMIN_EMAILS = [
|
||||
'laura.emily.lovi@gmail.com',
|
||||
'mangaiomaster@gmail.com'
|
||||
'mangaiomaster@gmail.com',
|
||||
'helplitlyx@gmail.com'
|
||||
]
|
||||
Reference in New Issue
Block a user