Skip to content

Commit

Permalink
chore(site): configure theme
Browse files Browse the repository at this point in the history
  • Loading branch information
vitonsky committed Jun 25, 2024
1 parent aa310ea commit 005603f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
30 changes: 30 additions & 0 deletions site/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,36 @@ const config: Config = {
},
],
],

themeConfig: {
image: '/screenshots/page-translation.png',
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: true,
},
navbar: {
logo: {
alt: 'Linguist Translate',
src: '/logo.svg',
srcDark: 'img/logo_dark.svg',
href: '/',
target: '_self',
width: 100,
},
items: [
{
href: 'https://github.com/translate-tools/linguist',
label: 'GitHub',
position: 'right',
target: '_blank',
},
],
},
footer: {
copyright: `Copyright © ${new Date().getFullYear()} FluidMinds team. Built with Docusaurus.`,
},
},
} satisfies Config;

export default config;
19 changes: 19 additions & 0 deletions site/static/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 005603f

Please sign in to comment.