|
| 1 | +import {themes as prismThemes} from 'prism-react-renderer'; |
| 2 | + |
| 3 | +const config = { |
| 4 | + title: 'LINC Gallery', |
| 5 | + staticDirectories: ['static'], |
| 6 | + tagline: 'Showcase of the science from a NIH BRAIN CONNECTS center', |
| 7 | + favicon: 'img/linc.logo.color+white.notext+square.png', |
| 8 | + |
| 9 | + url: 'https://gallery.lincbrain.org', |
| 10 | + baseUrl: '/', |
| 11 | + organizationName: 'lincbrain', |
| 12 | + projectName: 'linc-gallery', |
| 13 | + deploymentBranch: 'gh-pages', |
| 14 | + trailingSlash: false, |
| 15 | + |
| 16 | + onBrokenLinks: 'throw', |
| 17 | + onBrokenMarkdownLinks: 'warn', |
| 18 | + |
| 19 | + i18n: { |
| 20 | + defaultLocale: 'en', |
| 21 | + locales: ['en'], |
| 22 | + }, |
| 23 | + |
| 24 | + presets: [ |
| 25 | + [ |
| 26 | + 'classic', |
| 27 | + { |
| 28 | + theme: { |
| 29 | + customCss: './src/css/custom.css', |
| 30 | + }, |
| 31 | + docs: false, |
| 32 | + }, |
| 33 | + ], |
| 34 | + ], |
| 35 | + |
| 36 | + themeConfig: |
| 37 | + ({ |
| 38 | + navbar: { |
| 39 | + logo: { |
| 40 | + alt: 'Logo', |
| 41 | + src: 'img/linc.logo.color+white.notext.png', |
| 42 | + }, |
| 43 | + items: [ |
| 44 | + {to: '/pathways', label: 'Pathway Atlas', position: 'right'}, |
| 45 | + {to: '/dmri', label: 'High-resolution dMRI', position: 'right'}, |
| 46 | + {to: 'https://connects.mgh.harvard.edu/', label: 'Project Homepage', position: 'right'}, |
| 47 | + ], |
| 48 | + }, |
| 49 | + footer: { |
| 50 | + style: 'light', |
| 51 | + links: [ |
| 52 | + { |
| 53 | + items: [ |
| 54 | + { |
| 55 | + label: 'GitHub', |
| 56 | + href: 'https://github.com/lincbrain/linc-gallery', |
| 57 | + }, |
| 58 | + ], |
| 59 | + }, |
| 60 | + { |
| 61 | + items: [ |
| 62 | + { |
| 63 | + html: `<div style="text-align: right;">© ${new Date().getFullYear()} LINC</div>`, |
| 64 | + }, |
| 65 | + ], |
| 66 | + }, |
| 67 | + ], |
| 68 | + }, |
| 69 | + colorMode: { |
| 70 | + defaultMode: 'light', |
| 71 | + disableSwitch: true, |
| 72 | + }, |
| 73 | + prism: { |
| 74 | + theme: prismThemes.github, |
| 75 | + }, |
| 76 | + }), |
| 77 | +}; |
| 78 | + |
| 79 | +export default config; |
0 commit comments