import React from 'react' import { DocsThemeConfig } from 'nextra-theme-docs' import { useConfig } from 'nextra-theme-docs' const config: DocsThemeConfig = { logo: ( <> Prompt Engineering Guide ), i18n: [ { locale: 'en', text: 'English' }, { locale: 'zh', text: '中文' }, { locale: 'jp', text: '日本語'}, { locale: 'pt', text: 'Português' }, { locale: 'it', text: 'Italian' }, { locale: 'tr', text: 'Türkçe' }, { locale: 'es', text: 'Español' }, { locale: 'fr', text: 'Français' }, { locale: 'kr', text: '한국어' }, ], head: function UseHead() { const { title } = useConfig() return ( <> {title ? title + ' | Prompt Engineering Guide': 'Prompt Engineering Guide'} )}, project: { link: 'https://github.com/dair-ai/Prompt-Engineering-Guide', }, chat: { link: 'https://discord.gg/FUyz9vPAwf', }, docsRepositoryBase: 'https://github.com/dair-ai/Prompt-Engineering-Guide/tree/main/', footer: { text: 'Copyright © 2023 DAIR.AI', }, } export default config