Skip to content

Commit

Permalink
Merge pull request #12 from theam/add_fathom
Browse files Browse the repository at this point in the history
add fathom analytics
  • Loading branch information
juanjoman authored Jul 31, 2023
2 parents 48b2ca9 + 1bb6bf8 commit 50b1158
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,16 @@ const config = {
}),
],
],

plugins: [require.resolve('docusaurus-plugin-fathom')],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'img/logoellmental.png',
stylesheets: ['https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap'],
fathomAnalytics: {
siteId: 'BQAENCTO',
},
navbar: {
logo: {
alt: 'eLLMental Logo',
Expand Down
15 changes: 15 additions & 0 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@docusaurus/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"docusaurus-plugin-fathom": "^1.1.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
Expand Down

0 comments on commit 50b1158

Please sign in to comment.