|
13 | 13 | <NuxtLink v-for="timeline in visibleTimelines" :key="timeline.href" :to="timeline.href">
|
14 | 14 | <ButtonsBase
|
15 | 15 | class="flex flex-row text-left items-center justify-start gap-3 text-lg hover:ring-1 ring-white/10 overflow-hidden h-12 w-full duration-200">
|
16 |
| - <Icon :name="timeline.icon" class="shrink-0 text-2xl" /> |
| 16 | + <iconify-icon :icon="timeline.icon" class="shrink-0 text-2xl" /> |
17 | 17 | <span class="pr-28 line-clamp-1">{{ timeline.name }}</span>
|
18 | 18 | </ButtonsBase>
|
19 | 19 | </NuxtLink>
|
|
27 | 27 | <ButtonsBase v-if="tokenData" @click="signOut().finally(() => loadingAuth = false)"
|
28 | 28 | :loading="loadingAuth"
|
29 | 29 | class="flex flex-row text-left items-center justify-start gap-3 text-lg hover:ring-1 ring-white/10 overflow-hidden h-12 w-full duration-200">
|
30 |
| - <Icon name="tabler:logout" class="shrink-0 text-2xl" /> |
| 30 | + <iconify-icon icon="tabler:logout" class="shrink-0 text-2xl" /> |
31 | 31 | <span class="pr-28 line-clamp-1">Sign Out</span>
|
32 | 32 | </ButtonsBase>
|
33 | 33 | <ButtonsBase v-else @click="signIn().finally(() => loadingAuth = false)" :loading="loadingAuth"
|
34 | 34 | class="flex flex-row text-left items-center justify-start gap-3 text-lg hover:ring-1 ring-white/10 overflow-hidden h-12 w-full duration-200">
|
35 |
| - <Icon name="tabler:login" class="shrink-0 text-2xl" /> |
| 35 | + <iconify-icon icon="tabler:login" class="shrink-0 text-2xl" /> |
36 | 36 | <span class="pr-28 line-clamp-1">Sign In</span>
|
37 | 37 | </ButtonsBase>
|
38 | 38 | <NuxtLink href="/register" v-if="!tokenData">
|
39 | 39 | <ButtonsBase
|
40 | 40 | class="flex flex-row text-left items-center justify-start gap-3 text-lg hover:ring-1 ring-white/10 overflow-hidden h-12 w-full duration-200">
|
41 |
| - <Icon name="tabler:certificate" class="shrink-0 text-2xl" /> |
| 41 | + <iconify-icon icon="tabler:certificate" class="shrink-0 text-2xl" /> |
42 | 42 | <span class="pr-28 line-clamp-1">Register</span>
|
43 | 43 | </ButtonsBase>
|
44 | 44 | </NuxtLink>
|
|
47 | 47 | Posts</h3>
|
48 | 48 | <ButtonsBase v-if="tokenData" @click="compose" title="Open composer (shortcut: n)"
|
49 | 49 | class="flex flex-row text-left items-center justify-start gap-3 text-lg hover:ring-1 ring-white/10 bg-gradient-to-tr from-pink-300 via-purple-300 to-indigo-400 overflow-hidden h-12 w-full duration-200">
|
50 |
| - <Icon name="tabler:writing" class="shrink-0 text-2xl" /> |
| 50 | + <iconify-icon icon="tabler:writing" class="shrink-0 text-2xl" /> |
51 | 51 | <span class="pr-28 line-clamp-1">Compose</span>
|
52 | 52 | <kbd class="text-xs font-semibold rounded bg-dark-500 font-mono px-1 flex flex-row">
|
53 |
| - <Icon name="tabler:keyboard" class="size-4 inline" aria-hidden="true" /> |
54 |
| - <Icon name="tabler:letter-n-small" class="size-4 inline -mr-1" aria-hidden="true" /> |
| 53 | + <iconify-icon icon="tabler:keyboard" height="1rem" width="1rem" class="inline" |
| 54 | + aria-hidden="true" /> |
| 55 | + <iconify-icon icon="tabler:letter-n-small" height="1rem" width="1rem" class="inline -mr-1" |
| 56 | + aria-hidden="true" /> |
55 | 57 | </kbd>
|
56 | 58 | </ButtonsBase>
|
57 | 59 | <ButtonsBase v-if="$pwa?.needRefresh" @click="$pwa?.updateServiceWorker()" title="Update service worker"
|
58 | 60 | class="flex flex-row text-left items-center justify-start gap-3 text-lg ring-2 ring-pink-600 overflow-hidden h-12 w-full duration-200">
|
59 |
| - <Icon name="tabler:refresh" class="shrink-0 text-2xl" /> |
| 61 | + <iconify-icon icon="tabler:refresh" class="shrink-0 text-2xl" /> |
60 | 62 | <span class="pr-28 line-clamp-1">Update</span>
|
61 | 63 | </ButtonsBase>
|
62 | 64 | </ClientOnly>
|
|
69 | 71 | <DropdownsAdaptiveDropdown>
|
70 | 72 | <template #button>
|
71 | 73 | <HeadlessMenuButton class="flex flex-col items-center justify-center p-2 rounded">
|
72 |
| - <Icon name="tabler:home" class="text-2xl" /> |
| 74 | + <iconify-icon icon="tabler:home" class="text-2xl" /> |
73 | 75 | <span class="text-xs">Timelines</span>
|
74 | 76 | </HeadlessMenuButton>
|
75 | 77 | </template>
|
|
88 | 90 | </template>
|
89 | 91 | </DropdownsAdaptiveDropdown>
|
90 | 92 | <NuxtLink href="/notifications" class="flex flex-col items-center justify-center p-2 rounded">
|
91 |
| - <Icon name="tabler:bell" class="text-2xl" /> |
| 93 | + <iconify-icon icon="tabler:bell" class="text-2xl" /> |
92 | 94 | <span class="text-xs">Notifications</span>
|
93 | 95 | </NuxtLink>
|
94 | 96 | <ClientOnly v-if="$pwa?.needRefresh">
|
95 | 97 | <button class="flex flex-col items-center justify-center p-2 rounded ring-2 ring-pink-600"
|
96 | 98 | @click="$pwa?.updateServiceWorker(true)">
|
97 |
| - <Icon name="tabler:refresh" class="text-2xl" /> |
| 99 | + <iconify-icon icon="tabler:refresh" class="text-2xl" /> |
98 | 100 | <span class="text-xs">Update</span>
|
99 | 101 | </button>
|
100 | 102 | </ClientOnly>
|
101 | 103 | <DropdownsAdaptiveDropdown v-else>
|
102 | 104 | <template #button>
|
103 | 105 | <HeadlessMenuButton class="flex flex-col items-center justify-center p-2 rounded">
|
104 |
| - <Icon name="tabler:user" class="text-2xl" /> |
| 106 | + <iconify-icon icon="tabler:user" class="text-2xl" /> |
105 | 107 | <span class="text-xs">Account</span>
|
106 | 108 | </HeadlessMenuButton>
|
107 | 109 | </template>
|
|
132 | 134 | </DropdownsAdaptiveDropdown>
|
133 | 135 | <button @click="compose" v-if="tokenData"
|
134 | 136 | class="flex flex-col items-center justify-center p-2 rounded bg-gradient-to-tr from-pink-300/70 via-purple-300/70 to-indigo-400/70">
|
135 |
| - <Icon name="tabler:writing" class="text-2xl" /> |
| 137 | + <iconify-icon icon="tabler:writing" class="text-2xl" /> |
136 | 138 | <span class="text-xs">Compose</span>
|
137 | 139 | </button>
|
138 | 140 | </ClientOnly>
|
|
0 commit comments