Make documentation embeds less ugly
Summary: Embedding a link to the Yoga documentation looks pretty terrible right now. | {F1714492025} | {F1714502391} | This adds a nice opengraph-sized image, replaces the favicon with one derived from logo SVG, and fixes a missing description on the homepage. {F1714503194} Differential Revision: D58923501
This commit is contained in:
committed by
Facebook GitHub Bot
parent
baf670e261
commit
d90a6e18e9
@@ -14,7 +14,7 @@ export default {
|
||||
title: 'Yoga',
|
||||
tagline:
|
||||
'Build flexible layouts on any platform with a highly optimized open source layout engine designed with speed, size, and ease of use in mind.',
|
||||
favicon: 'img/favicon.png',
|
||||
favicon: 'img/favicon.svg',
|
||||
|
||||
url: 'https:/yogalayout.dev',
|
||||
baseUrl: '/',
|
||||
@@ -95,5 +95,19 @@ export default {
|
||||
defaultMode: 'dark',
|
||||
respectPrefersColorScheme: true,
|
||||
},
|
||||
metadata: [
|
||||
{
|
||||
property: 'og:image',
|
||||
content: 'https://yogalayout.dev/img/opengraph.jpg',
|
||||
},
|
||||
{
|
||||
property: 'og:image:width',
|
||||
content: '1200',
|
||||
},
|
||||
{
|
||||
property: 'og:image:height',
|
||||
content: '630',
|
||||
},
|
||||
],
|
||||
}),
|
||||
};
|
||||
|
Reference in New Issue
Block a user