File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ useHead({
5959 :links =" page.links"
6060 >
6161 <template #description >
62+ <div class =" flex items-center gap-4 mb-4" v-if =" page.avatar" >
63+ <img
64+ :src =" page.avatar.src"
65+ :alt =" page.avatar.alt"
66+ class =" w-12 h-12 rounded-full object-cover"
67+ />
68+ </div >
6269 <img
6370 v-if =" page.banner"
6471 :src =" page.banner"
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ const schema = z.object({
88 title : z . string ( ) . optional ( )
99 } ) ,
1010 banner : z . string ( ) . optional ( ) ,
11+ avatar : z . object ( {
12+ src : z . string ( ) ,
13+ alt : z . string ( )
14+ } ) . optional ( ) ,
1115 links : z . array ( z . object ( {
1216 label : z . string ( ) ,
1317 icon : z . string ( ) ,
Original file line number Diff line number Diff line change 77 to : https://pypi.org/project/MemoryOS/
88 target : _blank
99 avatar :
10- src : https:/statics.memtensor.com.cn/icon/pypi.svg
10+ src : https:// statics.memtensor.com.cn/icon/pypi.svg
1111 alt : PyPI logo
1212 - label : ' Open Source'
1313 to : https://github.com/MemTensor/MemOS
You can’t perform that action at this time.
0 commit comments