Skip to content

Commit e288cc9

Browse files
authored
Merge pull request #384 from CodingCatDev/fix/card-updates
wrong title ref, member vs. price
2 parents f7e8c0f + ddd590f commit e288cc9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/main/src/components/PostsCards.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default function PostsCards({
7575
{post?.data?.accessSettings?.accessMode === 'closed' ? (
7676
<>
7777
<p className="px-4 py-2 text-sm rounded-full justify-self-start bg-primary-900 dark:bg-primary-900 text-basics-50 dark:text-basics-50">
78-
Paid
78+
Member
7979
</p>
8080
<p className="px-4 py-2 text-sm font-bold tracking-wider transform -skew-y-12 justify-self-end bg-secondary-600 dark:bg-secondary-600 text-basics-50 dark:text-basics-50">
8181
${post?.data?.accessSettings?.price}
@@ -88,7 +88,7 @@ export default function PostsCards({
8888
</p>
8989
) : (
9090
<p className="px-4 py-2 text-sm font-bold tracking-wider rounded-full justify-self-start bg-secondary-600 dark:bg-secondary-600 text-basics-50 dark:text-basics-50">
91-
Start now
91+
Needs Login
9292
</p>
9393
)}
9494
</>

frontend/main/src/components/RecentPostsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function RecentPostsList({
1919
<li key={post.id} className="ml-0 list-none">
2020
<Link href={post?.data?.url}>
2121
<a className="no-underline text-basics-900 hover:text-primary-900 hover:underline">
22-
{post?.data?.title}
22+
{post?.data?.page?.title}
2323
</a>
2424
</Link>
2525
</li>

0 commit comments

Comments
 (0)