Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ import { Logos } from '@/app/(landing)/components/logos'
*
* Wrapped as a labelled `<section>` so it is a discrete, crawlable landmark; the
* heading is sr-only because the logos are a proof band rather than a content
* section, but the H2 keeps the page's heading hierarchy intact.
* section, but the H2 keeps the page's heading hierarchy intact. The section is
* `relative` so the `sr-only` (`position: absolute`) heading is contained by it
* rather than falling back to the document root - matching {@link Features}'s
* `relative` wrapper for its own `sr-only` heading, and avoiding a phantom root
* scrollbar (the heading's un-offset static position would otherwise inflate
* `document.documentElement`'s scroll height by its own position in the page).
*/
export function PlatformLogosRow() {
return (
<section id='platform-logos' aria-labelledby='platform-logos-heading'>
<section id='platform-logos' aria-labelledby='platform-logos-heading' className='relative'>
<h2 id='platform-logos-heading' className='sr-only'>
Companies building AI agents with Sim
</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ import { Logos } from '@/app/(landing)/components/logos'
*
* Wrapped as a labelled `<section>` so it is a discrete, crawlable landmark; the
* heading is sr-only because the logos are a proof band rather than a content
* section, but the H2 keeps the page's heading hierarchy intact.
* section, but the H2 keeps the page's heading hierarchy intact. The section is
* `relative` so the `sr-only` (`position: absolute`) heading is contained by it
* rather than falling back to the document root - matching {@link Features}'s
* `relative` wrapper for its own `sr-only` heading, and avoiding a phantom root
* scrollbar (the heading's un-offset static position would otherwise inflate
* `document.documentElement`'s scroll height by its own position in the page).
*/
export function SolutionsLogosRow() {
return (
<section id='solutions-logos' aria-labelledby='solutions-logos-heading'>
<section id='solutions-logos' aria-labelledby='solutions-logos-heading' className='relative'>
<h2 id='solutions-logos-heading' className='sr-only'>
Companies building AI agents with Sim
</h2>
Expand Down
Loading