mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 15:58:38 +01:00
35 lines
1.0 KiB
Vue
35 lines
1.0 KiB
Vue
<script lang="ts" setup>
|
|
|
|
definePageMeta({ layout: 'dashboard' });
|
|
|
|
const selfhosted = useSelfhosted();
|
|
|
|
const items = [
|
|
{ label: 'Domains', slot: 'domains', tab: 'domains' },
|
|
{ label: 'IP Addresses', slot: 'ipaddresses', tab: 'ipaddresses' },
|
|
{ label: 'Bot traffic', slot: 'bots', tab: 'bots' },
|
|
// { label: 'Countries', slot: 'countries', tab: 'countries' },
|
|
// { label: 'Pages', slot: 'pages', tab: 'pages' },
|
|
]
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<div class="lg:px-10 h-full lg:py-8 overflow-hidden hide-scrollbars">
|
|
|
|
<div class="poppins font-semibold text-[1.3rem] lg:px-0 px-4 lg:py-0 py-4"> Shields </div>
|
|
|
|
<CustomTab :items="items" :route="true" class="mt-8">
|
|
<template #domains>
|
|
<ShieldsDomains></ShieldsDomains>
|
|
</template>
|
|
<template #ipaddresses>
|
|
<ShieldsAddresses></ShieldsAddresses>
|
|
</template>
|
|
<template #bots>
|
|
<ShieldsBots></ShieldsBots>
|
|
</template>
|
|
</CustomTab>
|
|
|
|
</div>
|
|
</template> |