nl.ts 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'
  2. export const nlConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  3. themeConfig: {
  4. editLink: {
  5. pattern: 'https://github.com/tresjs/tres/edit/main/packages/docs/:path',
  6. text: 'Stel wijzigingen op deze pagina voor',
  7. },
  8. sidebar: [
  9. {
  10. text: 'Gids',
  11. items: [
  12. // This shows `/guide/index.md` page.
  13. { text: 'Introductie', link: '/nl/guide/' },
  14. { text: 'Aan de slag', link: '/nl/guide/getting-started' },
  15. { text: 'Je eerste scene', link: '/nl/guide/your-first-scene' },
  16. { text: 'Nuxt', link: '/nl/guide/nuxt' },
  17. { text: 'Problemen oplossen', link: '/nl/guide/troubleshooting' },
  18. { text: 'Migreren vanaf v1', link: '/nl/guide/migration-guide' },
  19. ],
  20. },
  21. {
  22. text: 'API',
  23. items: [
  24. { text: 'TresCanvas', link: '/nl/api/tres-canvas' },
  25. {
  26. text: 'Instanties, argumenten en props',
  27. link: '/nl/api/instances-arguments-and-props',
  28. },
  29. {
  30. text: 'Composables',
  31. link: '/nl/api/composables',
  32. },
  33. {
  34. text: 'Events',
  35. link: '/nl/api/events',
  36. },
  37. ],
  38. },
  39. {
  40. text: 'Geavanceerd',
  41. items: [
  42. { text: 'Uitbreiden', link: '/nl/advanced/extending' },
  43. { text: 'Primitive', link: '/nl/advanced/primitive' },
  44. {
  45. text: 'Waarschuwingen',
  46. link: '/nl/advanced/caveats',
  47. },
  48. ],
  49. },
  50. {
  51. text: 'Foutopsporing',
  52. items: [
  53. { text: 'Ontwikkelingstools', link: '/nl/debug/devtools' },
  54. ],
  55. },
  56. {
  57. text: 'Kookboek 🍳🧑‍🍳',
  58. link: '/nl/cookbook/',
  59. items: [
  60. { text: 'Orbit Controls', link: '/nl/cookbook/orbit-controls' },
  61. { text: 'Basis Animaties', link: '/nl/cookbook/basic-animations' },
  62. { text: 'Groepen', link: '/nl/cookbook/groups' },
  63. { text: 'Textures laden', link: '/nl/cookbook/load-textures' },
  64. { text: 'Modellen laden', link: '/nl/cookbook/load-models' },
  65. { text: 'Text laden', link: '/nl/cookbook/text-3d' },
  66. { text: 'Lichten en Schaduwen', link: '/nl/cookbook/lights-shadows' },
  67. { text: 'Shaders', link: '/nl/cookbook/shaders' },
  68. ],
  69. },
  70. {
  71. text: 'Richtlijnen',
  72. collapsed: true,
  73. items: [
  74. { text: 'v-log', link: '/nl/directives/v-log' },
  75. { text: 'v-light-helper', link: '/nl/directives/v-light-helper' },
  76. { text: 'v-always-look-at', link: '/nl/directives/v-always-look-at' },
  77. { text: 'v-distance-to', link: '/nl/directives/v-distance-to' },
  78. ],
  79. },
  80. {
  81. text: 'Ecosysteem',
  82. items: [
  83. {
  84. text: 'Cientos 💛',
  85. link: 'https://cientos.tresjs.org/',
  86. },
  87. {
  88. text: 'Nuxt module',
  89. link: 'https://github.com/Tresjs/nuxt',
  90. },
  91. {
  92. text: 'TresLeches 🍰',
  93. link: 'https://tresleches.tresjs.org/',
  94. },
  95. {
  96. text: 'Nabewerking (binnenkort)',
  97. },
  98. ],
  99. },
  100. ],
  101. nav: [
  102. { text: 'Guide', link: '/nl/guide/' },
  103. { text: 'API', link: '/nl/api/tres-canvas' },
  104. /* { text: 'API', link: '/nl/api/' },
  105. { text: 'Config', link: '/nl/config/' }, */
  106. { text: 'Resources', items: [
  107. { text: 'Team', link: '/nl/team' },
  108. { text: 'Releases', link: 'https://github.com/Tresjs/tres/releases' },
  109. {
  110. text: 'Speelplaats',
  111. link: 'https://play.tresjs.org/',
  112. },
  113. {
  114. text: 'Github',
  115. link: 'https://github.com/Tresjs/tres/',
  116. },
  117. {
  118. text: 'Problemen',
  119. link: 'https://github.com/Tresjs/tres/issues',
  120. },
  121. {
  122. text: 'Ecosysteem',
  123. items: [
  124. {
  125. text: 'Cientos 💛',
  126. link: 'https://cientos.tresjs.org/',
  127. },
  128. {
  129. text: 'Nuxt module',
  130. link: 'https://github.com/Tresjs/nuxt',
  131. },
  132. {
  133. text: 'TresLeches 🍰',
  134. link: 'https://tresleches.tresjs.org/',
  135. },
  136. ],
  137. },
  138. ] },
  139. ],
  140. search: {
  141. provider: 'local',
  142. options: {
  143. locales: {
  144. nl: {
  145. translations: {
  146. button: {
  147. buttonText: 'Zoeken',
  148. buttonAriaLabel: 'Zoeken',
  149. },
  150. modal: {
  151. displayDetails: 'Gedetailleerde lijst bekijken',
  152. resetButtonTitle: 'Zoeken resetten',
  153. backButtonTitle: 'Zoeken sluiten',
  154. noResultsText: 'Geen resultaten voor',
  155. footer: {
  156. selectText: 'Selecteren',
  157. selectKeyAriaLabel: 'enter',
  158. navigateText: 'Navigeren naar',
  159. navigateUpKeyAriaLabel: 'Pijl omhoog',
  160. navigateDownKeyAriaLabel: 'Pijl omlaag',
  161. closeText: 'Sluiten',
  162. closeKeyAriaLabel: 'escape',
  163. },
  164. },
  165. },
  166. },
  167. },
  168. },
  169. },
  170. },
  171. }