Skip to content

Commit 77ec074

Browse files
committed
feat(blog): remove BlogPostCTA from blog pages
1 parent 784c216 commit 77ec074

3 files changed

Lines changed: 1 addition & 13 deletions

File tree

apps/web-roo-code/src/app/blog/[slug]/page.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import { ogImageUrl } from "@/lib/og"
2727
import { BlogPostAnalytics } from "@/components/blog/BlogAnalytics"
2828
import { BlogContent } from "@/components/blog/BlogContent"
2929
import { BlogFAQ, type FAQItem } from "@/components/blog/BlogFAQ"
30-
import { BlogPostCTA } from "@/components/blog/BlogPostCTA"
3130

3231
// Force dynamic rendering for request-time publish gating
3332
export const dynamic = "force-dynamic"
@@ -291,10 +290,6 @@ export default async function BlogPostPage({ params }: Props) {
291290

292291
{/* FAQ Section rendered as accordion */}
293292
{hasFAQ && <BlogFAQ items={faqItems} />}
294-
295-
{/* Product CTA Module - Inspired by Vercel's blog design
296-
Default variant prioritizes Roo Code Cloud sign-up */}
297-
<BlogPostCTA />
298293
</div>
299294

300295
{/* Previous/Next Post Navigation */}

apps/web-roo-code/src/app/blog/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { ogImageUrl } from "@/lib/og"
1818
import { BlogIndexAnalytics } from "@/components/blog/BlogAnalytics"
1919
import { BlogPostList } from "@/components/blog/BlogPostList"
2020
import { BlogPagination } from "@/components/blog/BlogPagination"
21-
import { BlogPostCTA } from "@/components/blog/BlogPostCTA"
21+
2222
import { BlogViewToggle } from "@/components/blog/BlogViewToggle"
2323

2424
// Force dynamic rendering for request-time publish gating
@@ -171,9 +171,6 @@ export default async function BlogIndexPage({ searchParams }: Props) {
171171
{showPagination && (
172172
<BlogPagination currentPage={currentPage} totalPages={totalPages} useQueryParams />
173173
)}
174-
175-
{/* Cloud CTA - shown after posts */}
176-
<BlogPostCTA />
177174
</div>
178175
</div>
179176
</>

apps/web-roo-code/src/app/blog/page/[page]/page.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { ogImageUrl } from "@/lib/og"
1515
import { BlogIndexAnalytics } from "@/components/blog/BlogAnalytics"
1616
import { BlogPostList } from "@/components/blog/BlogPostList"
1717
import { BlogPagination } from "@/components/blog/BlogPagination"
18-
import { BlogPostCTA } from "@/components/blog/BlogPostCTA"
1918

2019
// Force dynamic rendering for request-time publish gating
2120
export const dynamic = "force-dynamic"
@@ -164,9 +163,6 @@ export default async function BlogPaginatedPage({ params }: PageProps) {
164163
<BlogPostList posts={posts} />
165164

166165
<BlogPagination currentPage={currentPage} totalPages={totalPages} />
167-
168-
{/* Cloud CTA - shown after pagination */}
169-
<BlogPostCTA />
170166
</div>
171167
</div>
172168
</>

0 commit comments

Comments
 (0)