docusaurus.config.ts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. defer: 'true',
  50. src: 'https://analytics.gazperi.com/script.js',
  51. 'data-website-id': '79dede7f-ca8d-43db-bda0-8e8ccfceaad2',
  52. },
  53. },
  54. {
  55. tagName: 'script',
  56. attributes: {
  57. type: 'application/ld+json',
  58. },
  59. innerHTML: JSON.stringify({
  60. '@context': 'https://schema.org',
  61. '@type': 'Organization',
  62. name: 'Gazperi',
  63. alternateName: 'Alfredo Gazperi',
  64. url: 'https://gazperi.com',
  65. logo: 'https://gazperi.com/img/logo-light.svg',
  66. sameAs: [
  67. 'https://linkedin.com/in/gazperi',
  68. ],
  69. founder: {
  70. '@type': 'Person',
  71. name: 'Alfredo Gazperi',
  72. email: 'alfredo@gazperi.com',
  73. jobTitle: 'Educador e consultor em IA',
  74. },
  75. }),
  76. },
  77. ],
  78. plugins: [
  79. [
  80. './plugins/copy-md/index.ts',
  81. {
  82. sourceDir: 'docs',
  83. routeBasePath: 'educacao',
  84. },
  85. ],
  86. ],
  87. presets: [
  88. [
  89. 'classic',
  90. {
  91. docs: {
  92. sidebarPath: './sidebars.ts',
  93. routeBasePath: '/educacao',
  94. },
  95. blog: false,
  96. theme: {
  97. customCss: './src/css/custom.css',
  98. },
  99. } satisfies Preset.Options,
  100. ],
  101. ],
  102. themeConfig: {
  103. image: 'img/og-default.png',
  104. metadata: [
  105. {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.'},
  106. {name: 'keywords', content: 'IA, Claude, Claude Code, Anthropic, consultoria, educação, Alfredo Gazperi'},
  107. {property: 'og:type', content: 'website'},
  108. {property: 'og:locale', content: 'pt_BR'},
  109. {property: 'og:site_name', content: 'Gazperi'},
  110. {name: 'twitter:card', content: 'summary_large_image'},
  111. ],
  112. colorMode: {
  113. respectPrefersColorScheme: true,
  114. },
  115. navbar: {
  116. title: 'GAZPERI',
  117. logo: {
  118. alt: 'Gazperi',
  119. src: 'img/logo-light.svg',
  120. srcDark: 'img/logo-dark.svg',
  121. },
  122. items: [],
  123. },
  124. footer: {
  125. style: 'light',
  126. links: [],
  127. copyright: `© ${new Date().getFullYear()} Gazperi · Vila Velha, ES`,
  128. },
  129. prism: {
  130. theme: prismThemes.github,
  131. darkTheme: prismThemes.dracula,
  132. },
  133. } satisfies Preset.ThemeConfig,
  134. };
  135. export default config;