@@ -49,11 +49,11 @@ export async function generateStaticParams() {
4949 return MODEL_COMPARISONS . map ( ( comparison ) => ( { pair : comparison . slug } ) )
5050}
5151
52- export async function generateMetadata ( {
53- params,
54- } : {
52+ interface ModelComparisonPageProps {
5553 params : Promise < { pair : string } >
56- } ) : Promise < Metadata > {
54+ }
55+
56+ export async function generateMetadata ( { params } : ModelComparisonPageProps ) : Promise < Metadata > {
5757 const { pair } = await params
5858 const comparison = getModelComparisonBySlug ( pair )
5959
@@ -95,11 +95,7 @@ export async function generateMetadata({
9595 }
9696}
9797
98- export default async function ModelComparisonPage ( {
99- params,
100- } : {
101- params : Promise < { pair : string } >
102- } ) {
98+ export default async function ModelComparisonPage ( { params } : ModelComparisonPageProps ) {
10399 const { pair } = await params
104100 const comparison = getModelComparisonBySlug ( pair )
105101
@@ -181,8 +177,18 @@ export default async function ModelComparisonPage({
181177 < JsonLd data = { itemListJsonLd } />
182178 < JsonLd data = { faqJsonLd } />
183179
184- < section className = 'bg-[var(--bg)]' >
180+ < section
181+ id = 'model-comparison'
182+ aria-labelledby = 'comparison-heading'
183+ className = 'bg-[var(--bg)]'
184+ >
185185 < div className = { cn ( LANDING_CONTENT_WIDTH , LANDING_GUTTER , 'pt-[112px] max-sm:pt-20' ) } >
186+ < p className = 'sr-only' >
187+ Sim is the open-source AI workspace where teams build, deploy, and manage AI agents.
188+ This page compares { a . model . displayName } and { b . model . displayName } on API pricing per 1M
189+ tokens, context window, max output, and capabilities. Both models are available in the
190+ Sim Agent block, and each Agent block in a Sim agent can use a different model.
191+ </ p >
186192 < div className = 'mb-6' >
187193 < BackLink href = '/models' label = 'Back to Models' />
188194 </ div >
@@ -206,7 +212,7 @@ export default async function ModelComparisonPage({
206212 </ p >
207213 < h1
208214 id = 'comparison-heading'
209- className = 'text-[28px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] sm:text-[36px] lg:text-[44px ]'
215+ className = 'text-[44px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] max- sm:text-[28px] max- lg:text-[36px ]'
210216 >
211217 { comparison . title }
212218 </ h1 >
@@ -236,11 +242,11 @@ export default async function ModelComparisonPage({
236242
237243 < div className = { cn ( LANDING_CONTENT_WIDTH , LANDING_GUTTER ) } >
238244 < div className = 'border-[var(--border)] border-x' >
239- < section aria-labelledby = 'comparison-specs-heading' >
245+ < section id = 'comparison-specs' aria-labelledby = 'comparison-specs-heading' >
240246 < div className = 'px-6 pt-10 pb-4' >
241247 < h2
242248 id = 'comparison-specs-heading'
243- className = 'mb-2 text-[20px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] lg:text-[24px ]'
249+ className = 'mb-2 text-[24px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] max- lg:text-[20px ]'
244250 >
245251 Pricing, context window, and capabilities
246252 </ h2 >
@@ -257,10 +263,14 @@ export default async function ModelComparisonPage({
257263
258264 < div className = 'h-px w-full bg-[var(--border)]' />
259265
260- < section aria-labelledby = 'comparison-build-heading' className = 'px-6 py-10' >
266+ < section
267+ id = 'comparison-build'
268+ aria-labelledby = 'comparison-build-heading'
269+ className = 'px-6 py-10'
270+ >
261271 < h2
262272 id = 'comparison-build-heading'
263- className = 'mb-2 text-[20px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] lg:text-[24px ]'
273+ className = 'mb-2 text-[24px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] max- lg:text-[20px ]'
264274 >
265275 Use { a . model . displayName } or { b . model . displayName } in a Sim agent
266276 </ h2 >
@@ -297,7 +307,7 @@ export default async function ModelComparisonPage({
297307 < nav aria-labelledby = 'related-comparisons-heading' className = 'px-6 py-10' >
298308 < h2
299309 id = 'related-comparisons-heading'
300- className = 'mb-6 text-[20px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] lg:text-[24px ]'
310+ className = 'mb-6 text-[24px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] max- lg:text-[20px ]'
301311 >
302312 Related comparisons
303313 </ h2 >
@@ -308,10 +318,14 @@ export default async function ModelComparisonPage({
308318
309319 < div className = 'h-px w-full bg-[var(--border)]' />
310320
311- < section aria-labelledby = 'comparison-faq-heading' className = 'px-6 py-10' >
321+ < section
322+ id = 'comparison-faq'
323+ aria-labelledby = 'comparison-faq-heading'
324+ className = 'px-6 py-10'
325+ >
312326 < h2
313327 id = 'comparison-faq-heading'
314- className = 'mb-8 text-[20px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] lg:text-[24px ]'
328+ className = 'mb-8 text-[24px ] text-[var(--text-primary)] leading-[100%] tracking-[-0.02em] max- lg:text-[20px ]'
315329 >
316330 Frequently asked questions
317331 </ h2 >
0 commit comments