@@ -24,7 +24,9 @@ const authors = await resolveAuthors(post.data.authors);
2424const productName = typeof product === " undefined" ? " Labs" : product .name ;
2525// if product is cheerpj, add prefix /docs on post url
2626const blog_url =
27- productName === " CheerpJ" ? " https://labs.leaningtech.com/blog/" : " /blog/" ;
27+ productName === " CheerpJ" || productName === " BrowserPod"
28+ ? " https://labs.leaningtech.com/blog/"
29+ : " /blog/" ;
2830---
2931
3032<a
@@ -38,16 +40,14 @@ const blog_url =
3840 width = { size === " wide" ? 600 : 390 }
3941 height = { 256 }
4042 alt = " "
41- class = " rounded-xl mb-4 bg-stone -100 object-cover w-full h-64 self-center"
43+ class = " rounded-xl mb-4 bg-bg -100 object-cover w-full h-64 self-center"
4244 />
4345 )
4446 }
4547 <h3
4648 class:list ={ {
4749 " font-bold text-balance text-white grow" : true ,
48- " group-hover:text-cheerp grow" : productName === " Cheerp" ,
49- " group-hover:text-[#6386a5] grow" : productName === " CheerpX" ,
50- " group-hover:text-primary-400 grow" : productName === " Labs" ,
50+ " group-hover:text-primary-400 grow" : true ,
5151 " text-2xl leading-7" : size === " wide" ,
5252 " text-xl leading-6" : size === " narrow" ,
5353 }}
@@ -56,13 +56,13 @@ const blog_url =
5656 </h3 >
5757 {
5858 showMetadata && (
59- <div class = " mt-4 flex justify-between items-center gap-8 text-stone -400 text-base whitespace-nowrap" >
59+ <div class = " mt-4 flex justify-between items-center gap-8 text-bg -400 text-base whitespace-nowrap" >
6060 <div class = " flex items-center gap-2 font-semibold overflow-hidden" >
6161 <div class = " flex-none space-x-[-1rem]" >
6262 { authors .map ((author ) =>
6363 author .avatar ? (
6464 <img
65- class = " inline-block w-8 h-8 rounded-full shadow border-2 border-stone -900"
65+ class = " inline-block w-8 h-8 rounded-full shadow border-2 border-bg -900"
6666 src = { author .avatar .src }
6767 alt = " "
6868 loading = " lazy"
0 commit comments