This commit is contained in:
Emily
2024-06-17 14:29:20 +02:00
parent c585ea1fcc
commit c50e95620c
3 changed files with 10 additions and 9 deletions

View File

@@ -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="{
'text-gray-700 pointer-events-none': entry.disabled,
'bg-[#1b1b1b]': route.path == (entry.to || '#')
}">
<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>

View File

@@ -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>

View File

@@ -1,4 +1,5 @@
export const ADMIN_EMAILS = [
'laura.emily.lovi@gmail.com',
'mangaiomaster@gmail.com'
'mangaiomaster@gmail.com',
'helplitlyx@gmail.com'
]