fix(theme-yun): custom icon for YunProjects, close #580

This commit is contained in:
YunYouJun 2025-07-15 22:51:15 +08:00
parent b12bbab925
commit fc9370d092
1 changed files with 6 additions and 4 deletions

View File

@ -13,11 +13,13 @@ const curCategory = ref('all')
<template>
<div flex="~ col center">
<h2 class="mb-3 text-2xl">
{{ fm.title || t('title.projects') }}
</h2>
<YunPageHeader
:title="fm.title || t('title.projects')"
:icon="fm.icon"
:page-title-class="fm.pageTitleClass"
/>
<div flex="~ wrap" justify="center">
<div class="mt-3" flex="~ wrap" justify="center">
<YunProjectToggleButton
:active="curCategory === 'all'"
@click="curCategory = 'all'"