MailChimp

This commit is contained in:
tangly1024.com
2023-07-04 12:39:18 +08:00
parent 26f6b2d85f
commit 194cd7ac7d
57 changed files with 361 additions and 235 deletions

View File

@@ -18,7 +18,7 @@ export const BlogListPage = props => {
return (
<div className="w-full md:pr-8 mb-12">
<div id="container">
<div id="posts-wrapper">
{posts?.map((p, index) => (<div key={p.id}>
{(index + 1) % 3 === 0 && <AdSlot type='in-article' />}
{ (index + 1) === 4 && <AdSlot type='flow'/>}

View File

@@ -44,7 +44,7 @@ export const BlogListScroll = props => {
})
return (
<div id="container" className="w-full md:pr-8 mb-12" ref={targetRef}>
<div id="posts-wrapper" className="w-full md:pr-8 mb-12" ref={targetRef}>
{postsToShow.map(p => (
<BlogItem key={p.id} post={p}/>
))}