Merge pull request #7294 from feeeei/feat/model-plaza-icon

ui(header): 手机竖屏顶栏保留模型广场图标入口
This commit is contained in:
Wesley Liddick authored and GitHub committed 2026-09-19 11:59:46 +08:00
commit 09f88865e0
1 file changed
+4 -2
+4 -2
View File
@@ -38,11 +38,13 @@
<span class="hidden sm:inline">{{ t('nav.docs') }}</span>
</a>
<!-- Model Plaza Entry -->
<!-- Model Plaza Entry (icon only below sm) -->
<router-link
v-if="user && modelPlazaEnabled"
:to="{ path: '/model-plaza', query: { embedded: '1' } }"
class="hidden items-center gap-1.5 rounded-lg px-2.5 py-1.5 text-sm font-medium text-gray-600 transition-colors hover:bg-gray-100 hover:text-gray-900 dark:text-dark-400 dark:hover:bg-dark-800 dark:hover:text-white sm:flex"
:title="t('nav.modelPlaza')"
:aria-label="t('nav.modelPlaza')"
class="flex items-center gap-1.5 rounded-lg px-2.5 py-1.5 text-sm font-medium text-gray-600 transition-colors hover:bg-gray-100 hover:text-gray-900 dark:text-dark-400 dark:hover:bg-dark-800 dark:hover:text-white"
>
<Icon name="grid" size="sm" />
<span class="hidden sm:inline">{{ t('nav.modelPlaza') }}</span>