Skip to content

Commit db5591d

Browse files
author
waleed
committed
rename blog to studio
1 parent 41431fc commit db5591d

39 files changed

Lines changed: 73 additions & 68 deletions

File tree

apps/sim/app/(landing)/components/footer/footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,10 @@ export default function Footer({ fullWidth = false }: FooterProps) {
217217
Enterprise
218218
</Link>
219219
<Link
220-
href='/blog'
220+
href='/studio'
221221
className='text-[14px] text-muted-foreground transition-colors hover:text-foreground'
222222
>
223-
Blog
223+
Sim Studio
224224
</Link>
225225
<Link
226226
href='/changelog'

apps/sim/app/(landing)/blog/[slug]/page.tsx renamed to apps/sim/app/(landing)/studio/[slug]/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export default async function Page({ params }: { params: Promise<{ slug: string
4848
/>
4949
<header className='mx-auto max-w-[1450px] px-6 pt-8 sm:px-8 sm:pt-12 md:px-12 md:pt-16'>
5050
<div className='mb-6'>
51-
<Link href='/blog' className='text-gray-600 text-sm hover:text-gray-900'>
52-
← Back to Blog
51+
<Link href='/studio' className='text-gray-600 text-sm hover:text-gray-900'>
52+
← Back to Sim Studio
5353
</Link>
5454
</div>
5555
<div className='flex flex-col gap-8 md:flex-row md:gap-12'>
@@ -133,7 +133,7 @@ export default async function Page({ params }: { params: Promise<{ slug: string
133133
<h2 className='mb-4 font-medium text-[24px]'>Related posts</h2>
134134
<div className='grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3'>
135135
{related.map((p) => (
136-
<Link key={p.slug} href={`/blog/${p.slug}`} className='group'>
136+
<Link key={p.slug} href={`/studio/${p.slug}`} className='group'>
137137
<div className='overflow-hidden rounded-lg border border-gray-200'>
138138
<Image
139139
src={p.ogImage}

apps/sim/app/(landing)/blog/authors/[id]/page.tsx renamed to apps/sim/app/(landing)/studio/authors/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function AuthorPage({ params }: { params: Promise<{ id: str
2020
'@context': 'https://schema.org',
2121
'@type': 'Person',
2222
name: author.name,
23-
url: `https://sim.ai/blog/authors/${author.id}`,
23+
url: `https://sim.ai/studio/authors/${author.id}`,
2424
sameAs: author.url ? [author.url] : [],
2525
image: author.avatarUrl,
2626
}
@@ -44,7 +44,7 @@ export default async function AuthorPage({ params }: { params: Promise<{ id: str
4444
</div>
4545
<div className='grid grid-cols-1 gap-8 sm:grid-cols-2'>
4646
{posts.map((p) => (
47-
<Link key={p.slug} href={`/blog/${p.slug}`} className='group'>
47+
<Link key={p.slug} href={`/studio/${p.slug}`} className='group'>
4848
<div className='overflow-hidden rounded-lg border border-gray-200'>
4949
<Image
5050
src={p.ogImage}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
export default function Head() {
22
return (
33
<>
4-
<link rel='canonical' href='https://sim.ai/blog' />
4+
<link rel='canonical' href='https://sim.ai/studio' />
55
<link
66
rel='alternate'
77
type='application/rss+xml'
8-
title='Sim Blog'
9-
href='https://sim.ai/blog/rss.xml'
8+
title='Sim Studio'
9+
href='https://sim.ai/studio/rss.xml'
1010
/>
1111
</>
1212
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Footer, Nav } from '@/app/(landing)/components'
22

3-
export default function BlogLayout({ children }: { children: React.ReactNode }) {
3+
export default function StudioLayout({ children }: { children: React.ReactNode }) {
44
const orgJsonLd = {
55
'@context': 'https://schema.org',
66
'@type': 'Organization',
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { soehne } from '@/app/fonts/soehne/soehne'
66

77
export const revalidate = 3600
88

9-
export default async function BlogIndex({
9+
export default async function StudioIndex({
1010
searchParams,
1111
}: {
1212
searchParams: Promise<{ page?: string; tag?: string }>
@@ -24,11 +24,11 @@ export default async function BlogIndex({
2424
const posts = listBase.slice(start, start + perPage)
2525
// Tag filter chips are intentionally disabled for now.
2626
// const tags = await getAllTags()
27-
const blogJsonLd = {
27+
const studioJsonLd = {
2828
'@context': 'https://schema.org',
2929
'@type': 'Blog',
30-
name: 'Sim Blog',
31-
url: 'https://sim.ai/blog',
30+
name: 'Sim Studio',
31+
url: 'https://sim.ai/studio',
3232
description: 'Announcements, insights, and guides for building AI agent workflows.',
3333
}
3434

@@ -38,25 +38,25 @@ export default async function BlogIndex({
3838
<main className={`${soehne.className} mx-auto max-w-[1200px] px-6 py-12 sm:px-8 md:px-12`}>
3939
<script
4040
type='application/ld+json'
41-
dangerouslySetInnerHTML={{ __html: JSON.stringify(blogJsonLd) }}
41+
dangerouslySetInnerHTML={{ __html: JSON.stringify(studioJsonLd) }}
4242
/>
43-
<h1 className='mb-3 font-medium text-[40px] leading-tight sm:text-[56px]'>The Sim Times</h1>
43+
<h1 className='mb-3 font-medium text-[40px] leading-tight sm:text-[56px]'>Sim Studio</h1>
4444
<p className='mb-10 text-[18px] text-gray-700'>
4545
Announcements, insights, and guides for building AI agent workflows.
4646
</p>
4747

4848
{/* Tag filter chips hidden until we have more posts */}
4949
{/* <div className='mb-10 flex flex-wrap gap-3'>
50-
<Link href='/blog' className={`rounded-full border px-3 py-1 text-sm ${!tag ? 'border-black bg-black text-white' : 'border-gray-300'}`}>All</Link>
50+
<Link href='/studio' className={`rounded-full border px-3 py-1 text-sm ${!tag ? 'border-black bg-black text-white' : 'border-gray-300'}`}>All</Link>
5151
{tags.map((t) => (
52-
<Link key={t.tag} href={`/blog?tag=${encodeURIComponent(t.tag)}`} className={`rounded-full border px-3 py-1 text-sm ${tag === t.tag ? 'border-black bg-black text-white' : 'border-gray-300'}`}>
52+
<Link key={t.tag} href={`/studio?tag=${encodeURIComponent(t.tag)}`} className={`rounded-full border px-3 py-1 text-sm ${tag === t.tag ? 'border-black bg-black text-white' : 'border-gray-300'}`}>
5353
{t.tag} ({t.count})
5454
</Link>
5555
))}
5656
</div> */}
5757

5858
{featured && (
59-
<Link href={`/blog/${featured.slug}`} className='group mb-10 block'>
59+
<Link href={`/studio/${featured.slug}`} className='group mb-10 block'>
6060
<div className='overflow-hidden rounded-2xl border border-gray-200'>
6161
<Image
6262
src={featured.ogImage}
@@ -137,7 +137,7 @@ export default async function BlogIndex({
137137
return (
138138
<Link
139139
key={p.slug}
140-
href={`/blog/${p.slug}`}
140+
href={`/studio/${p.slug}`}
141141
className='group mb-6 inline-block w-full break-inside-avoid'
142142
>
143143
<div className='overflow-hidden rounded-xl border border-gray-200 transition-colors duration-300 hover:border-gray-300'>
@@ -201,7 +201,7 @@ export default async function BlogIndex({
201201
<div className='mt-10 flex items-center justify-center gap-3'>
202202
{pageNum > 1 && (
203203
<Link
204-
href={`/blog?page=${pageNum - 1}${tag ? `&tag=${encodeURIComponent(tag)}` : ''}`}
204+
href={`/studio?page=${pageNum - 1}${tag ? `&tag=${encodeURIComponent(tag)}` : ''}`}
205205
className='rounded border px-3 py-1 text-sm'
206206
>
207207
Previous
@@ -212,7 +212,7 @@ export default async function BlogIndex({
212212
</span>
213213
{pageNum < totalPages && (
214214
<Link
215-
href={`/blog?page=${pageNum + 1}${tag ? `&tag=${encodeURIComponent(tag)}` : ''}`}
215+
href={`/studio?page=${pageNum + 1}${tag ? `&tag=${encodeURIComponent(tag)}` : ''}`}
216216
className='rounded border px-3 py-1 text-sm'
217217
>
218218
Next

apps/sim/app/(landing)/blog/rss.xml/route.ts renamed to apps/sim/app/(landing)/studio/rss.xml/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function GET() {
1111
const xml = `<?xml version="1.0" encoding="UTF-8" ?>
1212
<rss version="2.0">
1313
<channel>
14-
<title>Sim Blog</title>
14+
<title>Sim Studio</title>
1515
<link>${site}</link>
1616
<description>Announcements, insights, and guides for AI agent workflows.</description>
1717
${items

apps/sim/app/(landing)/blog/sitemap-images.xml/route.ts renamed to apps/sim/app/(landing)/studio/sitemap-images.xml/route.ts

File renamed without changes.

apps/sim/app/(landing)/blog/tags/page.tsx renamed to apps/sim/app/(landing)/studio/tags/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export default async function TagsIndex() {
77
<main className='mx-auto max-w-[900px] px-6 py-10 sm:px-8 md:px-12'>
88
<h1 className='mb-6 font-medium text-[32px] leading-tight'>Browse by tag</h1>
99
<div className='flex flex-wrap gap-3'>
10-
<Link href='/blog' className='rounded-full border border-gray-300 px-3 py-1 text-sm'>
10+
<Link href='/studio' className='rounded-full border border-gray-300 px-3 py-1 text-sm'>
1111
All
1212
</Link>
1313
{tags.map((t) => (
1414
<Link
1515
key={t.tag}
16-
href={`/blog?tag=${encodeURIComponent(t.tag)}`}
16+
href={`/studio?tag=${encodeURIComponent(t.tag)}`}
1717
className='rounded-full border border-gray-300 px-3 py-1 text-sm'
1818
>
1919
{t.tag} ({t.count})

apps/sim/app/theme-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
2020
pathname.startsWith('/careers') ||
2121
pathname.startsWith('/changelog') ||
2222
pathname.startsWith('/chat') ||
23-
pathname.startsWith('/blog')
23+
pathname.startsWith('/studio')
2424
? 'light'
2525
: undefined
2626

0 commit comments

Comments
 (0)