diff --git a/docs/guide/theme-home-page.md b/docs/guide/theme-home-page.md index 6f770e18d4df..498af6e18eae 100644 --- a/docs/guide/theme-home-page.md +++ b/docs/guide/theme-home-page.md @@ -48,10 +48,18 @@ interface Hero { // Tagline displayed below `text`. tagline?: string + // The image is displayed next to the text and tagline area. + image?: ThemeableImage + // Action buttons to display in home hero section. actions?: HeroAction[] } +type ThemeableImage = + | string + | { src: string; alt?: string } + | { light: string; dark: string; alt?: string } + interface HeroAction { // Color theme of the button. Defaults to `brand`. theme?: 'brand' | 'alt'