File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,14 +35,6 @@ const formattedDate = computed(() => {
3535
3636const MAX_VISIBLE_AUTHORS = 2
3737
38- const getInitials = (name : string ) =>
39- name
40- .split (' ' )
41- .map (n => n [0 ])
42- .join (' ' )
43- .toUpperCase ()
44- .slice (0 , 2 )
45-
4638const visibleAuthors = computed (() => {
4739 console .log (' blog post 5' , props .authors )
4840 if (props .authors .length <= 3 ) return props .authors
@@ -114,15 +106,15 @@ const formattedAuthorNames = computed(() => {
114106 class =" flex items-center justify-center rounded-full border border-[#050505] bg-[#1a1a1a] overflow-hidden w-12 h-12"
115107 :style =" { marginLeft: index > 0 ? '-20px' : '0' }"
116108 >
117- <img
109+ <!-- < img
118110 v-if="author.avatar"
119111 :src="author.avatar"
120112 :alt="author.name"
121113 class="w-full h-full object-cover"
122114 />
123115 <span v-else style="font-size: 20px; color: #666; font-weight: 500">
124116 {{ getInitials(author.name) }}
125- </span >
117+ </span> -->
126118 </span >
127119 <!-- +N badge -->
128120 <span
You can’t perform that action at this time.
0 commit comments