docusaurus.config.ts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. import {themes as prismThemes} from 'prism-react-renderer';
  2. import type {Config} from '@docusaurus/types';
  3. import type * as Preset from '@docusaurus/preset-classic';
  4. const config: Config = {
  5. title: 'Gazperi',
  6. tagline: 'Educação e consultoria em IA',
  7. favicon: 'img/favicon.svg',
  8. future: {
  9. v4: true,
  10. },
  11. url: 'https://gazperi.com',
  12. baseUrl: '/',
  13. onBrokenLinks: 'throw',
  14. markdown: {
  15. hooks: {
  16. onBrokenMarkdownLinks: 'warn',
  17. },
  18. },
  19. i18n: {
  20. defaultLocale: 'pt-BR',
  21. locales: ['pt-BR'],
  22. },
  23. headTags: [
  24. {
  25. tagName: 'link',
  26. attributes: {
  27. rel: 'manifest',
  28. href: '/img/icons/site.webmanifest',
  29. },
  30. },
  31. {
  32. tagName: 'link',
  33. attributes: {
  34. rel: 'apple-touch-icon',
  35. sizes: '180x180',
  36. href: '/img/icons/apple-touch-icon.png',
  37. },
  38. },
  39. {
  40. tagName: 'meta',
  41. attributes: {
  42. name: 'theme-color',
  43. content: '#b85c38',
  44. },
  45. },
  46. {
  47. tagName: 'script',
  48. attributes: {
  49. type: 'application/ld+json',
  50. },
  51. innerHTML: JSON.stringify({
  52. '@context': 'https://schema.org',
  53. '@type': 'Organization',
  54. name: 'Gazperi',
  55. alternateName: 'Alfredo Gazperi',
  56. url: 'https://gazperi.com',
  57. logo: 'https://gazperi.com/img/logo-light.svg',
  58. sameAs: [
  59. 'https://linkedin.com/in/gazperi',
  60. ],
  61. founder: {
  62. '@type': 'Person',
  63. name: 'Alfredo Gazperi',
  64. email: 'alfredo@gazperi.com',
  65. jobTitle: 'Educador e consultor em IA',
  66. },
  67. }),
  68. },
  69. ],
  70. clientModules: ['./src/posthog/init.ts'],
  71. plugins: [
  72. [
  73. './plugins/copy-md/index.ts',
  74. {
  75. sourceDir: 'docs',
  76. routeBasePath: 'educacao',
  77. },
  78. ],
  79. ],
  80. presets: [
  81. [
  82. 'classic',
  83. {
  84. docs: {
  85. sidebarPath: './sidebars.ts',
  86. routeBasePath: '/educacao',
  87. },
  88. blog: false,
  89. theme: {
  90. customCss: './src/css/custom.css',
  91. },
  92. } satisfies Preset.Options,
  93. ],
  94. ],
  95. themeConfig: {
  96. image: 'img/og-default.png',
  97. metadata: [
  98. {name: 'description', content: 'Alfredo Gazperi — consultoria e educação no novo mundo de trabalho com IA. Foco em Claude e Claude Code para empresas e colaboradores.'},
  99. {name: 'keywords', content: 'IA, Claude, Claude Code, Anthropic, consultoria, educação, Alfredo Gazperi'},
  100. {property: 'og:type', content: 'website'},
  101. {property: 'og:locale', content: 'pt_BR'},
  102. {property: 'og:site_name', content: 'Gazperi'},
  103. {name: 'twitter:card', content: 'summary_large_image'},
  104. ],
  105. colorMode: {
  106. respectPrefersColorScheme: true,
  107. },
  108. navbar: {
  109. title: 'GAZPERI',
  110. logo: {
  111. alt: 'Gazperi',
  112. src: 'img/logo-light.svg',
  113. srcDark: 'img/logo-dark.svg',
  114. },
  115. items: [],
  116. },
  117. footer: {
  118. style: 'light',
  119. links: [],
  120. copyright: `© ${new Date().getFullYear()} Gazperi · Vila Velha, ES`,
  121. },
  122. prism: {
  123. theme: prismThemes.github,
  124. darkTheme: prismThemes.dracula,
  125. },
  126. } satisfies Preset.ThemeConfig,
  127. };
  128. export default config;