Make documentation embeds less ugly (#1670)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1670

Embeds to Yoga's documentation reuse a tiny rasterized favicon, blown up, and full of jpeg artifacts.

{F1714492025}

This bothered me enough to make the previews look better.

This change adds a quickly whipped up opengraph sized image, replaces the favicon with one derived from logo SVG, and fixes a missing description on the homepage.

 {F1714566402}

Reviewed By: yungsters

Differential Revision: D58923501

fbshipit-source-id: 249a23034f50667e32970121a90eccc380e566a3
This commit is contained in:
Nick Gerleman
2024-06-24 07:38:05 -07:00
committed by Facebook GitHub Bot
parent baf670e261
commit 1f7faf4c61
5 changed files with 33 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ function PlaygroundSection() {
export default function Home(): JSX.Element {
return (
<Layout>
<Layout description="Documentation for the Yoga layout engine">
<HeroSection />
<PlaygroundSection />
</Layout>