This commit is contained in:
Timothy Jaeryang Baek 2025-06-28 19:29:28 +04:00
parent 962e078a9a
commit 7523613fbc
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
<script lang="ts"> <script lang="ts">
export let className: string = 'w-5 h-5'; export let className: string = 'w-5 h-5';
export let strokeWidth: string = '1.5';
</script> </script>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class={className}> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class={className}>

View file

@ -52,7 +52,7 @@
class="flex gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium rounded-full bg-transparent pt-1" class="flex gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium rounded-full bg-transparent pt-1"
> >
<a <a
class="min-w-fit rounded-full p-1.5 {['/admin/users'].includes($page.url.pathname) class="min-w-fit rounded-full p-1.5 {$page.url.pathname.includes('/admin/users')
? '' ? ''
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition" : 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition"
href="/admin">{$i18n.t('Users')}</a href="/admin">{$i18n.t('Users')}</a