diff --git a/README.md b/README.md index 21b0df6..aaba2fa 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ # Website -[![Deploy to GitHub Pages](https://github.com/Azure/ai-apps/actions/workflows/deploy-docusaurus.yml/badge.svg)](https://github.com/Azure/ai-apps/actions/workflows/deploy-docusaurus.yml) - -[![pages-build-deployment](https://github.com/Azure/ai-apps/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/Azure/ai-apps/actions/workflows/pages/pages-build-deployment) - This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. ### Installation diff --git a/docusaurus.config.js b/docusaurus.config.js index c80accc..69d4ede 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -146,7 +146,7 @@ const config = { [ '@docusaurus/preset-classic', { - googleAnalytics: { + gtag: { trackingID: 'UA-141789564-1', anonymizeIP: true, }, diff --git a/package.json b/package.json index 9d76949..747663f 100644 --- a/package.json +++ b/package.json @@ -46,8 +46,7 @@ "node": ">=18.0" }, "dependencies": { - "@docusaurus/plugin-google-analytics": "^3.5.2", - "@docusaurus/plugin-google-gtag": "^2.4.3", + "@docusaurus/plugin-google-analytics": "^3.0.1", "@fluentui/react-search": "^9.0.8", "@popperjs/core": "^2.11.8", "react-helmet": "^6.1.0", diff --git a/src/components/gallery/ShowcaseCard/index.tsx b/src/components/gallery/ShowcaseCard/index.tsx index 9078241..1d69d7b 100644 --- a/src/components/gallery/ShowcaseCard/index.tsx +++ b/src/components/gallery/ShowcaseCard/index.tsx @@ -29,7 +29,7 @@ function ShowcaseCard({ user: User; coverPage: Boolean; }): JSX.Element { - console.log("###print user",user) + const tags = user.tags; const title = user.title; const { colorMode } = useColorMode();