48 lines
1.4 KiB
Vue
48 lines
1.4 KiB
Vue
<!-- This example requires Tailwind CSS v2.0+ -->
|
|
<template>
|
|
<div class="pb-8 px-4 sm:px-6 lg:px-8">
|
|
<div class="sm:flex sm:items-center">
|
|
<div class="sm:flex-auto">
|
|
<h1 class="text-xl font-semibold text-gray-900">
|
|
API 키 사용 통계
|
|
</h1>
|
|
<p class="mt-2 text-sm text-gray-700">
|
|
내 API 키의 사용량을 확인할 수 있습니다.
|
|
</p>
|
|
</div>
|
|
<div class="mt-4 sm:mt-0 sm:ml-16 sm:flex-none"></div>
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<nav class="space-y-1" aria-label="Sidebar">
|
|
<a
|
|
v-for="item in navigation"
|
|
:key="item.name"
|
|
href="javascript:void(0)"
|
|
:class="[
|
|
'text-gray-600 hover:bg-gray-100 hover:text-gray-900',
|
|
'flex items-center px-3 py-2 text-sm font-medium rounded-md',
|
|
]"
|
|
:aria-current="'page'"
|
|
@click="$router.push(item.href)"
|
|
>
|
|
<span class="truncate">
|
|
{{ item.name }}
|
|
</span>
|
|
</a>
|
|
</nav>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
definePageMeta({
|
|
middleware: 'check-auth-op',
|
|
});
|
|
|
|
const navigation = [
|
|
{ name: '일별 통계', href: '/key/statistics/daily' },
|
|
{ name: '월별 통계', href: '/key/statistics/monthly' },
|
|
];
|
|
</script>
|