Skip to content

Commit db8bd8d

Browse files
committed
docs: enhance figdeck configuration with metadata and favicon for improved SEO and branding
1 parent b703d64 commit db8bd8d

3 files changed

Lines changed: 43 additions & 0 deletions

File tree

packages/docs/astro.config.mjs

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,46 @@ export default defineConfig({
88
integrations: [
99
starlight({
1010
title: 'figdeck',
11+
description: 'Convert Markdown files into Figma Slides with a CLI + Figma Plugin',
12+
favicon: '/favicon.svg',
1113
customCss: ['./src/styles/custom.css'],
14+
head: [
15+
{
16+
tag: 'meta',
17+
attrs: {
18+
property: 'og:image',
19+
content: 'https://figdeck.vercel.app/og-image.png',
20+
},
21+
},
22+
{
23+
tag: 'meta',
24+
attrs: {
25+
property: 'og:image:width',
26+
content: '1200',
27+
},
28+
},
29+
{
30+
tag: 'meta',
31+
attrs: {
32+
property: 'og:image:height',
33+
content: '630',
34+
},
35+
},
36+
{
37+
tag: 'meta',
38+
attrs: {
39+
name: 'twitter:card',
40+
content: 'summary_large_image',
41+
},
42+
},
43+
{
44+
tag: 'meta',
45+
attrs: {
46+
name: 'twitter:image',
47+
content: 'https://figdeck.vercel.app/og-image.png',
48+
},
49+
},
50+
],
1251
defaultLocale: 'en',
1352
locales: {
1453
en: {

packages/docs/public/favicon.svg

Lines changed: 4 additions & 0 deletions
Loading

packages/docs/public/og-image.png

17.3 KB
Loading

0 commit comments

Comments
 (0)