Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fix SEO site name description #1520

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
48 changes: 32 additions & 16 deletions docs/src/app/(public)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,39 @@ import './page.css';

export default function Homepage() {
return (
<div className="HomepageRoot">
<div className="HomepageContent">
<Logo className="mb-8 ml-px" aria-label="Base UI" />
<h1 className="HomepageHeading">
Unstyled UI components for building accessible web apps and design systems.
</h1>
<p className="HomepageCaption">
From the creators of Radix, Floating&nbsp;UI, and Material&nbsp;UI.
</p>
<Link
className="-m-1 inline-flex items-center gap-1 p-1"
href="/react/overview/quick-start"
>
Documentation <ArrowRightIcon />
</Link>
<React.Fragment>
{/* Set the Site name for Google results. https://developers.google.com/search/docs/appearance/site-names */}
<script
type="application/ld+json"
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: JSON.stringify({
'@context': 'https://schema.org',
'@type': 'WebSite',
name: 'Base UI',
url: 'https://base-ui.com',
}),
}}
/>
<div className="HomepageRoot">
<div className="HomepageContent">
<Logo className="mb-8 ml-px" aria-label="Base UI" />
<h1 className="HomepageHeading">
Unstyled UI components for building accessible web apps and design
systems.
</h1>
<p className="HomepageCaption">
From the creators of Radix, Floating&nbsp;UI, and Material&nbsp;UI.
</p>
<Link
className="-m-1 inline-flex items-center gap-1 p-1"
href="/react/overview/quick-start"
>
Documentation <ArrowRightIcon />
</Link>
</div>
</div>
</div>
</React.Fragment>
);
}

Expand Down
Loading