refac
This commit is contained in:
@@ -42,14 +42,14 @@
|
||||
class="flex gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium rounded-full bg-transparent pt-1"
|
||||
>
|
||||
<a
|
||||
class="min-w-fit rounded-full p-1.5 {$page.url.pathname.includes('/home/notes')
|
||||
class="min-w-fit p-1.5 {$page.url.pathname.includes('/home/notes')
|
||||
? ''
|
||||
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition"
|
||||
href="/playground/notes">{$i18n.t('Notes')}</a
|
||||
>
|
||||
|
||||
<a
|
||||
class="min-w-fit rounded-full p-1.5 {$page.url.pathname.includes('/playground/calendar')
|
||||
class="min-w-fit p-1.5 {$page.url.pathname.includes('/playground/calendar')
|
||||
? ''
|
||||
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition"
|
||||
href="/playground/completions">{$i18n.t('Calendar')}</a
|
||||
|
||||
Reference in New Issue
Block a user