diff --git a/docs/theme.config.tsx b/docs/theme.config.tsx index 146c2954..c380e1bf 100644 --- a/docs/theme.config.tsx +++ b/docs/theme.config.tsx @@ -66,42 +66,80 @@ const config: DocsThemeConfig = { , useNextSeoProps() { return { - titleTemplate: '%s – Laravel-CycleORM-Adapter', + titleTemplate: '%s | Laravel-CycleORM-Adapter', + themeColor: '#fff', + description: 'Laravel package that provides Cycle ORM integration.', + openGraph: { + type: 'website', + locale: 'en_US', + url: 'https://laravel-cycle-orm-adapter.wayof.dev', + site_name: 'Laravel-CycleORM-Adapter', + images: [ + { + url: 'https://laravel-cycle-orm-adapter.wayof.dev/og.png', + width: 1200, + height: 630, + alt: 'Laravel-CycleORM-Adapter', + }, + ], + }, + additionalLinkTags: [ + { + rel: 'icon', + href: '/favicon.ico', + }, + { + rel: 'icon', + href: '/favicon-32x32.png', + sizes: '32x32', + type: 'image/png', + }, + { + rel: 'icon', + href: '/favicon-16x16.png', + sizes: '16x16', + type: 'image/png', + }, + { + rel: 'apple-touch-icon', + href: '/apple-touch-icon.png', + sizes: '180x180', + }, + { + rel: 'manifest', + href: '/site.webmanifest', + }, + ], } }, - sidebar: { - toggleButton: true, - defaultMenuCollapseLevel: 3, - }, head: function useHead() { const { title } = useConfig() + const socialCard = 'https://laravel-cycle-orm-adapter.wayof.dev/og.png' + const currentTitle = title ? title + ' | Laravel-CycleORM-Adapter' : 'Laravel-CycleORM-Adapter' + const description = 'Laravel package that provides Cycle ORM integration.' return ( <> - - - - - - - - - - - - - - - - - + + + + + + + + + + + + ) }, + sidebar: { + toggleButton: true, + defaultMenuCollapseLevel: 3, + }, } export default config